vim: suche

This commit is contained in:
Michael Grote 2021-09-14 09:57:16 +02:00
parent 59a58e30b9
commit f1b39e6ad1

3
.vimrc
View file

@ -114,3 +114,6 @@ nmap <C-t> :tabnew<CR>
:let mapleader = "," :let mapleader = ","
" vim.fugitiv in neuem tab " vim.fugitiv in neuem tab
nmap <C-g> :tab G nmap <C-g> :tab G
" markiere text im visual mode; suche dann danach mit // im visual-mode
" https://vim.fandom.com/wiki/Search_for_visually_selected_text
vnoremap // y/\V<C-R>=escape(@",'/\')<CR><CR>