https://git.dlma.com/dotfiles.git/tree/e8b2a559f37fab3200c82dc91140b88a7d06176c Recent commits to dotfiles.git (e8b2a559f37fab3200c82dc91140b88a7d06176c) 2024-04-30T07:39:20-07:00 tag:gitlist.org,2012:commit/e8b2a559f37fab3200c82dc91140b88a7d06176c Have terminal emulator send Vim's <leader>i for <C-i> 2024-04-30T07:39:20-07:00 dblume david.blume@gmail.com <pre>Getting consistent behavior in and out of tmux has been a challenge. In order to keep C-i/C-o jumps and remap Tab/S-Tab for buffers, I'm having the terminal remap C-i to <leader>i for vim. This'll bite me when I use another CLI that needs C-i. * Use Windows Terminal instead of Windows Console Host * Use Alacritty instead of Gnome-Console. Investigations: * Do C-i remapping in tmux config, but that affects Tab. * No solution for PuTTY yet. &lt;/pre&gt; tag:gitlist.org,2012:commit/dd694b12f2e370c76edca506316fb09c0e9a20cb Add window dynamic-padding for Alacritty 2024-04-29T15:21:07-07:00 dblume david.blume@gmail.com <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/f1f91d6872c09fb398e26ee41bfac3632b4e5d5a When openging files jump to last row *and column*. 2024-04-27T22:56:54-07:00 dblume david.blume@gmail.com <pre>I'd only been jumping to the last row with g'". Use g`" to jump to the last row and column. &lt;/pre&gt; tag:gitlist.org,2012:commit/8acb5ef827bb757d3d3bfe295d6223bfd815e04c Alacritty+tmux: Map <C-i> to <leader>i 2024-04-27T22:19:39-07:00 dblume david.blume@gmail.com <pre>When only in Alacritty, nvim receives <C-i> as a different command than <Tab>. But in tmux, then they're the same. So have Alacritty map <C-i> to <leader>i so that nvim still has a chance to map <C-i> differently then <Tab>. All this so <C-o>/<C-i> are a pair and so are <Tab>/<S-Tab>. &lt;/pre&gt; tag:gitlist.org,2012:commit/666840419ab639ad6a369aee4c5d9a45d36f4728 bash PROMPT_COMMAND to set (restore) terminal title 2024-04-27T13:45:21-07:00 dblume david.blume@gmail.com <pre>If tmux, vim, etc. set the terminal title, then we want the shell to restore the terminal title when they're done. Also leave a note to vim to easily test whether C-i can be mapped independently of Tab. &lt;/pre&gt; tag:gitlist.org,2012:commit/3e90e2af17b488d35d9a6049b95a7f5a31a09d2e tmux and vim to set terminal title 2024-04-27T11:54:08-07:00 dblume david.blume@gmail.com <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/6bd106dde941e1d0ed864a837b3f9b0e45b9ff0f Add alacritty.toml to dotfiles to install 2024-04-27T00:20:10-07:00 dblume david.blume@gmail.com <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/c334f99fc21947f46cabccb31a5ba65db2a6a5b5 Alacritty to use DejaVu Sans Mono for Powerline 2024-04-27T00:13:43-07:00 dblume david.blume@gmail.com <pre>For the git branch character  in the vim status bar. https://wiki.dlma.com/linux#dejavu-sans-for-powerline-font &lt;/pre&gt; tag:gitlist.org,2012:commit/4def2b2f747f81e20cb696c0402d41a80f4d66ec Set $TERMINAL=alacritty for C-i vs Tab 2024-04-26T22:01:24-07:00 dblume david.blume@gmail.com <pre>I want vim to keep C-o/C-i jump pairs and map Tab/Shift-Tab oo :bn/:bp, and gnome-terminal can't distinguish between C-i and Tab. So I need to install Alacritty where gnome-terminal comes default and tell i3-sensible-terminal to use Alacritty. &lt;/pre&gt; tag:gitlist.org,2012:commit/ba9ff4659d96f26f083ad001348431386d37691c Add link to install tmux-256color database in macOS 2024-04-26T20:48:09-07:00 dblume david.blume@gmail.com <pre>&lt;/pre&gt;