-
Notifications
You must be signed in to change notification settings - Fork 2k
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
vim-mode support for marks #5122
Comments
Apologies for not seeing this note about reporting missing Vim commands.
I guess my request would then be for a minimal implementation in the short term if full support is going to take a long time. |
The vim mode is always troublesome and time consuming to implement one function at a time. I wonder if it is possible to use ready-made vim as a backend to support all the features, like something like https://github.com/vscode-neovim/vscode-neovim, which of course can be done better as an editor |
I disagree with this... doing a ready-made drop-in Vim or Neovim implementation would force adaptation of all existing UI patterns in vim/neovim to Zed, whereas they may want it to be written in Rust and native to the editor. |
Release Notes: - vim: Added support for buffer-local marks (`'a-'z`) and some builtin marks `'<`,`'>`,`'[`,`']`, `'{`, `'}` and `^`. Global marks (`'A-'Z`), and other builtin marks (`'0-'9`, `'(`, `')`, `''`, `'.`, `'"`) are not yet implemented. (#5122) --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Release Notes: - vim: Added support for buffer-local marks (`'a-'z`) and some builtin marks `'<`,`'>`,`'[`,`']`, `'{`, `'}` and `^`. Global marks (`'A-'Z`), and other builtin marks (`'0-'9`, `'(`, `')`, `''`, `'.`, `'"`) are not yet implemented. (zed-industries#5122) --------- Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Check for existing issues
Is your feature request related to a problem?
Marks are a very powerful feature of Vim that allows quick navigation between multiple points in a file (or even across files). Not only do I use them frequently but they are a core feature of Vim so should probably be included eventually.
Describe the solution you'd like
Ideally full support (see https://vimhelp.org/motion.txt.html#mark) or as close to full support as Zed's framework will allow.
A minimally useful subset initially would be the ability to set local marks and move between them:
If applicable, add mockups / screenshots to help present your vision of the feature
The Vim documentation describes the feature better than I can.
The text was updated successfully, but these errors were encountered: