Skip to content

Commit

Permalink
Disabled arrows, using only h, j, k and l for moving'
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Jul 20, 2011
1 parent 1d37b2e commit 0bdd979
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/mapping.vim
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
"NERDTree
nmap <silent> <c-p> :NERDTreeToggle<CR>
"Move only with h j k l
map <up> <nop>
map <down> <nop>
map <left> <nop>
map <right> <nop>
"Tabs navigation
nmap <C-Tab> gt
nmap <C-S-Tab> gT
Expand All @@ -21,7 +27,7 @@ noremap <C-j> :m'>+<CR>gv=gv
noremap <C-k> :m-2<CR>gv=gv
vnoremap <C-l> xp
vnoremap <C-h> x<left>P
vnoremap <C-h> xhP
"Rope stuffs
autocmd FileType python map <C-g> :RopeGotoDefinition<CR>
Expand Down

0 comments on commit 0bdd979

Please sign in to comment.