Remove all references of Pack command
The previous commit removed all command related to minpac, including `Pack` which was still being referenced in `vimrc`.
This commit is contained in:
parent
ee5110efd8
commit
2694c76a67
158
vimrc
158
vimrc
@ -15,11 +15,40 @@ endif
|
|||||||
set runtimepath+=~/.config/work
|
set runtimepath+=~/.config/work
|
||||||
set packpath+=~/.config/work
|
set packpath+=~/.config/work
|
||||||
|
|
||||||
" tabline.vim - sanely numbered tabs
|
" Markdown fenced code block languages
|
||||||
Pack 'mkitt/tabline.vim'
|
let g:markdown_fenced_languages =
|
||||||
|
\ ['cpp', 'c', 'cmake', 'console', 'sh', 'vim', 'python', 'yaml']
|
||||||
|
|
||||||
" coc.nvim Conqueror of Completion
|
" reStructedText enable code styles
|
||||||
Pack 'neoclide/coc.nvim', {'branch': 'release'}
|
let g:rst_style = 1
|
||||||
|
" reStructuredText code block languages
|
||||||
|
let g:rst_syntax_code_list = {
|
||||||
|
\ 'vim': ['vim'],
|
||||||
|
\ 'java': ['java'],
|
||||||
|
\ 'c': ['c'],
|
||||||
|
\ 'cpp': ['cpp', 'c++'],
|
||||||
|
\ 'console': ['console'],
|
||||||
|
\ 'python': ['python']
|
||||||
|
\ }
|
||||||
|
|
||||||
|
" Enable builtin syntax folding
|
||||||
|
let g:xml_syntax_folding = 1
|
||||||
|
let g:sh_fold_enabled = 1
|
||||||
|
|
||||||
|
if wsl#isDetected()
|
||||||
|
" Make gx work in WSL
|
||||||
|
let g:netrw_browsex_viewer='cmd.exe /C start'
|
||||||
|
endif
|
||||||
|
|
||||||
|
if tmux#inSession()
|
||||||
|
" Seemless vim/tmux pane navigation
|
||||||
|
packadd vim-tmux-navigator
|
||||||
|
let g:tmux_navigator_no_mappings = 1
|
||||||
|
" Enable focus events when in tmux session
|
||||||
|
packadd vim-tmux-focus-events
|
||||||
|
endif
|
||||||
|
|
||||||
|
" coc.nvim
|
||||||
let g:coc_global_extensions = [
|
let g:coc_global_extensions = [
|
||||||
\ 'coc-clangd',
|
\ 'coc-clangd',
|
||||||
\ 'coc-cmake',
|
\ 'coc-cmake',
|
||||||
@ -41,14 +70,7 @@ if has("win32")
|
|||||||
endif
|
endif
|
||||||
let g:coc_default_semantic_highlight_groups = 0
|
let g:coc_default_semantic_highlight_groups = 0
|
||||||
|
|
||||||
" ultisnips - snippet engine
|
" ale
|
||||||
Pack 'SirVer/ultisnips'
|
|
||||||
Pack 'honza/vim-snippets'
|
|
||||||
" vimomni - Completion for vimscript
|
|
||||||
Pack 'vim-scripts/vimomni', {'type': 'opt'}
|
|
||||||
|
|
||||||
" ale - Asynchronous Lint Engine
|
|
||||||
Pack 'w0rp/ale'
|
|
||||||
let g:ale_sign_error = '▸'
|
let g:ale_sign_error = '▸'
|
||||||
let g:ale_sign_warning = '▸'
|
let g:ale_sign_warning = '▸'
|
||||||
let g:ale_echo_msg_format = '[%linter%] %s (%code%)'
|
let g:ale_echo_msg_format = '[%linter%] %s (%code%)'
|
||||||
@ -56,134 +78,40 @@ let g:ale_linters = {'c': [], 'cpp': []}
|
|||||||
let g:ale_cmake_cmakelint_options =
|
let g:ale_cmake_cmakelint_options =
|
||||||
\ '-convention/filename,-package/consistency,-package/stdargs'
|
\ '-convention/filename,-package/consistency,-package/stdargs'
|
||||||
|
|
||||||
" Version control differences in the sign column
|
" vim-signify
|
||||||
Pack 'mhinz/vim-signify'
|
|
||||||
let g:signify_sign_change = '~'
|
let g:signify_sign_change = '~'
|
||||||
" Conflict marker utilities
|
|
||||||
Pack 'rhysd/conflict-marker.vim'
|
|
||||||
|
|
||||||
" vim-textobj-user - library for creating text objects
|
" vim-textobj-entire
|
||||||
Pack 'kana/vim-textobj-user'
|
|
||||||
" vim-textobj-entire - Entire file text object
|
|
||||||
let g:textobj_entire_no_default_key_mappings = 1
|
let g:textobj_entire_no_default_key_mappings = 1
|
||||||
Pack 'kana/vim-textobj-entire'
|
|
||||||
xmap a% <Plug>(textobj-entire-a)
|
xmap a% <Plug>(textobj-entire-a)
|
||||||
omap a% <Plug>(textobj-entire-a)
|
omap a% <Plug>(textobj-entire-a)
|
||||||
xmap i% <Plug>(textobj-entire-i)
|
xmap i% <Plug>(textobj-entire-i)
|
||||||
omap i% <Plug>(textobj-entire-i)
|
omap i% <Plug>(textobj-entire-i)
|
||||||
" vim-textobj-parameter - Parameter text object
|
" vim-textobj-comment
|
||||||
Pack 'sgur/vim-textobj-parameter'
|
|
||||||
" vim-textobj-uri - URI text object
|
|
||||||
Pack 'jceb/vim-textobj-uri'
|
|
||||||
" vim-textobj-comment - Comment text object
|
|
||||||
Pack 'glts/vim-textobj-comment'
|
|
||||||
omap a/ <Plug>(textobj-comment-a)
|
omap a/ <Plug>(textobj-comment-a)
|
||||||
xmap a/ <Plug>(textobj-comment-a)
|
xmap a/ <Plug>(textobj-comment-a)
|
||||||
omap i/ <Plug>(textobj-comment-i)
|
omap i/ <Plug>(textobj-comment-i)
|
||||||
xmap i/ <Plug>(textobj-comment-i)
|
xmap i/ <Plug>(textobj-comment-i)
|
||||||
" vim-textobj-sentence - Improved sentence text object
|
|
||||||
Pack 'reedes/vim-textobj-sentence'
|
|
||||||
|
|
||||||
" vim-commentary - toggle comments
|
" fzf.vim
|
||||||
Pack 'tpope/vim-commentary'
|
|
||||||
" vim-surround - edit delimiters
|
|
||||||
Pack 'tpope/vim-surround'
|
|
||||||
" vim-repeat - better dot command
|
|
||||||
Pack 'tpope/vim-repeat'
|
|
||||||
" vim-fugitive - git wrapper
|
|
||||||
Pack 'tpope/vim-fugitive'
|
|
||||||
" vim-eunuch - unix command warppers
|
|
||||||
Pack 'tpope/vim-eunuch'
|
|
||||||
" vim-vinegar - improved directory browser
|
|
||||||
Pack 'tpope/vim-vinegar'
|
|
||||||
if wsl#isDetected()
|
|
||||||
" Make gx work in WSL
|
|
||||||
let g:netrw_browsex_viewer='cmd.exe /C start'
|
|
||||||
endif
|
|
||||||
" vim-abolish - CamelCase to under_score to mixedCase
|
|
||||||
" TODO: Copy the good bit remove this plugin
|
|
||||||
Pack 'tpope/vim-abolish'
|
|
||||||
" vim-unimpaired - for pairs of tasks
|
|
||||||
Pack 'tpope/vim-unimpaired'
|
|
||||||
" vim-speeddating - sane date manipulation
|
|
||||||
Pack 'tpope/vim-speeddating'
|
|
||||||
" vim-endwise - wisely add end{if,function}, fork with cmake support
|
|
||||||
Pack 'godbyk/vim-endwise', {'rev': 'patch-1'}
|
|
||||||
" vim-jdaddy - text object & formatting for json
|
|
||||||
Pack 'tpope/vim-jdaddy'
|
|
||||||
" vim-projectionist - granular project configuration
|
|
||||||
Pack 'tpope/vim-projectionist'
|
|
||||||
|
|
||||||
" fzf.vim - Fuzzy finder
|
|
||||||
Pack 'junegunn/fzf'
|
|
||||||
Pack 'junegunn/fzf.vim'
|
|
||||||
let g:fzf_action = {
|
let g:fzf_action = {
|
||||||
\ 'ctrl-t': 'tab split',
|
\ 'ctrl-t': 'tab split',
|
||||||
\ 'ctrl-s': 'split',
|
\ 'ctrl-s': 'split',
|
||||||
\ 'ctrl-v': 'vsplit'
|
\ 'ctrl-v': 'vsplit'
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
Pack 'kbenzie/note.vim'
|
" note.vim
|
||||||
let g:note_directory = '~/Sync/Notes'
|
let g:note_directory = '~/Sync/Notes'
|
||||||
|
|
||||||
if !has('win32')
|
" vim-matchit
|
||||||
" Seemless vim/tmux pane navigation
|
|
||||||
Pack 'christoomey/vim-tmux-navigator'
|
|
||||||
let g:tmux_navigator_no_mappings = 1
|
|
||||||
" Enable focus events when in tmux session
|
|
||||||
Pack 'tmux-plugins/vim-tmux-focus-events'
|
|
||||||
endif
|
|
||||||
|
|
||||||
" replay macros with the enter key
|
|
||||||
Pack 'wincent/replay'
|
|
||||||
" vim-matchit - Improved % matching
|
|
||||||
Pack 'andymass/vim-matchup'
|
|
||||||
let g:matchup_matchparen_offscreen = {'method': 'status_manual'}
|
let g:matchup_matchparen_offscreen = {'method': 'status_manual'}
|
||||||
|
|
||||||
" vim-table-mode - Easy table manipulation
|
" vim-table-mode
|
||||||
Pack 'dhruvasagar/vim-table-mode'
|
|
||||||
let g:table_mode_map_prefix = '<leader>t'
|
let g:table_mode_map_prefix = '<leader>t'
|
||||||
let g:table_mode_toggle_map = 'M'
|
let g:table_mode_toggle_map = 'M'
|
||||||
|
|
||||||
" DoxygenToolkit.vim - documentation stubs
|
" DoxygenToolkit.vim
|
||||||
Pack 'vim-scripts/DoxygenToolkit.vim', {'type': 'opt'}
|
|
||||||
let g:DoxygenToolkit_commentType = 'C++'
|
let g:DoxygenToolkit_commentType = 'C++'
|
||||||
|
|
||||||
" markdown fenced code block languages
|
" vim-spirv
|
||||||
let g:markdown_fenced_languages =
|
|
||||||
\ ['cpp', 'c', 'cmake', 'console', 'sh', 'vim', 'python', 'yaml']
|
|
||||||
|
|
||||||
" reStructedText enable code styles
|
|
||||||
let g:rst_style = 1
|
|
||||||
" reStructuredText code block languages
|
|
||||||
let g:rst_syntax_code_list = {
|
|
||||||
\ 'vim': ['vim'],
|
|
||||||
\ 'java': ['java'],
|
|
||||||
\ 'c': ['c'],
|
|
||||||
\ 'cpp': ['cpp', 'c++'],
|
|
||||||
\ 'console': ['console'],
|
|
||||||
\ 'python': ['python']
|
|
||||||
\ }
|
|
||||||
|
|
||||||
" Python folding
|
|
||||||
Pack 'kalekundert/vim-coiled-snake'
|
|
||||||
|
|
||||||
" Enable builtin syntax folding
|
|
||||||
let g:xml_syntax_folding = 1
|
|
||||||
let g:sh_fold_enabled = 1
|
|
||||||
|
|
||||||
" xterm-color-table.vim - view term and hex colors
|
|
||||||
Pack 'guns/xterm-color-table.vim'
|
|
||||||
|
|
||||||
" Syntax plugins
|
|
||||||
Pack 'kbenzie/vim-spirv'
|
|
||||||
let g:spirv_current_id_highlight = 'ctermbg=234, guibg=#1c1c1c'
|
let g:spirv_current_id_highlight = 'ctermbg=234, guibg=#1c1c1c'
|
||||||
Pack 'rperier/vim-cmake-syntax'
|
|
||||||
Pack 'tikhomirov/vim-glsl'
|
|
||||||
Pack 'beyondmarc/hlsl.vim'
|
|
||||||
Pack 'frasercrmck/opencl.vim'
|
|
||||||
Pack 'asciidoc/vim-asciidoc'
|
|
||||||
Pack 'mustache/vim-mustache-handlebars'
|
|
||||||
Pack 'joshglendenning/vim-caddyfile'
|
|
||||||
Pack 'kbenzie/vim-khr'
|
|
||||||
Pack 'jrozner/vim-antlr'
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user