From 6059acd2a8a027f2c3c0bb755a90440b46764524 Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Sun, 4 Jul 2021 13:50:51 +0200 Subject: [PATCH] [nvim] Added NERDTree keybind --- nvim/init.vim | 8 -------- nvim/plugin/keybinds.vim | 11 +++++++++-- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/nvim/init.vim b/nvim/init.vim index 68c72a2..c97a056 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -12,11 +12,3 @@ source :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 "+y - vnoremap "+y - nnoremap "+gP - vnoremap "+gP -" }}} diff --git a/nvim/plugin/keybinds.vim b/nvim/plugin/keybinds.vim index b3ac4c2..d970038 100644 --- a/nvim/plugin/keybinds.vim +++ b/nvim/plugin/keybinds.vim @@ -1,2 +1,9 @@ -" Add keybind for coc-explorer -nmap m :CocCommand explorer +nnoremap :NERDTreeToggle + +" Copy to clipboard register and paste from clipboard register {{{ + " Taken from https://unix.stackexchange.com/a/23437 + nnoremap "+y + vnoremap "+y + nnoremap "+gP + vnoremap "+gP +" }}}