chadtree icon indicating copy to clipboard operation
chadtree copied to clipboard

Remap shortcut keys

Open LilMonk opened this issue 4 years ago • 9 comments

Can you make '?' to show all the available shortcut keys that can be used inside CHADTree. And also can you make ijkl keys to travel through folders vertically as well as horizontally. Can you provide us a .json file to remap all the key values. And can you make a menu as we get in nerdtree.

LilMonk avatar Jan 29 '21 07:01 LilMonk

https://github.com/ms-jpq/chadtree/blob/chad/docs/KEYBIND.md

ms-jpq avatar Jan 29 '21 08:01 ms-jpq

:CHADhelp keybind will show you everything.

all your configuration defaults are here too, like it says in the docs:

https://github.com/ms-jpq/chadtree/blob/chad/config/defaults.yml

ms-jpq avatar Jan 29 '21 08:01 ms-jpq

Well I have read the docs already. I know that we have :CHADhelp keybind. I'm suggesting that it would be nice to see all the key mapping inside the vim like we do in nerd tree with the help of '?' key. Have you tried coc-explorer. I like the way it navigates. Can you do something like that. I primarily came here because CHADTree seem faster to me. It's just a feature suggestion that I request.

LilMonk avatar Jan 29 '21 11:01 LilMonk

I never used coc-explorer, can you describe how you want me to do it?

And also can you make ijkl keys to travel through folders vertically as well as horizontally

You can rebind the keys. I dont want to fuck with people's existing keybindings with a random update.

ms-jpq avatar Jan 29 '21 11:01 ms-jpq

I wanted to keep the mouse at the left edge and with the help of 'h' and 'l' i would expand and close the folder without actually going into the folder and 'j' and 'k' would be for the up-down movement. I figured out that 'enter' key does the work of expansion and closing of the folder. If the cursor is restricted to the left edge of the editor it will feel more like a menu rather than another editor pane open. It is my personal suggestion.

LilMonk avatar Jan 29 '21 12:01 LilMonk

I just realized I can add an option and call it fluid_control or some shit. doesn't have to conflict with existing controls.

What you suggested is a good idea

ms-jpq avatar Jan 29 '21 12:01 ms-jpq

I was about to request the same feature. Any updates on it?

Chaitanyabsprip avatar Feb 05 '21 16:02 Chaitanyabsprip

umm, I think this is one of those "nice to have" features, Ill have it a lil down on the priority list.

anyways, Ill be busy for the next little bit, and I have some higher priority things to do for this project

ms-jpq avatar Feb 08 '21 19:02 ms-jpq