mirror of
https://github.com/youwen5/neovim-flake.git
synced 2024-11-28 12:13:51 -08:00
feat: set keybinds manually in oil and optimize keybinds
This commit is contained in:
parent
d1db93ef00
commit
9832d50fde
1 changed files with 17 additions and 3 deletions
|
@ -49,11 +49,25 @@
|
||||||
});
|
});
|
||||||
settings = {
|
settings = {
|
||||||
keymaps = {
|
keymaps = {
|
||||||
"." = "actions.parent";
|
"J" = "actions.parent";
|
||||||
"-" = "";
|
|
||||||
"<C-c>" = "";
|
|
||||||
"Q" = "actions.close";
|
"Q" = "actions.close";
|
||||||
|
"<C-h>" = "actions.select_split";
|
||||||
|
"<C-l>" = "actions.refresh";
|
||||||
|
"<C-p>" = "actions.preview";
|
||||||
|
"<C-s>" = "actions.select_vsplit";
|
||||||
|
"<C-t>" = "actions.select_tab";
|
||||||
|
"<CR>" = "actions.select";
|
||||||
|
"K" = "actions.select";
|
||||||
|
_ = "actions.open_cwd";
|
||||||
|
"`" = "actions.cd";
|
||||||
|
"g." = "actions.toggle_hidden";
|
||||||
|
"g?" = "actions.show_help";
|
||||||
|
"g\\" = "actions.toggle_trash";
|
||||||
|
gs = "actions.change_sort";
|
||||||
|
gx = "actions.open_external";
|
||||||
|
"~" = "actions.tcd";
|
||||||
};
|
};
|
||||||
|
use_default_keymaps = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
harpoon = {
|
harpoon = {
|
||||||
|
|
Loading…
Reference in a new issue