mvim tab movement

This commit is contained in:
Loic Nageleisen 2012-04-24 13:11:48 +02:00
parent 85870d17b9
commit 992ccab7a4

12
vimrc
View file

@ -22,6 +22,12 @@ let g:netrw_dirhistmax = 0
set backspace=indent,eol,start set backspace=indent,eol,start
if has('gui_running') "GUI specific settings if has('gui_running') "GUI specific settings
"key bindings
"map <D-S-left> :macaction _cycleWindowsBackwards:<CR>
"map <D-S-right> :macaction _cycleWindows:<CR>
map <D-S-left> :tabprevious<CR>
map <D-S-right> :tabnext<CR>
"better font "better font
"set guifont=Menlo:h12 "set guifont=Menlo:h12
@ -33,7 +39,9 @@ if has('gui_running') "GUI specific settings
set guioptions-=t set guioptions-=t
"no scrollbars "no scrollbars
set guioptions-=Lrb set guioptions-=L
set guioptions-=r
set guioptions-=b
set background=light set background=light
"set transparency=8 "set transparency=8
@ -135,6 +143,8 @@ let mapleader = ','
set hlsearch set hlsearch
map <leader>s :nohlsearch<CR> map <leader>s :nohlsearch<CR>
map <leader>q :cw<CR>
map <leader>R :source ~/.vimrc<CR> map <leader>R :source ~/.vimrc<CR>
map <leader>t :CtrlP<CR> map <leader>t :CtrlP<CR>
map <leader>b :CtrlPBuffer<CR> map <leader>b :CtrlPBuffer<CR>