Skip to content

Commit

Permalink
buff navigation mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-au committed Aug 11, 2015
1 parent 3156c81 commit eb26c9a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ let g:airline_symbols.space = "\ua0"
set hidden
"nnoremap <C-tab> :bnext<CR>
"nnoremap <C-S-tab> :bprevious<CR>
nnoremap <leader>m :bnext<CR>
nnoremap <leader>n :bprevious<CR>
nnoremap <leader>s :bnext<CR>
nnoremap <leader>a :bprevious<CR>
nnoremap <leader>b :enew<cr>
nnoremap <leader>q :bp<cr>
nnoremap <leader>q :bd<cr>
"firefox-like tab navigation
nnoremap <C-tab> :tabnext<CR>
Expand Down Expand Up @@ -182,5 +182,9 @@ let g:pymode_rope_complete_on_dot = 0
"Python_editing.vim - folding setup
set nofoldenable


" CtrlP Setup
map <Leader>w :CtrlPBuffer<cr>
"Python execute code
autocmd FileType python nnoremap <buffer> <F9> :exec '!clear;python' shellescape(@%, 1)<CR>

0 comments on commit eb26c9a

Please sign in to comment.