Compare commits
No commits in common. "dfce2a68c4ee35db892043014636f2d762eb84e2" and "04de570926161cf47201322fae92168a7f07aa34" have entirely different histories.
dfce2a68c4
...
04de570926
|
@ -1,8 +0,0 @@
|
|||
local wk = require("which-key")
|
||||
local oil = require("oil")
|
||||
|
||||
local keys = {
|
||||
["-"] = { oil.open, "Open parent directory" },
|
||||
}
|
||||
|
||||
wk.register(keys)
|
|
@ -46,6 +46,7 @@ in
|
|||
vim-repeat # Enanche '.' for plugins
|
||||
vim-rsi # Readline mappings
|
||||
vim-unimpaired # Some ex command mappings
|
||||
vim-vinegar # Better netrw
|
||||
|
||||
# Languages
|
||||
rust-vim
|
||||
|
@ -84,7 +85,6 @@ in
|
|||
dressing-nvim # Integrate native UI hooks with Telescope etc...
|
||||
gitsigns-nvim # Fast git UI integration
|
||||
nvim-surround # Deal with pairs, now in Lua
|
||||
oil-nvim # Better alternative to NetrW
|
||||
telescope-fzf-native-nvim # Use 'fzf' fuzzy matching algorithm
|
||||
telescope-lsp-handlers-nvim # Use 'telescope' for various LSP actions
|
||||
telescope-nvim # Fuzzy finder interface
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
local oil = require("oil")
|
||||
local detail = false
|
||||
|
||||
oil.setup({
|
||||
view_options = {
|
||||
-- Show files and directories that start with "." by default
|
||||
show_hidden = true,
|
||||
-- But never '..'
|
||||
is_always_hidden = function(name, bufnr)
|
||||
return name == ".."
|
||||
end,
|
||||
},
|
||||
keymaps = {
|
||||
["gd"] = {
|
||||
desc = "Toggle file detail view",
|
||||
callback = function()
|
||||
detail = not detail
|
||||
if detail then
|
||||
oil.set_columns({ "icon", "permissions", "size", "mtime" })
|
||||
else
|
||||
oil.set_columns({ "icon" })
|
||||
end
|
||||
end,
|
||||
},
|
||||
},
|
||||
})
|
Loading…
Reference in a new issue