An open API service indexing awesome lists of open source software.

https://github.com/pouyakary/moves

🧀 Moves your cursor under the columns in the above line
https://github.com/pouyakary/moves

column cursor cursor-alignment indentation vscode vscode-extension

Last synced: over 1 year ago
JSON representation

🧀 Moves your cursor under the columns in the above line

Awesome Lists containing this project

README

          

# Moves

With â¤ī¸ by Dragon's Lover.

Moves gives you the ability to move your cursor based on the columns
identified in the lines above. Which makes aligning codes much easier
if you the formatter doesn't support it.

This is a demo showing the Moves, detecting the columns in the line
1 and stopping the cursor in line 3 according to them:

![](https://user-images.githubusercontent.com/2157285/197640137-136e7db6-7087-4dd0-a7e3-cb2db323d35c.gif)

And in this demo, Moves let's the author write the comment in two
visual vertical columns with a lots of space between them.
(Imagine writing the white space by hand...)

![](https://user-images.githubusercontent.com/2157285/197640142-8edbddc5-7364-45fa-9bc1-48c92765292b.gif)



## Commands

| Cursor Anchoring Movement Commands | macOS | Linux and Windows |
| :----------------------------------------- | :----------------------------- | :-------------------------- |
| đŸ•šī¸ Move Cursor under Next Column Above | `option` + `command` + `right` | `alt` + `windows` + `right` |
| đŸ•šī¸ Move Cursor over Next Column Below | `control` + `option` + `right` | `control` + `alt` + `right` |
| đŸ•šī¸ Move Cursor under Previous Column Above | `option` + `command` + `left` | `alt` + `windows` + `left` |
| đŸ•šī¸ Move Cursor over Previous Column Below | `control` + `option` + `left` | `control` + `alt` + `left` |


| Multiline Cursor Commands | macOS | Linux and Windows |
| :---------------------------------- | :------------------------- | :---------------------- |
| đŸ—œī¸ Add Cursor to all Neighbor Lines | `command` + `option` + `a` | `windows` + `alt` + `a` |