diff options
| author | eric.marin <maarin.eric@gmail.com> | 2024-12-18 21:06:41 +0100 |
|---|---|---|
| committer | eric.marin <maarin.eric@gmail.com> | 2024-12-18 21:06:41 +0100 |
| commit | 000a7c2a4c4bda36f655f6489b5bac3211515a5d (patch) | |
| tree | 8a5fe85f0632fcca678f0204a4288e6b3423f772 /nvim/lua/plugins | |
| parent | b0cfdab1e93f660fda8f9398e30c9c996a1760f3 (diff) | |
| download | dotfiles-000a7c2a4c4bda36f655f6489b5bac3211515a5d.tar.gz dotfiles-000a7c2a4c4bda36f655f6489b5bac3211515a5d.zip | |
niri and fuzzel
Diffstat (limited to 'nvim/lua/plugins')
| -rw-r--r-- | nvim/lua/plugins/neorg.lua | 8 | ||||
| -rw-r--r-- | nvim/lua/plugins/nvim-lspconfig.lua | 4 | ||||
| -rw-r--r-- | nvim/lua/plugins/nvim-parinfer.lua | 1 | ||||
| -rw-r--r-- | nvim/lua/plugins/oil.lua | 14 | ||||
| -rw-r--r-- | nvim/lua/plugins/yuck.lua | 5 |
5 files changed, 22 insertions, 10 deletions
diff --git a/nvim/lua/plugins/neorg.lua b/nvim/lua/plugins/neorg.lua index be2f7e2..1e2d948 100644 --- a/nvim/lua/plugins/neorg.lua +++ b/nvim/lua/plugins/neorg.lua @@ -21,6 +21,14 @@ local config = function() } } }, + -- ["core.dirman"] = { + -- config = { + -- workspaces = { + -- default = "~/neorg" + -- }, + -- index = "index.norg" + -- } + -- }, ["core.completion"] = { config = { engine = "nvim-cmp" diff --git a/nvim/lua/plugins/nvim-lspconfig.lua b/nvim/lua/plugins/nvim-lspconfig.lua index 5be314c..c9b1326 100644 --- a/nvim/lua/plugins/nvim-lspconfig.lua +++ b/nvim/lua/plugins/nvim-lspconfig.lua @@ -98,9 +98,9 @@ local config = function() }) -- vacuum configuration lspconfig.vacuum.setup({ - on_attach = on_attach, + -- on_attach = on_attach, capabilities = capabilities, - filetypes = { "yaml", "json" } + filetypes = { "yaml" } }) end diff --git a/nvim/lua/plugins/nvim-parinfer.lua b/nvim/lua/plugins/nvim-parinfer.lua index 15dced7..95d701d 100644 --- a/nvim/lua/plugins/nvim-parinfer.lua +++ b/nvim/lua/plugins/nvim-parinfer.lua @@ -1,5 +1,4 @@ return { "gpanders/nvim-parinfer", lazy = true, - ft = "yuck", } diff --git a/nvim/lua/plugins/oil.lua b/nvim/lua/plugins/oil.lua index e717988..c19baad 100644 --- a/nvim/lua/plugins/oil.lua +++ b/nvim/lua/plugins/oil.lua @@ -4,9 +4,8 @@ local init = function() { noremap = true, silent = true, desc = "File browser (Oil)" }) -- Oil end - - local config = function() + local detail = false require("oil").setup({ default_file_explorer = true, delete_to_trash = true, @@ -23,6 +22,17 @@ local config = function() ["bs"] = "actions.change_sort", ["b."] = "actions.toggle_hidden", ["bt"] = "actions.toggle_trash", + ["bd"] = { + desc = "Toggle file detail view", + callback = function() + detail = not detail + if detail then + require("oil").set_columns({ "icon", "permissions", "size", "mtime" }) + else + require("oil").set_columns({ "icon" }) + end + end, + }, }, use_default_keymaps = false, }) diff --git a/nvim/lua/plugins/yuck.lua b/nvim/lua/plugins/yuck.lua deleted file mode 100644 index aedbeba..0000000 --- a/nvim/lua/plugins/yuck.lua +++ /dev/null @@ -1,5 +0,0 @@ -return { - "elkowar/yuck.vim", - lazy = true, - ft = "yuck" -} |
