Skip to content

eze-kiel/tide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tide

A tool to $(echo "tide" | rev) code

Warning

This project is in early development and is probably buggy as hell.

Usage

Build

  • As there's no CI yet, you need to build the binary manually. go is required.
$ go build -o build/tide .
  • Then you can copy the binary somewhere in your path:
$ cp ./build/tide /<in your $PATH>/tide

Run

$ tide [options] [filename]

Options

  -autosave-on-switch
    	enable autosave when switching modes
  -color-theme string
    	set color theme (can be 'dark', 'light', 'valensole') (default "dark")

Shortcuts

Visual mode

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

Insert mode

Shortcut Action
Esc Switch to Visual Mode (and autosave if enabled)

Commands

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

License

MIT

About

my own text editor

Resources

Stars

Watchers

Forks

Contributors

Languages