dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit edd44aa16dff6166919b33c89bcd1771556b02d8
parent 8cf398f1028b2028b94e7cf260ea3b01a1fba669
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sun, 21 Apr 2019 12:36:21 +0200

Remove seldomly used plugins, move ultisnips to lower case dir

Diffstat:
M.vim/plugins.vim | 73+++----------------------------------------------------------------------
R.vim/UltiSnips/html.snippets -> .vim/ultisnips/html.snippets | 0
R.vim/UltiSnips/mail.snippets -> .vim/ultisnips/mail.snippets | 0
R.vim/UltiSnips/markdown.snippets -> .vim/ultisnips/markdown.snippets | 0
R.vim/UltiSnips/tex.snippets -> .vim/ultisnips/tex.snippets | 0
5 files changed, 3 insertions(+), 70 deletions(-)

diff --git a/.vim/plugins.vim b/.vim/plugins.vim @@ -4,20 +4,10 @@ call plug#begin('~/.vim/vim-plugs') " Specify a directory for plugins """"" Misc """""" Plug 'tpope/vim-unimpaired' " nav. errors with ]q, newlines with ]spc -Plug 'junegunn/vim-emoji' " autocomplete :smiley: with C-x C-u -Plug 'chrisbra/unicode.vim' " autocomplete unicode with C-x C-z -Plug 'tpope/vim-characterize' " complete info of char under cursor with ga """"" Appearance """""" Plug 'drzel/vim-line-no-indicator' " show current line with single character -"Plug 'jacoborus/tender' " color scheme -Plug 'junegunn/rainbow_parentheses.vim' " colorcode paranthesis pairs -Plug 'mhinz/vim-startify' " startup screen -Plug 'embear/vim-foldsearch' " hide/show lines matching a pattern -Plug 'junegunn/goyo.vim' " distraction-free editing in prose mode -Plug 'junegunn/limelight.vim' " highlight current paragraph in goyo Plug 'Yggdroot/indentLine' " show indentation level with vertical lines -Plug 'vim-scripts/AnsiEsc.vim' " show ANSI colors with :AnsiEsc """""" File system """"""" Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } @@ -31,7 +21,6 @@ Plug 'lukhio/adVIMsor', { 'on': 'AdVIMsorEnable' } " checks with :AdVIMsor* """""" Buffer motion """""" Plug 'christoomey/vim-tmux-navigator' " seamless tmux pane/vim window navigation -Plug 'junegunn/vim-slash' " clear highlight when moving cursor Plug 'justinmk/vim-sneak' " move cursor s{char}{char}, use cl for sub " """""" Text editing """""" @@ -39,13 +28,11 @@ 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 'junegunn/vim-easy-align' " align in columns (select > return > space) 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 'junegunn/vim-online-thesaurus' " query with :OnlineThesaurusCurrentWord Plug 'reedes/vim-wordy' " better writing with :Wordy Plug 'dbmrq/vim-ditto' " detect duplicates with :Ditto @@ -56,17 +43,14 @@ 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 """""" Plug 'tpope/vim-dispatch' " for asynchronous :Make -Plug 'janko-m/vim-test' " test with t<C-n>, t<C-f>, t<C-s> -"""""" File types """""" -" Go -Plug 'fatih/vim-go' -Plug 'nsf/gocode' +"""""" File types """""" " Julia Plug 'JuliaLang/julia-vim' @@ -75,7 +59,6 @@ Plug 'JuliaLang/julia-vim' Plug 'davidhalter/jedi-vim' Plug 'nvie/vim-flake8' Plug 'vim-scripts/indentpython.vim' -"Plug 'klen/python-mode' " HTML/PHP/JS Plug 'captbaritone/better-indent-support-for-php-with-html' @@ -93,78 +76,28 @@ Plug 'lervag/vimtex' " Vimscript Plug 'junegunn/vader.vim' " testing framework -" SQL -Plug 'lifepillar/pgsql.vim' " PostgreSQL highlighting and syntax -Plug 'ivalkeen/vim-simpledb' " PostgreSQL/MySQL execution from vim buffer - " add following to top of .sql file: - " -- -h localhost -U postgres -d my_database - " <Enter>: execute entire file - " <leader><Enter>: execute current block - " <Enter>: execute current visual selection - call plug#end() " Initialize plugin system """"" PLUGIN SETTINGS """""""""""""""""""""""""""""""""""""""""""""""""""""""""" -let g:foldsearch_disable_mappings = 1 let g:gitgutter_map_keys = 0 -let g:go_version_warning = 0 - let g:sneak#label = 1 " better key bindings for UltiSnipsExpandTrigger let g:UltiSnipsExpandTrigger = "<tab>" let g:UltiSnipsJumpForwardTrigger = "<tab>" let g:UltiSnipsJumpBackwardTrigger = "<s-tab>" -let g:UltiSnipsSnippetsDir = "~/.vim/UltiSnips" " default write path +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 -let g:limelight_conceal_ctermfg = 'gray' -let g:limelight_conceal_ctermfg = 240 -let g:goyo_width = 82 -if !exists('*s:goyo_enter') - function! s:goyo_enter() abort - silent !tmux set status off - silent !tmux list-panes -F '\#F' | grep -q Z || tmux resize-pane -Z - set noshowmode - set noshowcmd - set nolist - set scrolloff=999 - "Limelight - endfunction -end - -if !exists('*s:goyo_leave') - function! s:goyo_leave() abort - silent !tmux set status on - silent !tmux list-panes -F '\#F' | grep -q Z && tmux resize-pane -Z - Limelight! - source $MYVIMRC - endfunction -end - -augroup GoyoEvents - autocmd! User GoyoEnter nested call <SID>goyo_enter() - autocmd! User GoyoLeave nested call <SID>goyo_leave() -augroup END - -" run vim-emoji on entire document -command! -range EmojiReplace <line1>,<line2>s/:\([^:]\+\):/\=emoji#for(submatch(1), submatch(0))/g - -" disable default thesaurus bindings -let g:online_thesaurus_map_keys = 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' - -" set postgresql syntax as default for sql files -let g:sql_type_default = 'pgsql' diff --git a/.vim/UltiSnips/html.snippets b/.vim/ultisnips/html.snippets diff --git a/.vim/UltiSnips/mail.snippets b/.vim/ultisnips/mail.snippets diff --git a/.vim/UltiSnips/markdown.snippets b/.vim/ultisnips/markdown.snippets diff --git a/.vim/UltiSnips/tex.snippets b/.vim/ultisnips/tex.snippets