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 +" }}}