summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2017-05-21 16:25:01 +0200
committerPatrick Simianer <p@simianer.de>2017-05-21 16:25:01 +0200
commitc2d8d631320a26ce4ec6f327cdf7a15a262afd0f (patch)
tree4f37a614001be5625ae99d48e96f90f120ba503f /vim
parent66d6590afb713cf4ef0361ee800692289377b404 (diff)
vim
Diffstat (limited to 'vim')
-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'