This commit is contained in:
chilborne 2023-12-18 09:13:24 +01:00
parent 00d2f2fcf5
commit c699c93497
30 changed files with 31 additions and 7 deletions

3
lua/custom/configs/set.lua Normal file → Executable file
View file

@ -15,3 +15,6 @@ vim.opt.signcolumn = "yes"
vim.opt.isfname:append("@-@")
vim.opt.updatetime = 50
-- Define a command to write with sudo
vim.cmd("command! -nargs=0 W execute 'w !sudo tee % > /dev/null' | edit!")