home: vim: migrate to 'oil.nvim'
This commit is contained in:
parent
04de570926
commit
c2723363ec
4 changed files with 12 additions and 7 deletions
|
|
@ -1,6 +0,0 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Don't show Netrw in buffer list
|
||||
setlocal bufhidden=delete
|
||||
let b:undo_ftplugin='|setlocal bufhidden<'
|
||||
8
modules/home/vim/after/plugin/mappings/oil.lua
Normal file
8
modules/home/vim/after/plugin/mappings/oil.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
local wk = require("which-key")
|
||||
local oil = require("oil")
|
||||
|
||||
local keys = {
|
||||
["-"] = { oil.open, "Open parent directory" },
|
||||
}
|
||||
|
||||
wk.register(keys)
|
||||
Loading…
Add table
Add a link
Reference in a new issue