https://git.dlma.com/dotfiles.git/tree/24630480f8dd2761ad5c767bf6c9a9c0e4400d04Recent commits to dotfiles.git (24630480f8dd2761ad5c767bf6c9a9c0e4400d04)2024-03-16T01:18:59-07:00tag:gitlist.org,2012:commit/24630480f8dd2761ad5c767bf6c9a9c0e4400d04Sensibly, in neovim <C-Space> is Ctrl+space2024-03-16T01:18:59-07:00dblumedavid.blume@gmail.com
<pre></pre>
tag:gitlist.org,2012:commit/8f484ad54bb2168dc4610db080a30ac59e4e09efAdded an image of a screen capture2024-03-15T20:12:57-07:00dblumedavid.blume@gmail.com
<pre>Because who doesn't need an image of their own workspace in a repo
of their own dotfiles?
</pre>
tag:gitlist.org,2012:commit/224ed0fb7ed9a5bf76d911c609b5c5fe27e1603bAlways start on first line in git commit buffers2024-03-15T10:56:40-07:00dblumedavid.blume@gmail.com
<pre>At one time &filetype was set in BufReadPost, but not now.
Fix is to use a FileType autocmd for gitcommit.
If it were more complicated, could put in [after/]ftplugin/$FILETYPE.vim
per https://www.reddit.com/r/vim/comments/k1c63f/should_the_filetype_option_be_set_by_the_time_the/
</pre>
tag:gitlist.org,2012:commit/88066908d6543770f7ffa1071f9abc12a720552fRetrieve git branch only on new buffers2024-03-15T00:10:25-07:00dblumedavid.blume@gmail.com
<pre>Before this commit, git rev-parse would've been called for every key
press (if the statusline had added the git part).
</pre>
tag:gitlist.org,2012:commit/eb37046eb1d17eade5579fc2fc6125fed7332ad6Make test for nvim compatible with macOS.2024-03-14T11:10:18-07:00dblumedavid.blume@gmail.com
<pre>Could have used
hash <the_command> # For regular commands. Or...
type <the_command> # To check built-ins and keywords
But why not just go with POSIX compatibility?
</pre>
tag:gitlist.org,2012:commit/44d837682919dd2fddfb3378ac7384fc1ad42e32Make git branch fit on status line; Sep │ not |2024-03-14T09:54:22-07:00dblumedavid.blume@gmail.com
<pre>Note I'm still not actually using git branch on the vim status line,
I don't want all those git calls happening. But it's staged there just
in case I change my mind.
</pre>
tag:gitlist.org,2012:commit/64bde0cfb4581dfb63ad91aa985d0ec63f255342Make vim StatuslineGit() return branch for current file2024-03-13T23:55:18-07:00dblumedavid.blume@gmail.com
<pre>Use "git -C <path> ..."
</pre>
tag:gitlist.org,2012:commit/86b6c123e9af8197d541653f09bda393837ade9dHave the command "vim" launch nvim where possible2024-03-12T20:58:54-07:00dblumedavid.blume@gmail.com
<pre>Alias vim, vim-, and vimdiff
</pre>
tag:gitlist.org,2012:commit/1bbe1e3ea9fcab29a9e861a88f323ea828249082Create an update_dir function in setup.sh2024-03-12T17:24:55-07:00dblumedavid.blume@gmail.com
<pre>Now that I want to update three directories, it makes sense to do that
in a function.
1. .vim/
2. .config/nvim/
3. .local/share/nvim/site/plugin/
</pre>
tag:gitlist.org,2012:commit/bbbc9d19f897bf2fc2d9dffcf29915cc25486f41Remap Y to yank to end of line, like neovim2024-03-12T15:24:36-07:00dblumedavid.blume@gmail.com
<pre>Use yy to yank a whole line.
Like C and D work from current position to the end of the line,
use Y to yank to the end of the line too.
</pre>