Skip to content

Commit

Permalink
update shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
JianlongS committed Nov 3, 2019
1 parent 8252498 commit 77b9ca8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
"pathogen
set nocp
execute pathogen#infect()
syntax on
filetype plugin indent on
set ic
set shortmess+=A
"load keymap
source ~/.vimrc.map
set tabstop=4 shiftwidth=4 expandtab
Expand Down
6 changes: 6 additions & 0 deletions vimrc.map
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,9 @@ endfunction
au BufEnter /* call LoadCscope()

:autocmd FileType qf nmap <buffer> <cr> <cr>:lcl<cr>

nnoremap td :tabclose<CR>
" Alternatively use
nnoremap th :tabnext<CR>
nnoremap tl :tabprev<CR>
nnoremap tn :tabnew<CR>

0 comments on commit 77b9ca8

Please sign in to comment.