[nvim] Added NERDTree keybind

This commit is contained in:
Alyxia Sother 2021-07-04 13:50:51 +02:00
parent c2b6345244
commit 6059acd2a8
No known key found for this signature in database
GPG Key ID: 355968D14144B739
2 changed files with 9 additions and 10 deletions

View File

@ -12,11 +12,3 @@ source <sfile>:p:h/../dmitmel-dotfiles/nvim/init.vim
" Give me that beautiful colorscheme
set termguicolors
let airline_powerline_fonts = 1
" 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
" }}}

View File

@ -1,2 +1,9 @@
" Add keybind for coc-explorer
nmap <space>m :CocCommand explorer<CR>
nnoremap <C-t> :NERDTreeToggle<CR>
" 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
" }}}