Recent commits to dotfiles.git (da8c9c5cc77fda70c22ae53713411bb170f78b75) https://git.dlma.com/dotfiles.git/tree/da8c9c5cc77fda70c22ae53713411bb170f78b75 Recent commits feed provided by GitList. vim: Don't move cursor when activating window https://vim.fandom.com/wiki/How_to_not_move_cursor_when_selecting_window_with_mouse https://git.dlma.com/dotfiles.git/commit/da8c9c5cc77fda70c22ae53713411bb170f78b75 david.blume@gmail.com (dblume) Mon, 27 Jan 2025 13:45:34 -0800 da8c9c5cc77fda70c22ae53713411bb170f78b75 vim mouse events in insert mode improvement Turns out I don't like the mouse moving the cursor while in insert mode. Probably because I lost mental context of what I was doing if I was in a different window and I'm clicking back to vim. So now switch to normal mode and set a jump point. That way I can just either: * Switch back to insert mode where I am. * <C-o> to return to where the insert point previously was. https://git.dlma.com/dotfiles.git/commit/ae27116847af359fb2a4bf8ec7709b9a1713a66e david.blume@gmail.com (dblume) Fri, 24 Jan 2025 15:11:12 -0800 ae27116847af359fb2a4bf8ec7709b9a1713a66e Display macOS tips.txt in any terminal. I use both iTerm2 and Ghostty, but the same tips.txt file applies to both. (Which keys make splits, navigate them, and expand them.) +-------------------------------+ | opt-cmd-← | | | cmd-d | | | | +----------cmd-shift-d----------+ | cmd-shift-enter = full screen | +-------------------------------+ https://git.dlma.com/dotfiles.git/commit/8d863d41d7565e5cfaf14d71c3ff2e0588fce734 david.blume@gmail.com (dblume) Tue, 14 Jan 2025 15:47:55 -0800 8d863d41d7565e5cfaf14d71c3ff2e0588fce734 ghostty title bar fix for i3 Linux-only config change: Instead of the huge titlebar with menu, have to expected small titlebar in i3 https://git.dlma.com/dotfiles.git/commit/d8117746b6e508f3fa06ffa7e9772dae72520427 david.blume@gmail.com (dblume) Fri, 10 Jan 2025 22:43:04 -0800 d8117746b6e508f3fa06ffa7e9772dae72520427 Set prev jump point on mouse click Now that I've enabled mouse in vim, I sometimes want to just return the cursor to where it was when I've clicked the terminal window to foreground it. This lets a jump point so I can <c-i/o> back where I want. https://git.dlma.com/dotfiles.git/commit/cd130c482ce4f34ec5f1a7cf8da97271fc8f25de david.blume@gmail.com (dblume) Fri, 10 Jan 2025 13:02:28 -0800 cd130c482ce4f34ec5f1a7cf8da97271fc8f25de Fix catppuccin-mocha's foreground, C-i -> <leader>i catppuccin-mocha's foreground was too blue. Make it more white. Have ghostty do the same thing as alacritty. In order for both these features to work: * Tab/Shift-Tab: Navigate buffers * C-i/o: Jump Since C-i is Tab, map C-i to vim's <leader>i. (My <leader> is '\') https://git.dlma.com/dotfiles.git/commit/58ccad07862efc0d1b2648dbf45d6adbe97dde53 david.blume@gmail.com (dblume) Thu, 09 Jan 2025 09:16:07 -0800 58ccad07862efc0d1b2648dbf45d6adbe97dde53 ghostty: try catppuccin-mocha with darker background Also change a color used by nvim for filetype syntax color https://git.dlma.com/dotfiles.git/commit/0de9db9b1fed0f3fff6b2c9fb7842bf9db168e37 david.blume@gmail.com (dblume) Wed, 08 Jan 2025 13:01:52 -0800 0de9db9b1fed0f3fff6b2c9fb7842bf9db168e37 ghostty theme Monokai Pro Spectrum Also turn on mouse for vim, keep it similar to nvim. https://git.dlma.com/dotfiles.git/commit/9529d95379ac0de3a79d73355e0387f75aaab007 david.blume@gmail.com (dblume) Tue, 07 Jan 2025 20:10:33 -0800 9529d95379ac0de3a79d73355e0387f75aaab007 Restore nvim mouse mode to nvi "nvi" was the default mode anyway. See if I can live with it. Benefit is mouse wheel scrolling. Downside is the cursor always jumping around when you click/drag on the window. https://git.dlma.com/dotfiles.git/commit/df281db0e53b3ffc6c1409498434503806fb05db dblume@roku.com (dblume) Tue, 07 Jan 2025 15:28:19 -0800 df281db0e53b3ffc6c1409498434503806fb05db Try mousewheel scrolling in tmux Set "mouse on" so that the mouse wheel scrolls through back buffer. Without "mouse on" in tmux, then selecting text works as expected. With "mouse on" in tmux, I'll have to hold the shift key to select text. https://git.dlma.com/dotfiles.git/commit/721e1efef2965001c215ee9ca9c8469a8352af98 david.blume@gmail.com (dblume) Tue, 07 Jan 2025 14:56:21 -0800 721e1efef2965001c215ee9ca9c8469a8352af98