Skip to content

Commit

Permalink
vimrc: set backspace, neocomplcache_enable_auto_select and Airline
Browse files Browse the repository at this point in the history
  set backspace=indent,eol,start
  let g:neocomplcache_enable_auto_select = 0
  nmap <leader>= <Plug>AirlineSelectNextTab
  nmap <Leader>+ :bd<cr>

Signed-off-by: lilei <[email protected]>
  • Loading branch information
lilei committed Dec 1, 2019
1 parent aa72f27 commit 450d398
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ set softtabstop=4 " backspace
set shiftwidth=4 " indent width
set expandtab " use space when <Tab>
set colorcolumn=80
set backspace=indent,eol,start


" encoding dectection
Expand All @@ -43,7 +44,7 @@ set laststatus=2

" neocomplcache
let g:neocomplcache_enable_at_startup = 1
let g:neocomplcache_enable_auto_select = 1
let g:neocomplcache_enable_auto_select = 0

" tagbar
let g:tagbar_left=1
Expand All @@ -66,7 +67,8 @@ nmap <F6> :NERDTreeToggle<cr>
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#buffer_nr_show = 1
nmap <leader>- <Plug>AirlineSelectPrevTab
nmap <leader>+ <Plug>AirlineSelectNextTab
nmap <leader>= <Plug>AirlineSelectNextTab
nmap <Leader>+ :bd<cr>
" ctrlp
let g:ctrlp_working_path_mode = 'wa'
Expand Down

0 comments on commit 450d398

Please sign in to comment.