summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/.vimrc13
1 files changed, 10 insertions, 3 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index d2d0406..2d4a22b 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -8,12 +8,16 @@ set noet
set showcmd
set autoindent
set smartindent
-"set cursorline
+set cursorline
set nocp
set showmatch
+set foldenable
set foldmethod=indent
+set foldlevelstart=4
+set foldnestmax=10
set completeopt=longest,menuone
set tabstop=2
+set softtabstop=2
set shiftwidth=2
set expandtab
set ruler
@@ -23,8 +27,11 @@ set bs=2
set ignorecase
set smartcase
set laststatus=2
+set incsearch
+set hlsearch
set ttyfast
set lazyredraw
+set wildmenu
if v:version >= 703
set cc=80
endif
@@ -58,8 +65,8 @@ nnoremap <C-s> :w<cr>
nmap <C-b> :TagbarToggle<cr>
" cursorline
-autocmd InsertEnter * setlocal cursorline
-autocmd InsertLeave * setlocal nocursorline
+" autocmd InsertEnter * setlocal cursorline
+" autocmd InsertLeave * setlocal nocursorline
" airline
let g:airline_theme = 'pks256'