Compare commits
3 Commits
a9890cc3fc
...
e0f63d9e61
| Author | SHA1 | Date | |
|---|---|---|---|
| e0f63d9e61 | |||
| 5d1720c6bb | |||
|
|
f2e3aef89a |
@ -7,6 +7,9 @@ call plug#begin('~/.vim/plugged')
|
|||||||
"Plug 'tpope/vim-surround'
|
"Plug 'tpope/vim-surround'
|
||||||
|
|
||||||
|
|
||||||
|
" Line numbers
|
||||||
|
Plug 'myusuf3/numbers.vim'
|
||||||
|
|
||||||
" File explorer window
|
" File explorer window
|
||||||
Plug 'scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree'
|
||||||
|
|
||||||
|
|||||||
12
.vimrc
12
.vimrc
@ -1,6 +1,8 @@
|
|||||||
color desert
|
color desert
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
|
set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
|
||||||
|
|
||||||
so ~/.vim/plugins.vim
|
so ~/.vim/plugins.vim
|
||||||
set splitbelow
|
set splitbelow
|
||||||
|
|
||||||
@ -37,3 +39,13 @@ set hidden
|
|||||||
nnoremap <C-N> :bnext<CR>
|
nnoremap <C-N> :bnext<CR>
|
||||||
nnoremap <C-P> :bprev<CR>
|
nnoremap <C-P> :bprev<CR>
|
||||||
|
|
||||||
|
" leave insert mode quickly
|
||||||
|
if ! has('gui_running')
|
||||||
|
set ttimeoutlen=10
|
||||||
|
augroup FastEscape
|
||||||
|
autocmd!
|
||||||
|
au InsertEnter * set timeoutlen=0
|
||||||
|
au InsertLeave * set timeoutlen=1000
|
||||||
|
augroup END
|
||||||
|
endif
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user