]> gitweb.fluxo.info Git - rhatto/dotfiles/vim.git/commitdiff
Tab navigation
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 23 Jul 2015 14:48:51 +0000 (11:48 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 23 Jul 2015 14:48:51 +0000 (11:48 -0300)
vimrc.dot.link

index c86211648165899526df8c7472f1e9e1ad9cfd16..49ab638762022e9c42704ba263f401c2d3669818 100644 (file)
@@ -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>