diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:23:25 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-28 22:24:26 +1300 |
commit | b4b53a9a9bee55e8bdcbe91201305a87fcafca60 (patch) | |
tree | 88f6d1ff6eff7fd1955b4153bdf5c84ec23cbdcd /vim/config/substitution.vim | |
parent | Move Fedora workaround .vimrc config into subfile (diff) | |
download | dotfiles-b4b53a9a9bee55e8bdcbe91201305a87fcafca60.tar.gz dotfiles-b4b53a9a9bee55e8bdcbe91201305a87fcafca60.zip |
Move substitution .vimrc config into subfile
Diffstat (limited to 'vim/config/substitution.vim')
-rw-r--r-- | vim/config/substitution.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/config/substitution.vim b/vim/config/substitution.vim new file mode 100644 index 00000000..da9eb47e --- /dev/null +++ b/vim/config/substitution.vim @@ -0,0 +1,4 @@ +" Preserve the flags for a pattern when repeating a substitution with &; I +" don't really understand why this isn't a default, but there it is +nnoremap & :&&<CR> +vnoremap & :&&<CR> |