-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enter into folder remap to 'l' #103
Comments
Thanks! I nevertheless generally agree. My idea was coinciding overhauling mappings (cf #65) with additional features (integrated terminal previewer, toggling file size, time last editted, these sorts of things), though I'm focused on other things atm because for my usage the plugin just works well enough already. So it might take some more time when I'm more free. |
ok I did not checked the pull requests. Good to see u agree with these suggestions. closing this then. |
Is there any plan to merge the PR, not sure why my remapping did not work. local actions = require "telescope.actions"
local fb_actions = require("telescope").extensions.file_browser.actions
file_browser = {
hidden = true,
hijack_netrw = true,
grouped = true,
select_buffer = true,
sorting_strategy = "ascending",
initial_mode = "normal",
default_selection_index = 2,
mappings = {
i = {
["<C-h>"] = fb_actions.goto_parent_dir,
["<C-l>"] = actions.select_default,
["<C-H>"] = fb_actions.toggle_hidden,
},
n = {
["h"] = fb_actions.goto_parent_dir,
["l"] = actions.select_default,
["H"] = fb_actions.toggle_hidden,
-- your custom normal mode mappings
},
},
},
|
No, we're encourage users to tweak mappings to fit their needs and generally avoid tweaking the default mappings. |
Is your feature request related to a problem? Please describe.
Often in other file browsers
h
andl
are mapped to go up and enter into folder respectively.Describe the solution you'd like
where :
local actions = require "telescope.actions"
Not a big change but this helped me move into tele- file browser. Grat pugin btw.
The text was updated successfully, but these errors were encountered: