From f5fa08b54096d25c1008af4f8477335861ccedd5 Mon Sep 17 00:00:00 2001 From: "Marcel Kapfer (mmk2410)" Date: Sat, 4 Jun 2016 07:58:29 +0200 Subject: [PATCH] extended init.vim --- init.vim | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/init.vim b/init.vim index 1388493..f9ab07c 100644 --- a/init.vim +++ b/init.vim @@ -22,6 +22,8 @@ Plug 'morhetz/gruvbox' Plug 'dag/vim-fish' Plug 'dart-lang/dart-vim-plugin' Plug 'KabbAmine/gulp-vim' +Plug 'derekwyatt/vim-scala' +Plug 'kovisoft/slimv' call plug#end() @@ -76,7 +78,7 @@ set tm=500 syntax on colorscheme gruvbox -set background=dark +set background=light set cursorline if has("gui_running") set guioptions-=T @@ -124,6 +126,8 @@ map te :tabedit =expand("%:p:h")/ " " Switch CWD to the directory of the open buffer map cd :cd %:p:h:pwd " +map W :w +" " " Specify the behavior when switching between buffers try set switchbuf=useopen,usetab,newtab @@ -177,6 +181,8 @@ map q :e ~/buffer " Toggle paste mode on and off map pp :setlocal paste! +map :NERDTreeToggle + " My Changes inoremap jk @@ -196,10 +202,14 @@ let g:tex_flavor='latex' let g:tex_fold_enabled=1 let g:Tex_CompileRule_pdf = 'pdflatex --interaction=nonstopmode $*' +" slimv swank server +let g:slimv_swank_cmd = '! xterm -e sbcl --load /usr/share/common-lisp/source/slime/start-swank.lisp &' + " Filetype specific settings autocmd Filetype html setlocal ts=2 sts=2 sw=2 autocmd Filetype javascript setlocal ts=2 sts=2 sw=2 autocmd Filetype coffee setlocal ts=2 sts=2 sw=2 +autocmd filetype dart setlocal ts=2 sts=2 sw=2 " Syntax highlighting for HtMd (Hypertext Markdown) au BufRead,BufNewFile *.htmd set filetype=html