From c12258d4c5516e41bde3df3965d02eeb08f05336 Mon Sep 17 00:00:00 2001 From: Niklas Date: Mon, 24 May 2021 15:28:48 +0200 Subject: [PATCH] nvim clipboard & save as sudo --- .config/nvim/init.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index ce0617c..adcac09 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -47,3 +47,8 @@ nnoremap :NERDTreeToggle nnoremap :bnext nnoremap :bprevious + +syntax enable +set clipboard=unnamedplus + +cmap w!! w !sudo tee %