vim: Split plugin configuration
This commit is contained in:
parent
d47926061f
commit
bd8f16d8b9
2
rcrc
2
rcrc
|
@ -1,6 +1,6 @@
|
|||
COPY_ALWAYS="git_template/HEAD"
|
||||
DOTFILES_DIRS="$HOME/dotfiles-local $HOME/dotfiles"
|
||||
EXCLUDES="install.sh README.md"
|
||||
SYMLINK_DIRS="completion-scripts composer bin functions configs"
|
||||
SYMLINK_DIRS="completion-scripts composer bin functions configs plugins"
|
||||
TAGS="alacritty git npm php tmux vim zsh"
|
||||
UNDOTTED="bin"
|
||||
|
|
|
@ -35,8 +35,7 @@ set smartindent
|
|||
set tabstop=2 softtabstop=2
|
||||
set termguicolors
|
||||
|
||||
let g:nord_bold_vertical_split_line = 1
|
||||
let g:nord_cursor_line_number_background = 1
|
||||
call s:SourceConfigFilesIn('plugins')
|
||||
|
||||
colorscheme nord
|
||||
|
||||
|
@ -51,21 +50,6 @@ noremap <down> <nop>
|
|||
noremap <left> <nop>
|
||||
noremap <right> <nop>
|
||||
|
||||
" Nerdtree
|
||||
let g:NERDTreeShowHidden=1
|
||||
let g:NERDTreeWinPos = "right"
|
||||
nnoremap <leader>ne :NERDTreeToggle<CR>
|
||||
|
||||
" Symbol renaming.
|
||||
nmap <Leader>a <Plug>(coc-codeaction)
|
||||
nmap <Leader>gd <Plug>(coc-definition)
|
||||
nmap <Leader>gr <Plug>(coc-references)
|
||||
nmap <Leader>gi <Plug>(coc-implementation)
|
||||
nmap <Leader>gt <Plug>(coc-type-definition)
|
||||
nmap <Leader>sr <Plug>(coc-rename)
|
||||
nmap <Leader>rf <Plug>(coc-refactor)
|
||||
nnoremap <silent> K :call <SID>show_documentation()<CR>
|
||||
|
||||
autocmd FileType gitcommit highlight ColorColumn ctermbg=8
|
||||
autocmd FileType gitcommit setlocal colorcolumn=50,72
|
||||
autocmd FileType gitcommit setlocal textwidth=72
|
||||
|
|
5
tag-vim/config/nvim/plugins/airline.vim
Normal file
5
tag-vim/config/nvim/plugins/airline.vim
Normal file
|
@ -0,0 +1,5 @@
|
|||
let g:airline_left_alt_sep = ''
|
||||
let g:airline_left_sep = ''
|
||||
let g:airline_powerline_fonts = 1
|
||||
let g:airline_right_alt_sep = ''
|
||||
let g:airline_right_sep = ''
|
2
tag-vim/config/nvim/plugins/blamer.vim
Normal file
2
tag-vim/config/nvim/plugins/blamer.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
let g:blamer_delay = 500
|
||||
let g:blamer_enabled = 1
|
8
tag-vim/config/nvim/plugins/coc.vim
Normal file
8
tag-vim/config/nvim/plugins/coc.vim
Normal file
|
@ -0,0 +1,8 @@
|
|||
nmap <Leader>a <Plug>(coc-codeaction)
|
||||
nmap <Leader>gd <Plug>(coc-definition)
|
||||
nmap <Leader>gr <Plug>(coc-references)
|
||||
nmap <Leader>gi <Plug>(coc-implementation)
|
||||
nmap <Leader>gt <Plug>(coc-type-definition)
|
||||
nmap <Leader>sr <Plug>(coc-rename)
|
||||
nmap <Leader>rf <Plug>(coc-refactor)
|
||||
nnoremap <silent> K :call <SID>show_documentation()<CR>
|
4
tag-vim/config/nvim/plugins/nerdtree.vim
Normal file
4
tag-vim/config/nvim/plugins/nerdtree.vim
Normal file
|
@ -0,0 +1,4 @@
|
|||
let g:NERDTreeShowHidden=1
|
||||
let g:NERDTreeWinPos = "right"
|
||||
|
||||
nnoremap <leader>ne :NERDTreeToggle<CR>
|
2
tag-vim/config/nvim/plugins/nord.vim
Normal file
2
tag-vim/config/nvim/plugins/nord.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
let g:nord_bold_vertical_split_line = 1
|
||||
let g:nord_cursor_line_number_background = 1
|
Loading…
Reference in a new issue