mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] Split config up into separate files.
This commit is contained in:
parent
24125e5272
commit
82c01ffdbe
3 changed files with 8 additions and 3 deletions
1
nvim/dotfiles/plugins-list.vim
Normal file
1
nvim/dotfiles/plugins-list.vim
Normal file
|
@ -0,0 +1 @@
|
|||
Plug 'weirongxu/coc-explorer'
|
|
@ -1,12 +1,14 @@
|
|||
let g:k_nvim_dotfiles_dir = expand('<sfile>:p:h')
|
||||
let g:k_dotfiles_dir = expand('<sfile>:p:h:h')
|
||||
|
||||
let &runtimepath = g:k_nvim_dotfiles_dir.','.&runtimepath.','.g:k_nvim_dotfiles_dir.'/after'
|
||||
|
||||
" Enable the clearly superior mode.
|
||||
let g:vim_ide = 1
|
||||
|
||||
" Source Dima's config
|
||||
source <sfile>:p:h/../dmitmel-dotfiles/nvim/init.vim
|
||||
|
||||
" Add keybind for coc-explorer
|
||||
nmap <space>m :CocCommand explorer<CR>
|
||||
|
||||
" Give me that beautiful colorscheme
|
||||
set termguicolors
|
||||
|
||||
|
|
2
nvim/plugin/keybinds.vim
Normal file
2
nvim/plugin/keybinds.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
" Add keybind for coc-explorer
|
||||
nmap <space>m :CocCommand explorer<CR>
|
Loading…
Reference in a new issue