69 lines
4.5 KiB
VimL
69 lines
4.5 KiB
VimL
" install plugin manager if needed
|
|
augroup PluginManagerInstaller
|
|
if empty(glob("$vimdir/autoload/plug.vim"))
|
|
silent !curl -fLo "$vimdir/autoload/plug.vim" --create-dirs 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
|
autocmd VimEnter * PlugInstall
|
|
endif
|
|
augroup End
|
|
|
|
let g:indent_guide_auto_colors = 1
|
|
let g:indent_guides_enable_on_vim_startup = 1
|
|
let g:prosession_dir = $vimdir."/session/"
|
|
let g:polyglot_disabled = ['cue', 'cuesheet']
|
|
let g:jsonnet_fmt_on_save = 0
|
|
|
|
" let g:fzf_layout = { 'window': 'enew' }
|
|
|
|
" check if we're using vim as the manpage viewer before loading session plugins
|
|
if exists('asmanviewer') || exists('nosession')
|
|
let g:prosession_dir = '/dev/null'
|
|
else
|
|
Plug 'tpope/vim-obsession' " session ease-of-use
|
|
Plug 'dhruvasagar/vim-prosession' " more session ease-of-use
|
|
endif
|
|
|
|
Plug 'junegunn/vim-plug' " plugin manager should manage itself
|
|
Plug 'junegunn/fzf', {'dir': '~/.fzf', 'do': './install --all'} " fuzzy file finding
|
|
Plug 'junegunn/fzf.vim' " helpers for using fzf in vim
|
|
Plug 'vim-airline/vim-airline' " status line
|
|
Plug 'vim-airline/vim-airline-themes' " more minimal status line
|
|
Plug 'nathanaelkane/vim-indent-guides' " indentation guides
|
|
" Plug 'SirVer/ultisnips' " snippet manager
|
|
Plug 'bkad/CamelCaseMotion' " camel case and underscore word movements
|
|
Plug 'vim-scripts/LargeFile' " gracefully handle very large files
|
|
Plug 'tpope/vim-commentary' " toggle comments in code easily
|
|
Plug 'tpope/vim-repeat' " better vim repeating for plugin-provided actions
|
|
Plug 'vim-scripts/SyntaxRange' " define syntax ranges
|
|
Plug 'tmux-plugins/vim-tmux-focus-events' " allow transitions from tmux
|
|
Plug 'christoomey/vim-tmux-navigator' " allow transitions to tmux
|
|
Plug 'godlygeek/tabular' " commands for aligning text
|
|
Plug 'lytedev/vim-superman' " view man pages with vim
|
|
Plug 'machakann/vim-sandwich' " quickly modify text surrounding objects
|
|
Plug 'tpope/vim-speeddating' " date-like text objects
|
|
Plug 'tpope/vim-fugitive' " git commands
|
|
Plug 'michaeljsmith/vim-indent-object' " adds an indentation level text object
|
|
Plug 'wellle/targets.vim' " adds some more handy text objects
|
|
Plug 'dbakker/vim-projectroot' " adds helper functions for getting to a project's root directory
|
|
Plug 'junegunn/goyo.vim' " better distraction-free editing
|
|
Plug 'junegunn/limelight.vim' " dim inactive blocks of code
|
|
Plug 'tpope/vim-sleuth' " try and detect indent method
|
|
Plug 'editorconfig/editorconfig-vim' " loads project-specific editor settings
|
|
Plug 'tpope/vim-eunuch' " unix helper commands
|
|
Plug 'mbbill/undotree' " undo tree visualizer
|
|
" Plug 'junegunn/vim-peekaboo' " preview registers
|
|
|
|
" language support
|
|
Plug 'sheerun/vim-polyglot' " vim plugin loader for many languages
|
|
Plug 'OmniSharp/omnisharp-vim', {'for': ['cs']} " C# language
|
|
Plug 'leafo/moonscript-vim', {'for': ['moon', 'moonscript']} " moonscript language
|
|
Plug 'OmniSharp/omnisharp-vim', {'for': ['cs']} " C# language
|
|
" Plug 'neoclide/coc.nvim', {'branch': 'release'} " language server interface
|
|
Plug 'tpope/vim-dadbod' " vim database functions
|
|
Plug 'lytedev/elm-vim', {'for': ['elm']} " elm lang
|
|
Plug 'google/vim-jsonnet', {'for': ['jsonnet', 'libsonnet']} " jsonnet
|
|
Plug 'sirtaj/vim-openscad', {'for': ['scad']} " openscad
|
|
Plug 'jjo/vim-cue' " cuelang
|
|
Plug 'calviken/vim-gdscript3', {'for': ['gdscript']} " godot scripts
|
|
" Plug 'chrisbra/csv.vim'
|
|
" Plug 'ssh://git@git.lyte.dev:2222/lytedev/vim-lytlang.git'
|