Skip to content
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

List available modes in documentation #254

Open
adigitoleo opened this issue Apr 8, 2022 · 2 comments
Open

List available modes in documentation #254

adigitoleo opened this issue Apr 8, 2022 · 2 comments

Comments

@adigitoleo
Copy link

It would be convenient for users to have a list of available modes to help when setting up custom bindings.

From looking at the tree, I think the current modes are:

insert
jump
search
search_insert
select
select_line
search_select
search_select_line
path
confirm

Where confirm mode is the "command mode" like when in a file search prompt. I have successfully used these for directives in my config, but I don't know for sure what all of them imply. Unless new modes are planned, I think it is worth putting these in the docs (also in the offline help).


Thank you for creating the project. I applaud the focus on simplicity. For me, I need to change some of the bindings to accommodate my vim habits, hence this issue.

@jmacdonald
Copy link
Owner

👋🏼 Hi there! I'm hoping the default keymap callout in the key bindings section of the manual is enough to cover that. It's a pretty convenient method that shows all of the modes and their respective bindings.

@adigitoleo
Copy link
Author

Yes, I suppose application::display_default_keymap does show these names as section headers. Perhaps in addition to the indentation, these headers could be highlighted in some way, e.g. with ascii underlines or something. But that's just a nitpick at this point. I'd also mention that method in the offline help if possible (the one that shows up when you press ?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants