Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

For window switching maps, use noremap

  • Loading branch information...
commit 29341dd847b0a3e0ce7c366b0c996fd786fef26e 1 parent 69ff798
@nelstrom authored
Showing with 16 additions and 16 deletions.
  1. +16 −16 vim/plugin/window-management.vim
View
32 vim/plugin/window-management.vim
@@ -1,19 +1,19 @@
" Speed up buffer switching
-map <C-k> <C-W>k
-map <C-j> <C-W>j
-map <C-h> <C-W>h
-map <C-l> <C-W>l
+nnoremap <C-k> <C-W>k
+nnoremap <C-j> <C-W>j
+nnoremap <C-h> <C-W>h
+nnoremap <C-l> <C-W>l
" Speed up tab switching
-map <D-S-]> gt
-map <D-S-[> gT
-map <D-1> 1gt
-map <D-2> 2gt
-map <D-3> 3gt
-map <D-4> 4gt
-map <D-5> 5gt
-map <D-6> 6gt
-map <D-7> 7gt
-map <D-8> 8gt
-map <D-9> 9gt
-map <D-0> :tablast<CR>
+nnoremap <D-S-]> gt
+nnoremap <D-S-[> gT
+nnoremap <D-1> 1gt
+nnoremap <D-2> 2gt
+nnoremap <D-3> 3gt
+nnoremap <D-4> 4gt
+nnoremap <D-5> 5gt
+nnoremap <D-6> 6gt
+nnoremap <D-7> 7gt
+nnoremap <D-8> 8gt
+nnoremap <D-9> 9gt
+nnoremap <D-0> :tablast<CR>
Please sign in to comment.
Something went wrong with that request. Please try again.