Skip to content

Commit

Permalink
feat: oil.nvim to edit the filesystem as a buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed May 17, 2024
1 parent edd78f6 commit 4e3e3ab
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions lua/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,26 @@ return {
opts = { signs = false },
},

{ -- edit the file system as a buffer
'stevearc/oil.nvim',
opts = {
keymaps = {
['<C-s>'] = false,
['<C-h>'] = false,
['<C-l>'] = false,
},
view_options = {
show_hidden = true,
},
},
dependencies = { 'nvim-tree/nvim-web-devicons' },
keys = {
{ '-', ':Oil<cr>', desc = 'oil' },
{ '<leader>ef', ':Oil<cr>', desc = 'edit [f]iles' },
},
cmd = 'Oil',
},

{ -- statusline
-- PERF: I found this to slow down the editor
'nvim-lualine/lualine.nvim',
Expand Down

0 comments on commit 4e3e3ab

Please sign in to comment.