feat: set keybinds manually in oil and optimize keybinds

This commit is contained in:
Youwen Wu 2024-09-17 02:07:12 -07:00
parent d1db93ef00
commit 9832d50fde
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -49,11 +49,25 @@
});
settings = {
keymaps = {
"." = "actions.parent";
"-" = "";
"<C-c>" = "";
"J" = "actions.parent";
"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 = {