home: vim: migrate to 'oil.nvim'
This commit is contained in:
parent
04de570926
commit
b0379f138e
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)
|
|
@ -46,7 +46,6 @@ in
|
||||||
vim-repeat # Enanche '.' for plugins
|
vim-repeat # Enanche '.' for plugins
|
||||||
vim-rsi # Readline mappings
|
vim-rsi # Readline mappings
|
||||||
vim-unimpaired # Some ex command mappings
|
vim-unimpaired # Some ex command mappings
|
||||||
vim-vinegar # Better netrw
|
|
||||||
|
|
||||||
# Languages
|
# Languages
|
||||||
rust-vim
|
rust-vim
|
||||||
|
@ -85,6 +84,7 @@ in
|
||||||
dressing-nvim # Integrate native UI hooks with Telescope etc...
|
dressing-nvim # Integrate native UI hooks with Telescope etc...
|
||||||
gitsigns-nvim # Fast git UI integration
|
gitsigns-nvim # Fast git UI integration
|
||||||
nvim-surround # Deal with pairs, now in Lua
|
nvim-surround # Deal with pairs, now in Lua
|
||||||
|
oil-nvim # Better alternative to NetrW
|
||||||
telescope-fzf-native-nvim # Use 'fzf' fuzzy matching algorithm
|
telescope-fzf-native-nvim # Use 'fzf' fuzzy matching algorithm
|
||||||
telescope-lsp-handlers-nvim # Use 'telescope' for various LSP actions
|
telescope-lsp-handlers-nvim # Use 'telescope' for various LSP actions
|
||||||
telescope-nvim # Fuzzy finder interface
|
telescope-nvim # Fuzzy finder interface
|
||||||
|
|
3
modules/home/vim/plugin/settings/oil.lua
Normal file
3
modules/home/vim/plugin/settings/oil.lua
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
local oil = require("oil")
|
||||||
|
|
||||||
|
oil.setup()
|
Loading…
Reference in a new issue