From 609a2c4ed5947074b9bfcaad1075c0975fac1d85 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 26 Aug 2024 23:49:57 +0200 Subject: Simplify vim setup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's been ages since I don't do anything serious with Vim. Hence, the setup for it doesn't have to be as "fancy" as it once was. Removing Vundle and other stuff makes stuff way simpler, while also removing git submodules for good. Signed-off-by: Miquel Sabaté Solà --- .vim/bundles.vim | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 .vim/bundles.vim (limited to '.vim/bundles.vim') diff --git a/.vim/bundles.vim b/.vim/bundles.vim deleted file mode 100644 index 8d012ac..0000000 --- a/.vim/bundles.vim +++ /dev/null @@ -1,38 +0,0 @@ -" Vundle setup -set rtp+=~/.vim/bundle/Vundle.vim.git -call vundle#begin() - -Plugin 'gmarik/Vundle.vim' - -" My list of plugins. -Plugin 'tpope/vim-surround.git' -Plugin 'kien/ctrlp.vim.git' -Plugin 'derekwyatt/vim-scala.git' -Plugin 'fatih/vim-go' -Plugin 'Glench/Vim-Jinja2-Syntax' -Plugin 'saltstack/salt-vim' -Plugin 'b4b4r07/vim-hcl' -Plugin 'fatih/vim-hclfmt' - -call vundle#end() - -"" -" Some small adjustments for the installed plugins. - -" vim-surround.vim: s is used to surround a word. -map s ysiw - -" Let CtrlP's window to be taller than its default configuration. -let g:ctrlp_match_window = 'max:40' - -" Hi-yo Silver! -let g:ctrlp_user_command = 'ag %s -l --nocolor --hidden -g ""' - -" Tell vim-go to use goimports on save. -let g:go_fmt_command = "goimports" - -" Execute go-lint on save. -if isdirectory($GOPATH."/src/github.com/golang/lint/misc/vim") - set rtp+=$GOPATH/src/github.com/golang/lint/misc/vim - autocmd BufWritePost,FileWritePost *.go execute 'Lint' | cwindow -endif -- cgit v1.2.3