vim: mapleader

This commit is contained in:
Michael Grote 2021-11-22 07:19:57 +01:00
parent a8d9f009dd
commit 154c70be12

4
.vimrc
View file

@ -156,9 +156,7 @@ nmap <C-s> :w<CR>
" ctrl+P: set paste " ctrl+P: set paste
nmap <leader>p :set paste!<CR> nmap <leader>p :set paste!<CR>
" leader-key " leader-key
:let mapleader = "," :let mapleader = "-"
" vim.fugitiv in neuem tab
nmap <C-g> :tab G
" markiere text im visual mode; suche dann danach mit // im visual-mode " markiere text im visual mode; suche dann danach mit // im visual-mode
" https://vim.fandom.com/wiki/Search_for_visually_selected_text " https://vim.fandom.com/wiki/Search_for_visually_selected_text
vnoremap // y/\V<C-R>=escape(@",'/\')<CR><CR> vnoremap // y/\V<C-R>=escape(@",'/\')<CR><CR>