mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 21:45:30 +00:00
use vimplug
This commit is contained in:
@@ -27,9 +27,10 @@ fi
|
||||
|
||||
|
||||
# vundle
|
||||
if [ ! -d "$HOME/.vim/bundle" ]; then
|
||||
echo "setup vundle"
|
||||
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
|
||||
if [ ! -d "$HOME/.vim/autoload" ]; then
|
||||
echo "setup vim plug"
|
||||
curl -fLo /.vim/autoload/plug.vim --create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
fi
|
||||
|
||||
# linking dotfiles
|
||||
|
||||
3
profiles/base/.config/nvim/init.vim
Normal file
3
profiles/base/.config/nvim/init.vim
Normal file
@@ -0,0 +1,3 @@
|
||||
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||
let &packpath=&runtimepath
|
||||
source ~/.vimrc
|
||||
@@ -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
|
||||
set laststatus=2
|
||||
" Use 256 colours (Use this setting only if your terminal supports 256 colours)
|
||||
|
||||
" Use 256 colours
|
||||
set t_Co=256
|
||||
set nocompatible " be iMproved, required
|
||||
|
||||
" show linenumber
|
||||
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: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
|
||||
set softtabstop=4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user