vim: Shortcuts Suchen/Ersetzen

This commit is contained in:
Michael Grote 2022-01-12 08:26:38 +01:00
parent 683480e343
commit da398b8b06

4
.vimrc
View file

@ -186,7 +186,9 @@ nnoremap <Leader>m :MarkdownPreviewToggle<CR>
xmap ga <Plug>(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 <Leader>sr :%s/<C-r><C-w>//gc<Left><Left><Left>
vnoremap <Leader>sr y:%s/<C-R>"//gc<Left><Left><Left>
" ### Abbreviations
iabbrev ncicht nicht