You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any realistic Emacs workflow inevitably comprises Rectangle operations.
We should be able to support at least the following Rectangle-related keybindings:
Keybinding
Description
C-x r r
Copy rectangle to register
C-x r k
Kill rectangle
C-x r y
Yank rectangle
C-x r o
Open rectangle, shifting text right
C-x r c
Blank out rectangle
C-x r t
Replace rectangle contents with string on each line
The text was updated successfully, but these errors were encountered:
Fix for issue hiro-sun#27.
The following operations are supported:
1. C-x r r Copy rectangle to register
2. C-x r i Insert rectangle from register
3. C-x r d Delete rectangle
4. C-x r k Kill rectangle
5. C-x r y Yank rectangle
6. C-x r o Open rectangle, shifting text right
7. C-x r c Blank out rectangle
8. C-x r t Replace rectangle contents with string on each line
Known issues:
Cursor movement(s). Above mentioned rectangle operations do differ
from Emacs as follows:
1. Cursor placement at the end of operation is different than Emacs'
The reason for that is setSelection's behavior inside the transaction
seems to be somewhat erratic, and using is somewhat complicated (and
not done at all for the moment).
TODO: This problem might be solvable on vscode-emacs side. INVESTIGATE!
2. Unlike Emacs, VSCode does not seem to treat cursor movement as
a part of transaction. Therefore, undo does not result in the same
cursor movement as with Emacs.
Any realistic Emacs workflow inevitably comprises Rectangle operations.
We should be able to support at least the following Rectangle-related keybindings:
C-x r r
C-x r k
C-x r y
C-x r o
C-x r c
C-x r t
The text was updated successfully, but these errors were encountered: