formatting
This commit is contained in:
parent
eda44463ed
commit
432a877989
84
vimrc
84
vimrc
|
@ -10,12 +10,12 @@ endif
|
||||||
if !has('nvim')
|
if !has('nvim')
|
||||||
call plug#begin('~/.vim/bundle')
|
call plug#begin('~/.vim/bundle')
|
||||||
|
|
||||||
" #Activity Watch #aw-watcher-vim{{{
|
" #Activity Watch #aw-watcher-vim{{{
|
||||||
" https://github.com/ActivityWatch/aw-watcher-vim
|
" https://github.com/ActivityWatch/aw-watcher-vim
|
||||||
Plug 'ActivityWatch/aw-watcher-vim'
|
Plug 'ActivityWatch/aw-watcher-vim'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #ALE {{{
|
" #ALE {{{
|
||||||
" https://github.com/w0rp/ale
|
" https://github.com/w0rp/ale
|
||||||
Plug 'w0rp/ale'
|
Plug 'w0rp/ale'
|
||||||
|
|
||||||
|
@ -32,11 +32,11 @@ if !has('nvim')
|
||||||
let g:ale_fixers = {'javascript': ['eslint']}
|
let g:ale_fixers = {'javascript': ['eslint']}
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #coc.nvim{{{
|
" #coc.nvim{{{
|
||||||
" https://github.com/neoclide/coc.nvim
|
" https://github.com/neoclide/coc.nvim
|
||||||
" Plug 'neoclide/coc.nvim', {'tag': '*', 'do': { -> coc#util#install()}}
|
" Plug 'neoclide/coc.nvim', {'tag': '*', 'do': { -> coc#util#install()}}
|
||||||
"}}}
|
"}}}
|
||||||
" #colorV {{{
|
" #colorV {{{
|
||||||
" original:
|
" original:
|
||||||
" https://github.com/gu-fan/colorv.vim
|
" https://github.com/gu-fan/colorv.vim
|
||||||
" Plug 'gu-fan/colorv.vim'
|
" Plug 'gu-fan/colorv.vim'
|
||||||
|
@ -72,11 +72,11 @@ if !has('nvim')
|
||||||
|
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #css3-syntax{{{
|
" #css3-syntax{{{
|
||||||
Plug 'hail2u/vim-css3-syntax'
|
Plug 'hail2u/vim-css3-syntax'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #Ctrlp {{{
|
" #Ctrlp {{{
|
||||||
Plug 'ctrlpvim/ctrlp.vim'
|
Plug 'ctrlpvim/ctrlp.vim'
|
||||||
" :h ctrlp-commands
|
" :h ctrlp-commands
|
||||||
" :h ctrlp-extensions
|
" :h ctrlp-extensions
|
||||||
|
@ -95,7 +95,7 @@ if !has('nvim')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #emmet-vim {{{
|
" #emmet-vim {{{
|
||||||
" https://github.com/mattn/emmet-vim
|
" https://github.com/mattn/emmet-vim
|
||||||
Plug 'mattn/emmet-vim'
|
Plug 'mattn/emmet-vim'
|
||||||
let g:user_emmet_leader_key=',,'
|
let g:user_emmet_leader_key=',,'
|
||||||
|
@ -104,7 +104,7 @@ if !has('nvim')
|
||||||
\}
|
\}
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #gitgutter {{{
|
" #gitgutter {{{
|
||||||
" https://github.com/airblade/vim-gitgutter/blob/master/README.mkd
|
" https://github.com/airblade/vim-gitgutter/blob/master/README.mkd
|
||||||
Plug 'airblade/vim-gitgutter'
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
|
||||||
|
@ -116,22 +116,22 @@ if !has('nvim')
|
||||||
xmap ah <Plug>GitGutterTextObjectOuterVisual
|
xmap ah <Plug>GitGutterTextObjectOuterVisual
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #gitv{{{
|
" #gitv{{{
|
||||||
" https://github.com/gregsexton/gitv
|
" https://github.com/gregsexton/gitv
|
||||||
Plug 'gregsexton/gitv'
|
Plug 'gregsexton/gitv'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
"#html5{{{
|
" #html5{{{
|
||||||
" https://github.com/othree/html5.vim
|
" https://github.com/othree/html5.vim
|
||||||
Plug 'othree/html5.vim'
|
Plug 'othree/html5.vim'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
"#i3config.vim{{{
|
" #i3config.vim{{{
|
||||||
" https://github.com/mboughaba/i3config.vim
|
" https://github.com/mboughaba/i3config.vim
|
||||||
Plug 'mboughaba/i3config.vim'
|
Plug 'mboughaba/i3config.vim'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #inline_edit.vim {{{
|
" #inline_edit.vim {{{
|
||||||
" https://github.com/AndrewRadev/inline_edit.vim
|
" https://github.com/AndrewRadev/inline_edit.vim
|
||||||
Plug 'AndrewRadev/inline_edit.vim'
|
Plug 'AndrewRadev/inline_edit.vim'
|
||||||
|
|
||||||
|
@ -151,28 +151,28 @@ if !has('nvim')
|
||||||
nnoremap <space>ie :InlineEdit<cr>
|
nnoremap <space>ie :InlineEdit<cr>
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #MatchTagAlways{{{
|
" #MatchTagAlways{{{
|
||||||
" https://github.com/Valloric/MatchTagAlways
|
" https://github.com/Valloric/MatchTagAlways
|
||||||
Plug 'Valloric/MatchTagAlways'
|
Plug 'Valloric/MatchTagAlways'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #Netrw {{{
|
" #Netrw {{{
|
||||||
|
|
||||||
let g:netrw_liststyle=3
|
let g:netrw_liststyle=3
|
||||||
let g:netrw_list_hide='^\..*'
|
let g:netrw_list_hide='^\..*'
|
||||||
let g:netrw_preview = 0
|
let g:netrw_preview = 0
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #Obsession{{{
|
" #Obsession{{{
|
||||||
Plug 'tpope/vim-obsession'
|
Plug 'tpope/vim-obsession'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #php.vim{{{
|
" #php.vim{{{
|
||||||
" https://github.com/StanAngeloff/php.vim
|
" https://github.com/StanAngeloff/php.vim
|
||||||
Plug 'StanAngeloff/php.vim'
|
Plug 'StanAngeloff/php.vim'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #phpcomplete.vim{{{
|
" #phpcomplete.vim{{{
|
||||||
" https://github.com/shawncplus/phpcomplete.vim
|
" https://github.com/shawncplus/phpcomplete.vim
|
||||||
Plug 'shawncplus/phpcomplete.vim'
|
Plug 'shawncplus/phpcomplete.vim'
|
||||||
" https://github.com/dsawardekar/wordpress.vim
|
" https://github.com/dsawardekar/wordpress.vim
|
||||||
|
@ -180,16 +180,16 @@ if !has('nvim')
|
||||||
" https://github.com/joseluis/wordpress.vim-generator
|
" https://github.com/joseluis/wordpress.vim-generator
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #quickscope{{{
|
" #quickscope{{{
|
||||||
" https://github.com/unblevable/quick-scope
|
" https://github.com/unblevable/quick-scope
|
||||||
Plug 'unblevable/quick-scope'
|
Plug 'unblevable/quick-scope'
|
||||||
let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']
|
let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']
|
||||||
"}}}
|
"}}}
|
||||||
" #scss-syntax{{{
|
" #scss-syntax{{{
|
||||||
Plug 'cakebaker/scss-syntax.vim'
|
Plug 'cakebaker/scss-syntax.vim'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #switch {{{
|
" #switch {{{
|
||||||
"https://github.com/AndrewRadev/switch.vim
|
"https://github.com/AndrewRadev/switch.vim
|
||||||
Plug 'AndrewRadev/switch.vim'
|
Plug 'AndrewRadev/switch.vim'
|
||||||
|
|
||||||
|
@ -205,7 +205,7 @@ if !has('nvim')
|
||||||
\ ]
|
\ ]
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #tagbar {{{
|
" #tagbar {{{
|
||||||
Plug 'majutsushi/tagbar'
|
Plug 'majutsushi/tagbar'
|
||||||
|
|
||||||
nnoremap <space>tb :TagbarOpen fj<CR>
|
nnoremap <space>tb :TagbarOpen fj<CR>
|
||||||
|
@ -251,7 +251,7 @@ if !has('nvim')
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #ultisnips {{{
|
" #ultisnips {{{
|
||||||
" https://github.com/sirver/UltiSnips
|
" https://github.com/sirver/UltiSnips
|
||||||
Plug 'SirVer/ultisnips'
|
Plug 'SirVer/ultisnips'
|
||||||
" and some snippets
|
" and some snippets
|
||||||
|
@ -306,22 +306,22 @@ if !has('nvim')
|
||||||
set completefunc=CompleteSnippets
|
set completefunc=CompleteSnippets
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #undotree {{{
|
" #undotree {{{
|
||||||
Plug 'mbbill/undotree'
|
Plug 'mbbill/undotree'
|
||||||
nnoremap <space>ut :UndotreeToggle<cr>
|
nnoremap <space>ut :UndotreeToggle<cr>
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #tcomment_vim{{{
|
" #tcomment_vim{{{
|
||||||
" https://github.com/tomtom/tcomment_vim
|
" https://github.com/tomtom/tcomment_vim
|
||||||
Plug 'tomtom/tcomment_vim'
|
Plug 'tomtom/tcomment_vim'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #vim-dispatch{{{
|
" #vim-dispatch{{{
|
||||||
" https://github.com/tpope/vim-dispatch
|
" https://github.com/tpope/vim-dispatch
|
||||||
Plug 'tpope/vim-dispatch'
|
Plug 'tpope/vim-dispatch'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #vim-easy-align {{{
|
" #vim-easy-align {{{
|
||||||
" https://github.com/junegunn/vim-easy-align
|
" https://github.com/junegunn/vim-easy-align
|
||||||
Plug 'junegunn/vim-easy-align'
|
Plug 'junegunn/vim-easy-align'
|
||||||
|
|
||||||
|
@ -329,7 +329,7 @@ if !has('nvim')
|
||||||
nmap ga <Plug>(EasyAlign)
|
nmap ga <Plug>(EasyAlign)
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #vim-gutentags {{{
|
" #vim-gutentags {{{
|
||||||
" https://github.com/ludovicchabant/vim-gutentags
|
" https://github.com/ludovicchabant/vim-gutentags
|
||||||
Plug 'ludovicchabant/vim-gutentags'
|
Plug 'ludovicchabant/vim-gutentags'
|
||||||
|
|
||||||
|
@ -337,12 +337,12 @@ if !has('nvim')
|
||||||
let g:gutentags_ctags_exclude = ['package.json', 'Session.vim', 'package-lock.json', 'TODO.txt']
|
let g:gutentags_ctags_exclude = ['package.json', 'Session.vim', 'package-lock.json', 'TODO.txt']
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
"#vim-json{{{
|
" #vim-json{{{
|
||||||
" https://github.com/elzr/vim-json
|
" https://github.com/elzr/vim-json
|
||||||
Plug 'elzr/vim-json'
|
Plug 'elzr/vim-json'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #vim-lsp {{{
|
" #vim-lsp {{{
|
||||||
" https://github.com/prabirshrestha/vim-lsp
|
" https://github.com/prabirshrestha/vim-lsp
|
||||||
Plug 'prabirshrestha/async.vim'
|
Plug 'prabirshrestha/async.vim'
|
||||||
Plug 'prabirshrestha/vim-lsp'
|
Plug 'prabirshrestha/vim-lsp'
|
||||||
|
@ -393,21 +393,21 @@ if !has('nvim')
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
""}}}
|
""}}}
|
||||||
" #vim-repeat{{{
|
" #vim-repeat{{{
|
||||||
" https://github.com/tpope/vim-repeat
|
" https://github.com/tpope/vim-repeat
|
||||||
Plug 'tpope/vim-repeat'
|
Plug 'tpope/vim-repeat'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
"#vim-rsi{{{
|
" #vim-rsi{{{
|
||||||
"https://github.com/tpope/vim-rsi
|
"https://github.com/tpope/vim-rsi
|
||||||
Plug 'tpope/vim-rsi'
|
Plug 'tpope/vim-rsi'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #vim-surround{{{
|
" #vim-surround{{{
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #vim-vue {{{
|
" #vim-vue {{{
|
||||||
" https://github.com/posva/vim-vue
|
" https://github.com/posva/vim-vue
|
||||||
Plug 'posva/vim-vue'
|
Plug 'posva/vim-vue'
|
||||||
|
|
||||||
|
@ -419,47 +419,47 @@ if !has('nvim')
|
||||||
autocmd BufNewFile,BufRead *.vue syntax sync fromstart
|
autocmd BufNewFile,BufRead *.vue syntax sync fromstart
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
" #vim-yaml
|
" #vim-yaml
|
||||||
" https://github.com/stephpy/vim-yaml
|
" https://github.com/stephpy/vim-yaml
|
||||||
Plug 'stephpy/vim-yaml'
|
Plug 'stephpy/vim-yaml'
|
||||||
|
|
||||||
" #python-syntax
|
" #python-syntax
|
||||||
" https://github.com/vim-python/python-syntax
|
" https://github.com/vim-python/python-syntax
|
||||||
Plug 'vim-python/python-syntax'
|
Plug 'vim-python/python-syntax'
|
||||||
let g:python_highlight_all = 1
|
let g:python_highlight_all = 1
|
||||||
|
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #vim-javascript{{{
|
" #vim-javascript{{{
|
||||||
Plug 'pangloss/vim-javascript'
|
Plug 'pangloss/vim-javascript'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #vimwiki {{{
|
" #vimwiki {{{
|
||||||
" https://github.com/vimwiki/vimwiki
|
" https://github.com/vimwiki/vimwiki
|
||||||
Plug 'vimwiki/vimwiki'
|
Plug 'vimwiki/vimwiki'
|
||||||
let g:vimwiki_list = [{'path': '~/vimwiki/', 'path_html': '~/vimwiki_html/'}]
|
let g:vimwiki_list = [{'path': '~/vimwiki/', 'path_html': '~/vimwiki_html/'}]
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #wordpress.vim{{{
|
" #wordpress.vim{{{
|
||||||
" doesn't support universal ctags
|
" doesn't support universal ctags
|
||||||
" #Plug 'dsawardekar/wordpress.vim'
|
" #Plug 'dsawardekar/wordpress.vim'
|
||||||
" This fork does:
|
" This fork does:
|
||||||
" https://github.com/DArcMattr/wordpress.vim/tree/universal-ctags
|
" https://github.com/DArcMattr/wordpress.vim/tree/universal-ctags
|
||||||
" Using studio-vx fork
|
" Using studio-vx fork
|
||||||
Plug 'studio-vx/wordpress.vim', { 'branch': 'universal-ctags' }
|
Plug 'studio-vx/wordpress.vim', { 'branch': 'universal-ctags' }
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #fugitive-vim{{{
|
" #fugitive-vim{{{
|
||||||
" https://github.com/tpope/vim-fugitive/blob/master/README.markdown
|
" https://github.com/tpope/vim-fugitive/blob/master/README.markdown
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #vim-git{{{
|
" #vim-git{{{
|
||||||
" https://github.com/tpope/vim-git
|
" https://github.com/tpope/vim-git
|
||||||
Plug 'tpope/vim-git'
|
Plug 'tpope/vim-git'
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
" #wakatime{{{
|
" #wakatime{{{
|
||||||
" https://wakatime.com/vim
|
" https://wakatime.com/vim
|
||||||
Plug 'wakatime/vim-wakatime'
|
Plug 'wakatime/vim-wakatime'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue