diff options
| author | Kyren223 <contact@kyren.codes> | 2026-09-29 23:30:49 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2026-09-29 23:30:49 +0300 |
| commit | c29a5f9ed70c318f673df46d66e6bccf422c7848 (patch) | |
| tree | 90464a8e516683a85e0a163d9405dc2be2c1845b | |
| parent | a4855757001c891a495462f603fab4659c49ddbc (diff) | |
Only hide markdown in world building dir
| -rw-r--r-- | .config/nvim/lua/plugins/oil.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.config/nvim/lua/plugins/oil.lua b/.config/nvim/lua/plugins/oil.lua index 4871ddb..0dddb2f 100644 --- a/.config/nvim/lua/plugins/oil.lua +++ b/.config/nvim/lua/plugins/oil.lua @@ -12,7 +12,7 @@ return { ['<C-l>'] = false, ['<C-k>'] = false, ['<C-j>'] = false, - ["<C-t>"] = false, + ['<C-t>'] = false, ['<M-h>'] = 'actions.select_split', ['<M-v>'] = 'actions.select_vsplit', ['<C-r>'] = 'actions.refresh', @@ -34,6 +34,13 @@ return { -- Set to "unmodified" to only save unmodified buffers autosave_changes = false, }, + + -- Buffer-local options to use for oil buffers + buf_options = { + buflisted = true, + bufhidden = 'hide', + }, + cleanup_delay_ms = false, }, cmd = 'Oil', event = 'VimEnter', |
