open command, vim toggle paste and numbers, etc..

This commit is contained in:
2020-08-21 10:59:00 +02:00
parent a9f4901e25
commit 79cae3e93b
3 changed files with 10 additions and 1 deletions

6
.vimrc
View File

@@ -289,6 +289,12 @@ nmap <S-k> <c-y>
vmap <S-j> <c-e>
vmap <S-k> <c-y>
" Toggle line numbers
nmap <Leader>1 :set number!<CR>:set relativenumber!<CR>
" Toggle paste mode
nmap <Leader>p :set paste! <CR>
" Misc.
map <Leader>n :noh<CR>
vmap <Leader>T :'<,'> Tabularize /