[nvim] Split config up into separate files.

This commit is contained in:
Keanu Timmermans 2021-06-27 14:15:35 +02:00
parent 24125e5272
commit 82c01ffdbe
Signed by: keanucode
GPG key ID: A7431C0D513CA93B
3 changed files with 8 additions and 3 deletions

View file

@ -0,0 +1 @@
Plug 'weirongxu/coc-explorer'

View file

@ -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
View file

@ -0,0 +1,2 @@
" Add keybind for coc-explorer
nmap <space>m :CocCommand explorer<CR>