From 3663b570ceef71448a6a8a789d558682e301a5fe Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Wed, 24 May 2023 13:10:33 +0200 Subject: [PATCH] Adds plugin for easy sudo write --- init.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.vim b/init.vim index 9462e0f..4c72208 100644 --- a/init.vim +++ b/init.vim @@ -13,6 +13,7 @@ Plug 'vim-airline/vim-airline-themes' Plug 'https://gitea.tforgione.fr/tforgione/peach.git' Plug 'scrooloose/nerdtree' Plug 'tpope/vim-abolish' +Plug 'lambdalisue/suda.vim' " Language specific plugins @@ -79,6 +80,9 @@ elseif executable('make') vnoremap :wa \|!make -p %:p endif +" SudaWrite with W +command W SudaWrite + " Escape on F1 map imap