summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/custom/plugins/oil.lua
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-04-24 11:36:39 +0300
committerKyren223 <Kyren223@proton.me>2025-04-24 11:36:39 +0300
commit6bef8f32b19778fdfe52f0eb39719425508dcc7b (patch)
treef293141ed7e8676b76bb06c07a0fa9472b10e2ac /.config/nvim/lua/custom/plugins/oil.lua
parentdbd9a6fdd0c44e26b200fb706aacd120a2e09c47 (diff)
Refactored nvim config to make it easier and less insanely nested
Diffstat (limited to '.config/nvim/lua/custom/plugins/oil.lua')
-rw-r--r--.config/nvim/lua/custom/plugins/oil.lua40
1 files changed, 0 insertions, 40 deletions
diff --git a/.config/nvim/lua/custom/plugins/oil.lua b/.config/nvim/lua/custom/plugins/oil.lua
deleted file mode 100644
index 7b7521d..0000000
--- a/.config/nvim/lua/custom/plugins/oil.lua
+++ /dev/null
@@ -1,40 +0,0 @@
-return {
- 'stevearc/oil.nvim',
- dependencies = { 'nvim-tree/nvim-web-devicons' },
- keys = { { '<leader>fo', '<cmd>Oil<cr>', desc = '[F]ilesystem [O]il' } },
- opts = {
- delete_to_trash = true,
- default_file_explorer = true,
- skip_confirm_for_simple_edits = true,
- keymaps = {
- ['gs'] = false,
- ['<C-h>'] = false,
- ['<C-l>'] = false,
- ['<C-k>'] = false,
- ['<C-j>'] = false,
- ['<M-h>'] = 'actions.select_split',
- ['<M-v>'] = 'actions.select_vsplit',
- ['<C-r>'] = 'actions.refresh',
- ['Q'] = 'actions.close',
- ['gS'] = 'actions.change_sort',
- ['gy'] = 'actions.copy_to_system_clipboard',
- ['gp'] = 'actions.paste_from_system_clipboard',
- },
- view_options = {
- show_hidden = true,
- natural_order = true,
- },
-
- lsp_file_methods = {
- -- Enable or disable LSP file operations
- enabled = true,
- -- Time to wait for LSP file operations to complete before skipping
- timeout_ms = 1000,
- -- Set to true to autosave buffers that are updated with LSP willRenameFiles
- -- Set to "unmodified" to only save unmodified buffers
- autosave_changes = false,
- },
- },
- cmd = 'Oil',
- event = 'VimEnter',
-}