mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] Add config.
This commit is contained in:
parent
d57d743a14
commit
eb36ebe244
1 changed files with 19 additions and 0 deletions
19
nvim/init.vim
Normal file
19
nvim/init.vim
Normal file
|
@ -0,0 +1,19 @@
|
|||
" 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
|
||||
|
||||
" Copy to clipboard register and paste from clipboard register {{{
|
||||
" Taken from https://unix.stackexchange.com/a/23437
|
||||
nnoremap <C-y> "+y
|
||||
vnoremap <C-y> "+y
|
||||
nnoremap <C-p> "+gP
|
||||
vnoremap <C-p> "+gP
|
||||
" }}}
|
Loading…
Reference in a new issue