diff options
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> |