Compare commits
3 commits
9c8ef71689
...
380ca69046
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
380ca69046 | ||
|
|
7c6161c6ac | ||
|
|
9385589aeb |
1 changed files with 15 additions and 0 deletions
|
|
@ -11,6 +11,21 @@
|
||||||
require("mini.icons").mock_nvim_web_devicons()
|
require("mini.icons").mock_nvim_web_devicons()
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
luaConfigRC.mini-files-close-on-open = ''
|
||||||
|
vim.api.nvim_create_autocmd("User", {
|
||||||
|
pattern = "MiniFilesBufferCreate",
|
||||||
|
callback = function(args)
|
||||||
|
local map = function(key)
|
||||||
|
vim.keymap.set("n", key, function()
|
||||||
|
MiniFiles.go_in({ close_on_file = true })
|
||||||
|
end, { buffer = args.data.buf_id })
|
||||||
|
end
|
||||||
|
map("l")
|
||||||
|
map("<CR>")
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
'';
|
||||||
|
|
||||||
binds.whichKey = {
|
binds.whichKey = {
|
||||||
enable = true;
|
enable = true;
|
||||||
setupOpts.delay = 300;
|
setupOpts.delay = 300;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue