aboutsummaryrefslogtreecommitdiff
path: root/vim/config/substitution.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/config/substitution.vim')
-rw-r--r--vim/config/substitution.vim11
1 files changed, 0 insertions, 11 deletions
diff --git a/vim/config/substitution.vim b/vim/config/substitution.vim
deleted file mode 100644
index 982d25f3..00000000
--- a/vim/config/substitution.vim
+++ /dev/null
@@ -1,11 +0,0 @@
-" 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 <silent>
- \ &
- \ :<C-U>&&<CR>
-
-" Same again for visual mode; we use vnoremap rather than xnoremap to stay
-" compatible with old Vims without doing :execute dances
-vnoremap <silent>
- \ &
- \ :<C-U>&&<CR>