A tool to $(echo "tide" | rev) code
Warning
This project is in early development and is probably buggy as hell.
- As there's no CI yet, you need to build the binary manually.
gois required.
$ go build -o build/tide .
- Then you can copy the binary somewhere in your path:
$ cp ./build/tide /<in your $PATH>/tide
$ tide [options] [filename]
-autosave-on-switch
enable autosave when switching modes
-color-theme string
set color theme (can be 'dark', 'light', 'valensole') (default "dark")
| Shortcut | Action |
|---|---|
| : | Open the command menu |
| I | Start inserting (switch to Insert mode) |
| H | Move the cursor to the beginning of the line |
| L | Move the cursor to the end of the line |
| T | Move the cursor to the top of the file |
| E | Move the cursor to the end of the file |
| O | Insert a new line under the cursor |
| Shift+O | Insert a new line above the cursor |
| R + any char | Replace the char under the cursor |
| D | No selection: delete the char under the cursor |
| D | Selection: delete the selection |
| X | Select current line |
| A | Cancel selection |
| Y | Put selection to the clipboard |
| P | Paste selection under |
| U | Undo last change |
| Ctrl+C | Toggle comment on the line |
| Ctrl+D | Fast jump downward |
| Ctrl+U | Fast jump upward |
| Shortcut | Action |
|---|---|
| Esc | Switch to Visual Mode (and autosave if enabled) |
| Command | Action |
|---|---|
q, quit |
Quit the editor |
q!, quit!, qq |
Force quit the editor |
w [file], write [file] |
Write changes to file |
wq [file], x [file] |
Write changes to file and quit the editor |
MIT
