vim key mappings

This commit is contained in:
Cyryl Plotnicki-Chudyk 2013-11-27 18:38:14 +01:00
parent c0fc4e6edd
commit 81d317635a

8
.vimrc Normal file → Executable file
View 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>