Skip to content

Conversation

@ThomasFaivre
Copy link

Hi!

Just dropping this here. I made a small enhancement to allow more precision in the mapping.

A new variable named cursormode_mode_func is used to store the function
returning the current mode. This allows more customization in the
mapping.
The default value is the built-in mode function so there is no change in
behavior.
Add example in README.

Inspired from Airline [1] mode section.

A new variable named cursormode_mode_func is used to store the function
returning the current mode. This allows more customization in the
mapping.
The default value is the built-in mode function so there is no change in
behavior.
Add example in README.

[1] https://github.com/vim-airline/vim-airline

Signed-off-by: Thomas Faivre <thomas.faivre@6wind.com>
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

Successfully merging this pull request may close these issues.

1 participant