use vimplug

This commit is contained in:
daniel
2023-03-18 13:06:51 +01:00
parent 7cae8ba61e
commit 75de8a583c
3 changed files with 22 additions and 54 deletions

View File

@@ -27,9 +27,10 @@ fi
# vundle # vundle
if [ ! -d "$HOME/.vim/bundle" ]; then if [ ! -d "$HOME/.vim/autoload" ]; then
echo "setup vundle" echo "setup vim plug"
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim curl -fLo /.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
fi fi
# linking dotfiles # linking dotfiles

View File

@@ -0,0 +1,3 @@
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath=&runtimepath
source ~/.vimrc

View File

@@ -1,62 +1,26 @@
set rtp+=/usr/local/lib/python2.7/dist-packages/powerline/bindings/vim/ call plug#begin()
Plug 'vim-airline/vim-airline'
Plug 'lervag/vimtex'
Plug 'ibab/vim-snakemake'
Plug 'Yggdroot/indentLine'
Plug 'godlygeek/tabular'
Plug 'plasticboy/vim-markdown'
Plug 'morhetz/gruvbox'
Plug 'preservim/nerdcommenter'
call plug#end()
" Always show statusline " Always show statusline
set laststatus=2 set laststatus=2
" Use 256 colours (Use this setting only if your terminal supports 256 colours)
" Use 256 colours
set t_Co=256 set t_Co=256
set nocompatible " be iMproved, required
" show linenumber
set number set number
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-airline/vim-airline'
Plugin 'kien/ctrlp.vim'
Plugin 'valloric/youcompleteme'
"Plugin 'davidhalter/jedi-vim'
"Plugin 'klen/python-mode'
Plugin 'biosyntax/biosyntax-vim'
Plugin 'hublot/vim-gromacs'
Plugin 'lervag/vimtex'
Plugin 'ibab/vim-snakemake'
Plugin 'Yggdroot/indentLine'
Plugin 'godlygeek/tabular'
Plugin 'plasticboy/vim-markdown'
Plugin 'morhetz/gruvbox'
Plugin 'preservim/nerdcommenter'
Plugin 'jpalardy/vim-slime'
let g:slime_target = "x11"
let g:vim_markdown_folding_disabled = 1 let g:vim_markdown_folding_disabled = 1
let g:pymode_python = "python3"
let g:pymode_virtualenv_path = "/home/bauer/conda"
let g:pymode = 1
let g:pymode_options = 1
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line
"
let g:ycm_autoclose_preview_window_after_completion=1
syntax on syntax on
set softtabstop=4 set softtabstop=4