aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-07-23 11:48:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-07-23 11:48:51 -0300
commit6f96e8ce26be614fb95a40d8392eb5f71a14f05c (patch)
treee975ea5021a9f06c6e9fece25ffb949efdc2e814
parentc0bd3aca597d890cde8e23465653d9dd82435ae3 (diff)
downloadvim-6f96e8ce26be614fb95a40d8392eb5f71a14f05c.tar.gz
vim-6f96e8ce26be614fb95a40d8392eb5f71a14f05c.tar.bz2
Tab navigation
-rw-r--r--vimrc.dot.link8
1 files changed, 8 insertions, 0 deletions
diff --git a/vimrc.dot.link b/vimrc.dot.link
index c862116..49ab638 100644
--- a/vimrc.dot.link
+++ b/vimrc.dot.link
@@ -171,3 +171,11 @@ python del powerline_setup
set laststatus=2 " Always display the statusline in all windows
set showtabline=2 " Always display the tabline, even if there is only one tab
set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline)
+
+" Tab navigation
+" See http://vim.wikia.com/wiki/Alternative_tab_navigation
+" http://comments.gmane.org/gmane.os.cygwin.xfree/16419
+nmap <ESC>[5^ <C-PageUp>
+nmap <ESC>[6^ <C-PageDown>
+nnoremap <C-PageDown> :tabn<CR>
+nnoremap <C-PageUp> :tabp<CR>