https://git.dlma.com/dotfiles.git/tree/main Recent commits to dotfiles.git (main) 2024-09-16T16:58:11-07:00 tag:gitlist.org,2012:commit/5d3009bf0a495723a0261c93e1908f0117ddeed6 Disable maps in cscope_maps 2024-09-16T16:58:11-07:00 dblume david.blume@gmail.com <pre>Turns out cscope_maps by default remaps two shortcuts I use: 1. <leader>c , which I use for clipboard yank, is the default <prefix> sequence for cscope_maps. (So you could quickly <leader>c,s to search for the token under the cursor instead of :Cs find s <cword>.) 2. <C-]>, the :tag shortcut gets remapped to :Cstag, which was determined to be worse. Tried with https://git.dlma.com/testcode.git, searching for the following from main.cpp: * test_cpp14: One hit, should just jump to it. * f: Multiple local in main.cpp and then in main_helper.cpp too. &lt;/pre&gt; tag:gitlist.org,2012:commit/d062a96e3df00f668f76a08e41dc003413ed9c6d Improve comment for visual-mode P 2024-09-10T08:38:42-07:00 dblume dblume@roku.com <pre>And add guard to remap only on old Vims &lt;/pre&gt; tag:gitlist.org,2012:commit/fcbf3213740d90e72bca0d30b35e90e795e53aef Vim to match nvim's visual P 2024-09-06T21:43:26-07:00 dblume david.blume@gmail.com <pre>Neovim's visual-mode P (put before cursor) doesn't yank to the unnamed register. This is useful for when you want to put the same yanked text multiple times. &lt;/pre&gt; tag:gitlist.org,2012:commit/7d1c11beae69a3a85e5074380b4b5312482fbc6a Exclude filetype rokulog from Rainbow Parentheses 2024-06-05T22:58:43-07:00 dblume dblume@roku.com <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/4fd67792a428649aa9a120d80906df2edb5d923c I like NavajoWhite for outer paren color 2024-05-29T19:16:45-07:00 dblume dblume@roku.com <pre>It's subtle enough in documents like .txt that don't have much formatting to not be distracting, and just enough to know that rainbow parens are on the watch. Also tweaked some following colors for better contrast with their neighbors. &lt;/pre&gt; tag:gitlist.org,2012:commit/8b171a321fa100abb629e7f5dcc1b89284467619 Make first rainbow paren color be close to gray 2024-05-29T14:24:13-07:00 dblume david.blume@gmail.com <pre>When you're not really expecting rainbow parens, and it's usually only one level deep, make the first color very subtle. &lt;/pre&gt; tag:gitlist.org,2012:commit/1069d30f6e1c3b2d15fe0920d33175942d7af1a4 Improve set of rainbow colors 2024-05-26T21:26:59-07:00 dblume david.blume@gmail.com <pre>cyan was too much like lightmagenta. &lt;/pre&gt; tag:gitlist.org,2012:commit/ab53a8771c70c19a80efcde96c8ecfab2740b428 Move nvim rainbow plugin into .../plugin/ hierarchy 2024-05-26T16:00:37-07:00 dblume david.blume@gmail.com <pre>Fixes a typo, I put it one directory too high. Also use fewer lines in .vimrc for config. &lt;/pre&gt; tag:gitlist.org,2012:commit/9664a25c32a37ae8d7e9bb3ea3b416a08676154e Document new Rainbow Parentheses vim/nvim plugin 2024-05-26T14:51:19-07:00 dblume david.blume@gmail.com <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/2111f8d7fcab66424d1f4614c1f0736dd71cfff3 Add "rainbow" plugin for colored parentheses 2024-05-26T14:29:28-07:00 dblume david.blume@gmail.com <pre>Chose https://github.com/luochen1990/rainbow because it's correct, small, configurable and fast. Rejected the older https://github.com/krischik/vim-rainbow because it "broke" formatting with strings, Ex., something like "set (", val, ")". I'm certain I'll be updating .vimrc and init.vim with better colors soon. &lt;/pre&gt;