From da398b8b062e5cb8de687cbe0e51f0250eabd123 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 12 Jan 2022 08:26:38 +0100 Subject: [PATCH] vim: Shortcuts Suchen/Ersetzen --- .vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index d004567..ecf0d43 100644 --- a/.vimrc +++ b/.vimrc @@ -186,7 +186,9 @@ nnoremap m :MarkdownPreviewToggle xmap ga (EasyAlign) " lasse Y wie C oder D funktionieren nmap Y y$ - +" https://www.reddit.com/r/vim/comments/s1he17/is_there_a_plugin_that_makes_searching_and +nnoremap sr :%s///gc +vnoremap sr y:%s/"//gc " ### Abbreviations iabbrev ncicht nicht