Add oilnvim

This commit is contained in:
Brad 2024-04-17 07:03:14 -04:00
parent da6943bdbb
commit dfa17c7189
2 changed files with 14 additions and 0 deletions

View file

@ -175,6 +175,9 @@ vim.opt.scrolloff = 10
-- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()`
-- oil.nvim keyman
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' })
-- Set highlight on search, but clear on pressing <Esc> in normal mode
vim.opt.hlsearch = true
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')