diff options
-rw-r--r-- | nvim/init.vim | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/nvim/init.vim b/nvim/init.vim index 57aeae0..57ce4c4 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -17,9 +17,14 @@ Plug 'kyrias/neomake', { 'branch': 'clang-check' } call plug#end() + +""" +" Set options +" + syntax on filetype plugin indent on -set copyindent +set hidden " Automatically hide buffers instead of requiring bangcommands set number " always show line numbers set ignorecase " Ignore case of normal letters set smartcase " ignore case if search pattern is all lowercase, @@ -52,9 +57,13 @@ set tabstop=4 set shiftwidth=4 set softtabstop=4 set noexpandtab +set copyindent + +" Show tabs and end-of-line whitespace +set listchars=tab:»·,trail:· +set list + -" Automatically hide buffers instead of requiring bangcommands -set hidden " Easier window moving map <C-h> <C-w>h @@ -67,10 +76,6 @@ vmap <C-k> gk nmap <C-j> gj nmap <C-k> gk -" Show tabs and end-of-line whitespace -set listchars=tab:»·,trail:· -set list - " Use clang_check for syntax checking let g:syntastic_c_checkers = ['clang_check'] let g:syntastic_cpp_checkers = ['clang_check'] |