]> git.rmz.io Git - dotfiles.git/commitdiff
vim: let loupe handle maps for very magic search
authorSamir Benmendil <me@rmz.io>
Thu, 4 May 2023 00:06:29 +0000 (01:06 +0100)
committerSamir Benmendil <me@rmz.io>
Sun, 17 Dec 2023 17:36:20 +0000 (17:36 +0000)
I was overriding a much better implementation of always magic from the
loupe plugin with my own crude mappings.

vim/vimrc

index f94553e3b5e94be74a66f8831827c2d486d3495f..6bf709af7278a0f16d3227d39d729742be27821c 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -554,11 +554,6 @@ nnoremap U
 " nnoremap <leader>r :silent !ranger %:h<cr>:redraw!<cr>
 " nnoremap <leader>R :silent !ranger<cr>:redraw!<cr>
 
-" Use sane regexes.
-nnoremap / /\v
-vnoremap / /\v
-cnoremap s/ s/\v
-
 " display the number of matches for the last search
 nmap <Leader># :%s:<C-R>/::gn<CR>