From 31b1d8380b8c7c5d2241b4441e65e962bc6f8ac5 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Thu, 7 Sep 2023 22:28:08 +0200 Subject: [PATCH] suda usage --- lua/plex/config/options.lua | 2 ++ lua/plex/plugins/extras/editor/vim-eunuch.lua | 1 + 2 files changed, 3 insertions(+) diff --git a/lua/plex/config/options.lua b/lua/plex/config/options.lua index b1364d8..11aef7e 100644 --- a/lua/plex/config/options.lua +++ b/lua/plex/config/options.lua @@ -213,6 +213,8 @@ vim.g.loaded_node_provider = 0 vim.g.no_gitrebase_maps = 1 -- See share/nvim/runtime/ftplugin/gitrebase.vim vim.g.no_man_maps = 1 -- See share/nvim/runtime/ftplugin/man.vim +vim.g.suda_smart_edit = 1 -- smart suda open and write + -- Filetype detection -- === diff --git a/lua/plex/plugins/extras/editor/vim-eunuch.lua b/lua/plex/plugins/extras/editor/vim-eunuch.lua index c767058..2dfd252 100644 --- a/lua/plex/plugins/extras/editor/vim-eunuch.lua +++ b/lua/plex/plugins/extras/editor/vim-eunuch.lua @@ -7,6 +7,7 @@ return { -- :Chmod -- and also some more, but those are easy done with shell "tpope/vim-eunuch", + enabled = false, lazy=false, } }