Removed Sudo Hacks, cause they break with Password Sudo
This commit is contained in:
1 parent
74edd07d68
commit
86cec7c992
1 file changed
-7
@@ -42,13 +42,6 @@ vim.g.netrw_silent = 1
|
||||
]]
|
||||
-- }}}
|
||||
|
||||
-- WriteSudo and ReadSudo hacks {{{
|
||||
vim.api.nvim_create_user_command('WriteSudo', 'w !sudo tee %', {})
|
||||
vim.api.nvim_create_user_command('ReadSudo', function(opts)
|
||||
vim.cmd('r !sudo cat ' .. opts['args'])
|
||||
end, { nargs = 1 })
|
||||
-- }}}
|
||||
|
||||
-- Statusbar {{{
|
||||
vim.opt.statusline = ' #%n %f %h%w%m%r %= %{&fileformat} %y %l:%c %p%% '
|
||||
-- }}}
|
||||
|
||||
Reference in new issue
Block a user