first commit
This commit is contained in:
commit
a58c9fae89
2 changed files with 134 additions and 0 deletions
33
keymaps.vim
Normal file
33
keymaps.vim
Normal file
|
@ -0,0 +1,33 @@
|
|||
"leader key
|
||||
let mapleader=" "
|
||||
|
||||
"disable arrows
|
||||
noremap <Up> <NOP>
|
||||
noremap <Down> <NOP>
|
||||
noremap <Left> <NOP>
|
||||
noremap <Right> <NOP>
|
||||
|
||||
"+++++++++++++++ NORMAL MODE ++++++++++++++++++
|
||||
|
||||
"tab switches tabs
|
||||
nnoremap <TAB> gt
|
||||
nnoremap <S-Tab> gT
|
||||
|
||||
"command mode with semi colon
|
||||
nnoremap ; :
|
||||
|
||||
"saves and quits
|
||||
nnoremap <leader>w :w
|
||||
nnoremap <leader>q :wq
|
||||
nnoremap <leader>x :q!
|
||||
|
||||
"+++++++++++++++ INSERT MODE +++++++++++++++++
|
||||
|
||||
"disable arrows
|
||||
inoremap <Up> <NOP>
|
||||
inoremap <Down> <NOP>
|
||||
inoremap <Left> <NOP>
|
||||
inoremap <Right> <NOP>
|
||||
|
||||
"remap escape
|
||||
inoremap jk <Esc>"
|
Loading…
Add table
Add a link
Reference in a new issue