1
0
Fork 0
mirror of synced 2024-11-23 01:05:34 -05:00

Add My Remap

This commit is contained in:
Dihak M N A 2018-07-02 08:03:31 +07:00
parent e25674d6e1
commit 7700d51182

View file

@ -51,6 +51,19 @@ nmap <leader>w :w!<cr>
" (useful for handling the permission-denied error) " (useful for handling the permission-denied error)
command W w !sudo tee % > /dev/null command W w !sudo tee % > /dev/null
" Show number and set to relative number
set number
set relativenumber
" Toggle relative number
nnoremap <silent> <leader>nb :set relativenumber!<CR>
" Make j and k move to the next row, not the file line
nnoremap j gj
nnoremap k gk
" Remap esc key to jk
inoremap jk <esc>
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => VIM user interface " => VIM user interface