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

Improving vim mode #504

Closed
jimzenn opened this issue Mar 8, 2016 · 4 comments
Closed

Improving vim mode #504

jimzenn opened this issue Mar 8, 2016 · 4 comments

Comments

@jimzenn
Copy link

jimzenn commented Mar 8, 2016

Including vim mode is really great and I'm surprised that it's so complete. However, there's still some small functions I think can be improved:
in vim mode:

  • Can "/" be mapped to command + F, i.e. search, and "n" & "N" also be mapped correspondingly?
  • Can there be a simple indicator (a basic one will do, with current mode and instruction inputted)?
  • Line number is important in vim when you want to jump from line to line, can there be an option to show line number?
@dkarter
Copy link

dkarter commented Mar 9, 2016

In 3.0.2 (82) (beta that can be found somewhere here in the issues and is scheduled to be released) the following works:

  • Can search with / and jump between results with n:
    search
  • Can run some commands (like replace):
    replace
  • Jump to a specific line number:
    jump
  • You can get line numbers by switching to a code cell and setting the language to text (no highlighting - as in above gif)
  • For indication of current mode
    • normal mode: cursor is a red block
    • visual mode: selection appears
    • insert mode: cursor turns into a pipe instead of block

@dkarter
Copy link

dkarter commented Mar 9, 2016

For instruction inputted you can use something like Keycastr (as in above gifs):
https://github.com/keycastr/keycastr

@dkarter
Copy link

dkarter commented Mar 9, 2016

All credits are due to @ylian and the Ace editor team. Feel free to close the issue if all the above satisfy your requirements.

@jimzenn
Copy link
Author

jimzenn commented Mar 9, 2016

Great job. Glad to hear that!

@jimzenn jimzenn closed this as completed Mar 9, 2016
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