aboutsummaryrefslogtreecommitdiff
path: root/.vim/plugin
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-02 11:48:21 +0800
committerGuangxiong Lin <[email protected]>2022-04-02 11:48:21 +0800
commit0587d80453bc92acb20b351fd17bc2f9126e01b0 (patch)
treec16ded09f47751abca3f21b35825a1c7873425ba /.vim/plugin
parent9ed3898acfdab8f1361e46c755f337eec96c4028 (diff)
downloaddotfiles-0587d80453bc92acb20b351fd17bc2f9126e01b0.tar.gz
dotfiles-0587d80453bc92acb20b351fd17bc2f9126e01b0.tar.bz2
dotfiles-0587d80453bc92acb20b351fd17bc2f9126e01b0.zip
Update plugin config location in vim
Diffstat (limited to '.vim/plugin')
-rw-r--r--.vim/plugin/editorconfig.vim2
-rw-r--r--.vim/plugin/fugitive.vim7
-rw-r--r--.vim/plugin/fzf.vim20
-rw-r--r--.vim/plugin/godot.vim42
-rw-r--r--.vim/plugin/gutentags.vim21
-rw-r--r--.vim/plugin/ledger.vim14
-rw-r--r--.vim/plugin/rooter.vim1
-rw-r--r--.vim/plugin/ultisnips.vim3
8 files changed, 0 insertions, 110 deletions
diff --git a/.vim/plugin/editorconfig.vim b/.vim/plugin/editorconfig.vim
deleted file mode 100644
index 70a4c16..0000000
--- a/.vim/plugin/editorconfig.vim
+++ /dev/null
@@ -1,2 +0,0 @@
-let g:EditorConfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
-au FileType gitcommit let b:EditorConfig_disable = 1
diff --git a/.vim/plugin/fugitive.vim b/.vim/plugin/fugitive.vim
deleted file mode 100644
index f3a67bb..0000000
--- a/.vim/plugin/fugitive.vim
+++ /dev/null
@@ -1,7 +0,0 @@
-nnoremap <silent> <leader>gs :tabnew +Git<CR>
-
-nnoremap <leader>gp :G push<space>
-nnoremap <leader>g<space> :G<space>
-nnoremap <leader>gd :Gvdiffsplit<space>
-nnoremap <leader>gl :Gclog %<space>
-xnoremap <leader>gl :Gclog<CR>
diff --git a/.vim/plugin/fzf.vim b/.vim/plugin/fzf.vim
deleted file mode 100644
index 7bf39aa..0000000
--- a/.vim/plugin/fzf.vim
+++ /dev/null
@@ -1,20 +0,0 @@
-let g:fzf_command_prefix = 'Fzf'
-
-command! -bang -nargs=* FzfRg
- \ call fzf#vim#grep(
- \ 'rg --hidden --column --line-number --no-heading --color=always --smart-case --glob !.git -- '.shellescape(<q-args>), 1,
- \ fzf#vim#with_preview(), <bang>0)
-
-noremap <leader>ff :FzfFiles<CR>
-noremap <leader>fgf :FzfGFiles<CR>
-noremap <leader>fb :FzfBuffers<CR>
-noremap <leader>fm :FzfHistory<CR>
-noremap <leader>ft :FzfBTags<CR>
-noremap <leader>fT :FzfTags<CR>
-noremap <leader>fa :FzfAg<space>
-noremap <leader>fr :FzfRg<space>
-noremap <leader>fc :FzfCommands<CR>
-noremap <leader>fgc :FzfBCommits<CR>
-noremap <leader>fgC :FzfCommits<CR>
-noremap <leader>fl :FzfBLines<CR>
-noremap <leader>fL :FzfLines<CR>
diff --git a/.vim/plugin/godot.vim b/.vim/plugin/godot.vim
deleted file mode 100644
index 655710e..0000000
--- a/.vim/plugin/godot.vim
+++ /dev/null
@@ -1,42 +0,0 @@
-if has('macunix')
- let g:godot_executable = '/Applications/Godot.app'
-endif
-
-if has('win32') || has('win32unix')
- let g:godot_executable = ''
-endif
-
-func! s:godot_settings() abort
- setlocal tabstop=4
- nnoremap <buffer> <leader>rl :GodotRunLast<CR>
- nnoremap <buffer> <leader>rc :GodotRunCurrent<CR>
- nnoremap <buffer> <leader>rr :GodotRun<CR>
-endfunc
-
-augroup godot | au!
- au FileType gdscript call s:godot_settings()
-augroup end
-
-"YCM config
-
-if !has_key( g:, 'ycm_language_server' )
- let g:ycm_language_server = []
-endif
-
-let g:ycm_language_server += [
- \ {
- \ 'name': 'godot',
- \ 'filetypes': ['gdscript'],
- \ 'project_root_files': ['project.godot'],
- \ 'port': 6008
- \ }
- \ ]
-
-" ALE config
-
-call ale#linter#Define('gdscript', {
-\ 'name': 'godot',
-\ 'lsp': 'socket',
-\ 'address': '127.0.0.1:6008',
-\ 'project_root': 'project.godot',
-\ })
diff --git a/.vim/plugin/gutentags.vim b/.vim/plugin/gutentags.vim
deleted file mode 100644
index cab2f3b..0000000
--- a/.vim/plugin/gutentags.vim
+++ /dev/null
@@ -1,21 +0,0 @@
-let g:gutentags_project_root = ['.root', '.svn', '.git', '.hg', '.project']
-let g:gutentags_ctags_tagfile = '.tags'
-let g:gutentags_cache_dir = expand('~/.cache/tags')
-let g:gutentags_ctags_extra_args = ['--fields=+niazS', '--extras=+q']
-let g:gutentags_ctags_extra_args += ['--c++-kinds=+px']
-let g:gutentags_ctags_extra_args += ['--c-kinds=+px']
-let g:gutentags_ctags_extra_args += ['--output-format=e-ctags']
-let g:gutentags_define_advanced_commands = 1
-
-let $GTAGSLABEL = 'native-pygments'
-let $GTAGSCONF = '/usr/local/share/gtags/gtags.conf'
-
-let g:airline#extensions#gutentags#enabled = 1
-
-let g:gutentags_modules = []
-if executable('ctags')
- let g:gutentags_modules += ['ctags']
-endif
-if executable('gtags') && executable('gtags-cscope')
- let g:gutentags_modules += ['gtags_cscope']
-endif
diff --git a/.vim/plugin/ledger.vim b/.vim/plugin/ledger.vim
deleted file mode 100644
index 77f5f3a..0000000
--- a/.vim/plugin/ledger.vim
+++ /dev/null
@@ -1,14 +0,0 @@
-let g:ledger_bin = 'ledger'
-let g:ledger_align_at = 50
-let g:ledger_commodity_before = 0
-let g:ledger_align_commodity = 1
-let g:ledger_extra_options = '--pedantic --explicit --check-payees'
-
-function! s:ledger_keymap() abort
- noremap { ?^\d<CR>
- noremap } /^\d<CR>
- inoremap <silent> <Tab> <C-r>=ledger#autocomplete_and_align()<CR>
- vnoremap <silent> <Tab> :LedgerAlign<CR>
-endfunction
-
-au FileType ledger call s:ledger_keymap()
diff --git a/.vim/plugin/rooter.vim b/.vim/plugin/rooter.vim
deleted file mode 100644
index bb07c0a..0000000
--- a/.vim/plugin/rooter.vim
+++ /dev/null
@@ -1 +0,0 @@
-let g:rooter_patterns = ['.git']
diff --git a/.vim/plugin/ultisnips.vim b/.vim/plugin/ultisnips.vim
deleted file mode 100644
index 579cd03..0000000
--- a/.vim/plugin/ultisnips.vim
+++ /dev/null
@@ -1,3 +0,0 @@
-let g:UltiSnipsExpandTrigger='<c-j>'
-let g:UltiSnipsJumpForwardTrigger='<c-j>'
-let g:UltiSnipsJumpBackwardTrigger='<c-k>'