From 005dc12aad91ae7396db27e78de2f249bb345f48 Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 1 Oct 2018 10:49:55 +0200 Subject: vimrc: added keymap to put visual highlight as search --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index 7e21426..2240936 100644 --- a/vimrc +++ b/vimrc @@ -295,6 +295,7 @@ set matchtime=5 " how many tenths of a second to blink when matchi set matchpairs+=<:> " show matching <> as well nnoremap n :noh +execute "vnoremap / \"ry/r" execute "vnoremap r \"ry:%s/r/r/gc"repeat('', 4) execute "vnoremap br \"ry:bufdo%s/r/r/gc"repeat('', 4) -- cgit v1.2.3