vim key mappings
This commit is contained in:
parent
c0fc4e6edd
commit
81d317635a
1 changed files with 8 additions and 0 deletions
8
.vimrc
Normal file → Executable file
8
.vimrc
Normal file → Executable file
|
@ -2,8 +2,16 @@
|
|||
set noswapfile
|
||||
set encoding=utf-8
|
||||
|
||||
" key mappings
|
||||
let mapleader = ","
|
||||
nmap <leader>p :set paste!<CR>
|
||||
nmap <leader>h :set hlsearch!<CR>
|
||||
nnoremap ; :
|
||||
|
||||
map <up> <nop>
|
||||
map <down> <nop>
|
||||
map <left> <nop>
|
||||
map <right> <nop>
|
||||
|
||||
" special chars
|
||||
nmap <leader>l :set list!<CR>
|
||||
|
|
Loading…
Reference in a new issue