keymap netrw

This commit is contained in:
Joel Lau 2024-02-15 23:55:55 +08:00 committed by Joel Lau
parent 6e43c7e2d0
commit c403ca0e1a
No known key found for this signature in database
GPG Key ID: C2A155B2D3A77578
1 changed files with 3 additions and 0 deletions

View File

@ -417,6 +417,9 @@ vim.o.termguicolors = true
-- [[ Basic Keymaps ]]
-- Open NetRW
vim.keymap.set('n', '<leader>o-', vim.cmd.Explore, { desc = '[O]pen [-]Directory' })
-- Keymaps for better default experience
-- See `:help vim.keymap.set()`
vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true })