-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support the expression register #4383
Labels
Milestone
Comments
This is called the "expression register" |
J-Fields
changed the title
Adding Basic calculations using integers and float numbers like in Vim
Support the expression register
Apr 15, 2020
J-Fields
added a commit
that referenced
this issue
Oct 21, 2021
This removes a lot of code duplication, creates a better abstraction, makes testing easier, and lays the groundwork for some features like: - `:s` and similar commands working with `hlsearch` (#4934) - The expression register (#4383) - Better `incsearch` support (#4837) The central change here is to take various pieces of global state which were scattered and throughout the project and bring them together, localizing them where possible to an object (`CommandLine`) held by `VimState` (this naturally fixes #7038). This applies to both ex commands and the search command line, which means we finally have a uniform interface for them!
I think it works partially with neovim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
In vim it is possible to to basic calculations using intergs and float numbers
Describe the solution you'd like
This is the command in normal Vim(insert mode)
CTRL-R followed by = then, for example, 2+2 and press Enter.
The result 4 will be inserted into the document.
Thank you for providing an awesome extension
The text was updated successfully, but these errors were encountered: