https://git.dlma.com/dotfiles.git/tree/88066908d6543770f7ffa1071f9abc12a720552f Recent commits to dotfiles.git (88066908d6543770f7ffa1071f9abc12a720552f) 2024-03-15T00:10:25-07:00 tag:gitlist.org,2012:commit/88066908d6543770f7ffa1071f9abc12a720552f Retrieve git branch only on new buffers 2024-03-15T00:10:25-07:00 dblume david.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). &lt;/pre&gt; tag:gitlist.org,2012:commit/eb37046eb1d17eade5579fc2fc6125fed7332ad6 Make test for nvim compatible with macOS. 2024-03-14T11:10:18-07:00 dblume david.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? &lt;/pre&gt; tag:gitlist.org,2012:commit/44d837682919dd2fddfb3378ac7384fc1ad42e32 Make git branch fit on status line; Sep │ not | 2024-03-14T09:54:22-07:00 dblume david.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. &lt;/pre&gt; tag:gitlist.org,2012:commit/64bde0cfb4581dfb63ad91aa985d0ec63f255342 Make vim StatuslineGit() return branch for current file 2024-03-13T23:55:18-07:00 dblume david.blume@gmail.com <pre>Use "git -C <path> ..." &lt;/pre&gt; tag:gitlist.org,2012:commit/86b6c123e9af8197d541653f09bda393837ade9d Have the command "vim" launch nvim where possible 2024-03-12T20:58:54-07:00 dblume david.blume@gmail.com <pre>Alias vim, vim-, and vimdiff &lt;/pre&gt; tag:gitlist.org,2012:commit/1bbe1e3ea9fcab29a9e861a88f323ea828249082 Create an update_dir function in setup.sh 2024-03-12T17:24:55-07:00 dblume david.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/ &lt;/pre&gt; tag:gitlist.org,2012:commit/bbbc9d19f897bf2fc2d9dffcf29915cc25486f41 Remap Y to yank to end of line, like neovim 2024-03-12T15:24:36-07:00 dblume david.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. &lt;/pre&gt; tag:gitlist.org,2012:commit/181b4ee2a8724b9ed0532ad9512c6d92ef53db13 nvim set hidden 2024-03-08T19:39:40-08:00 dblume dblume@roku.com <pre>I use scratch buffers often, especially with nv- as: alias nv-='nvim +"setl buftype=nofile" -' Then I execute commands like: rg needle . | nv- Which puts a lot of filenames in a Scratch buffer, and I want to keep that buffer around even when I switch away from it. &lt;/pre&gt; tag:gitlist.org,2012:commit/50949e6c74b15773e975cc9c414ff324429fb7ae nvim is too hard to type. Use nv 2024-03-08T10:05:14-08:00 dblume david.blume@gmail.com <pre>&lt;/pre&gt; tag:gitlist.org,2012:commit/2ce9c862afc3954333fe65b7b5462a46729c1726 Small responsiveness improvement 2024-03-08T01:50:10-08:00 dblume david.blume@gmail.com <pre>For slow connections and terminal multiplexers, turn off some updates at the bottom of the screen for partial commands and selection areas https://www.reddit.com/r/neovim/comments/7epa94/neovim_slowness_compared_to_vim_8/dq6ouqy/ &lt;/pre&gt;