nvim: enable suda_smart_edit
This commit is contained in:
parent
85138cdaa1
commit
411722360d
@ -1,10 +1,7 @@
|
||||
return {
|
||||
"lambdalisue/suda.vim",
|
||||
lazy = true,
|
||||
lazy = false,
|
||||
cmd = { "SudaRead", "SudaWrite" },
|
||||
config = function()
|
||||
vim.g.suda_smart_edit = 1
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>e", "<cmd>SudaRead<cr>", desc = "Edit with sudo" },
|
||||
},
|
||||
|
@ -1,3 +1,4 @@
|
||||
vim.g.suda_smart_edit = 1
|
||||
require("config.options")
|
||||
require("config.keymaps_nvim")
|
||||
require("config.keymaps")
|
||||
|
Loading…
x
Reference in New Issue
Block a user