[submodule ".vim/pack/github/opt/completor.vim"]
path = .vim/pack/github/opt/completor.vim
url = https://github.com/maralla/completor.vim.git
+[submodule ".vim/pack/github/opt/validator.vim"]
+ path = .vim/pack/github/opt/validator.vim
+ url = https://github.com/maralla/validator.vim.git
set showmatch
set complete-=i
set virtualedit=block
+set pastetoggle=<leader>p
if has('unnamedplus')
set clipboard=unnamed,unnamedplus
endif
set lazyredraw
set number
set relativenumber
-
set title
set titlestring=%F
" folding
set foldmethod=syntax
-set foldlevel=3
+set foldlevelstart=10
+set foldnestmax=10
set foldopen+=search
set foldclose=all
-"set foldcolumn=4
" keyboard
-let mapleader = ","
set backspace=indent,eol,start
set ttimeoutlen=10
set winaltkeys=no
set noerrorbells
-set visualbell
-set pastetoggle=<leader>p
+set visualbell t_vb=
+let mapleader = ","
" command/status line
set showmode
" buffers
set hidden
set autoread
-set noautowrite
-set noautowriteall
+set autowrite
+set autowriteall
" temporary files
silent !mkdir -p ~/.vim/undo
let g:airline#extensions#tabline#formatter = 'unique_tail_improved'
" ALE
-packadd! ale
-let g:ale_enabled = 1
-let g:airline#extensions#ale#enabled = 1
+"packadd! ale
+"let g:ale_enabled = 1
+"let g:airline#extensions#ale#enabled = 1
" Tagbar
packadd! tagbar
packadd completor.vim
let g:completor_clang_binary = '/usr/bin/clang'
+" validator
+packadd validator.vim
+let g:completor_clang_tidy_binary = '/usr/bin/run-clang-tidy'
+let g:validator_c_checkers = ['clang-tidy']
+let g:validator_cpp_checkers = ['clang-tidy']
+
+
" General Mappings
noremap <c-h> <c-w><c-h>
noremap <c-j> <c-w><c-j>