commit a1458b7e465cc7ff597e4efc841c4e5100cbc750
parent c98d1bddf33e9e0b74689e7697ac8c7968fa5ba6
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 11 May 2019 08:07:02 -0700
Remove unused or bloated vim plugins, add global gnuplot config
Diffstat:
4 files changed, 4 insertions(+), 30 deletions(-)
diff --git a/.gnuplot b/.gnuplot
@@ -0,0 +1,3 @@
+set loadpath '~/code/gnuplot-colorbrewer/diverging' \
+ '~/code/gnuplot-colorbrewer/qualitative' \
+ '~/code/gnuplot-colorbrewer/sequential'
diff --git a/.vim/colors/tender.vim b/.vim/colors/tender.vim
@@ -1 +0,0 @@
-../vim-plugs/tender/colors/tender.vim-
\ No newline at end of file
diff --git a/.vim/plugin/00-general.vim b/.vim/plugin/00-general.vim
@@ -1,5 +1,6 @@
set clipboard=unnamed " use system clipboard
set dictionary+=/usr/share/dict/words " word completion using Ctrl-x Ctrl-k
+set directory=.,~/tmp,/var/tmp,/tmp " location for swap files
set expandtab " use the appropriate number of spaces for <Tab>
set go+=c " do not show popups in gui
set hlsearch " highlight search matches
diff --git a/.vim/plugins.vim b/.vim/plugins.vim
@@ -5,14 +5,10 @@ call plug#begin('~/.vim/vim-plugs') " Specify a directory for plugins
""""" Misc """"""
Plug 'tpope/vim-unimpaired' " nav. errors with ]q, newlines with ]spc
-""""" Appearance """"""
-Plug 'Yggdroot/indentLine' " show indentation level with vertical lines
-
"""""" File system """""""
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim' " fzf commands from within vim
Plug 'ludovicchabant/vim-gutentags' " automatic tag generation
-"Plug 'tomtom/ttags_vim' " tag navigation
Plug 'tpope/vim-eunuch' " :SudoWrite, :Rename, :Move, etc
"""""" Syntax checking """"""
@@ -26,23 +22,15 @@ Plug 'justinmk/vim-sneak' " move cursor s{char}{char}, use cl for sub
Plug 'tpope/vim-surround' " modify surrounding symbols
Plug 'tpope/vim-repeat' " repeat plugin bindings with .
Plug 'tomtom/tcomment_vim' " comment line with gcc, motion with gc
-Plug 'tpope/vim-abolish' " :%Subvert/facilit{y,ies}/building{,s}/g
Plug 'reedes/vim-litecorrect' " autocorrect common typos
Plug 'reedes/vim-pencil' " used for line wrapping in mails
-"""""" Writing """"""
-Plug 'szw/vim-dict' " query dict.org using :Dict
-Plug 'reedes/vim-wordy' " better writing with :Wordy
-Plug 'dbmrq/vim-ditto' " detect duplicates with :Ditto
-
"""""" Autocomplete """"""
Plug 'honza/vim-snippets' " snippets are separate from ultisnips
Plug 'SirVer/ultisnips' " complete boilerplate code
"""""" Version control """"""
Plug 'tpope/vim-fugitive' " :Gread, :Gwrite, etc.
-Plug 'tpope/vim-rhubarb' " enables fugitive's :Gbrowse for Github
-Plug 'shumphrey/fugitive-gitlab.vim' " enables fugitive's :Gbrowse for GitLab
Plug 'airblade/vim-gitgutter' " show line changes since last git commit
"""""" Processes """"""
@@ -55,26 +43,15 @@ Plug 'tpope/vim-dispatch' " for asynchronous :Make
Plug 'JuliaLang/julia-vim'
" Python
-Plug 'davidhalter/jedi-vim'
Plug 'nvie/vim-flake8'
Plug 'vim-scripts/indentpython.vim'
-" HTML/PHP/JS
-Plug 'captbaritone/better-indent-support-for-php-with-html'
-Plug 'pangloss/vim-javascript'
-
" Markdown
Plug 'tpope/vim-markdown'
" Mail
Plug 'vim-scripts/mutt-aliases', { 'for': 'mail' } " complete aliases w C-x C-u
-" LaTeX
-Plug 'lervag/vimtex'
-
-" Vimscript
-Plug 'junegunn/vader.vim' " testing framework
-
call plug#end() " Initialize plugin system
@@ -88,15 +65,10 @@ let g:sneak#label = 1
let g:UltiSnipsExpandTrigger = "<tab>"
let g:UltiSnipsJumpForwardTrigger = "<tab>"
let g:UltiSnipsJumpBackwardTrigger = "<s-tab>"
-let g:UltiSnipsSnippetsDir = "~/.vim/ultisnips" " default write path
" vim-markdown configuration
let g:markdown_fenced_languages = ['html', 'python', 'bash=sh', 'julia', 'c', 'cpp']
let g:markdown_syntax_conceal = 0
-" select indentation character (:IndentLinesToggle) (¦┆│⎸▏)
-"let g:indentLine_char = '┆'
-let g:indentLine_char = '▏'
-
" ignore .gitignore files from ctags
let g:gutentags_file_list_command = 'rg --files'