"misc set mouse= set encoding=utf-8 set number relativenumber set list set nowrap set scrolloff=9 "configure plugins let g:gitgutter_sign_removed = "\uE0B8" let g:gitgutter_sign_removed_first_line = "\uE0BC" let g:gitgutter_sign_modified_removed = '~~' set updatetime=500 highlight GitGutterAdd ctermfg=10 highlight GitGutterChange ctermfg=11 highlight GitGutterDelete ctermfg=9 let g:startify_custom_header = "''" let g:startify_custom_indices = map(range(1,100), 'string(v:val)') "auto formatting let g:formatters_python = ['black'] let g:formatdef_nixpkgsfmt="'nixpkgs-fmt'" let g:formatters_nix = ['nixpkgsfmt'] let g:formatdef_prettier="'prettier --stdin-filepath ' . expand('%:p')" let g:formatters_js = ['prettier'] let g:formatters_json = ['prettier'] let g:formatters_ts = ['prettier'] let g:formatters_yaml = ['prettier'] autocmd BufWritePre * :Autoformat "menus nnoremap e :NERDTreeFocus:vertical resize 30 nnoremap o :Startify "buffers nnoremap w :q nnoremap q :bd nnoremap d :bnext nnoremap a :bprevious "window shortcuts nnoremap h h nnoremap j j nnoremap k k nnoremap l l nnoremap v v nnoremap s s lua << EOF require("bufferline").setup{} EOF