jano

Shortcuts

The keys you know from every other editor. Press F1 inside jano to see them at any time.

Files

KeysAction
Ctrl+SSave. A new file asks for a name first
Ctrl+QQuit. Asks first when there are unsaved changes
Ctrl+RRecover unsaved files after a crash

Editing

KeysAction
Ctrl+Z / Ctrl+YUndo / redo, the cursors come back too
Ctrl+X / Ctrl+C / Ctrl+VCut / copy / paste
Ctrl+ASelect all
Ctrl+Backspace / Ctrl+DeleteDelete the word before / after the cursor
Alt+Up / Alt+DownMove the line up / down
TabIndent, with spaces or a tab depending on your settings

Moving and selecting

KeysAction
Arrows, Home / End, PgUp / PgDnMove the cursor
Ctrl+Left / Ctrl+RightJump word by word
Shift + any of the aboveSelect
Ctrl+FSearch, live results. Tab switches to the replace field
Ctrl+GGo to a line number, or to the start or end

Multi-cursor

KeysAction
Ctrl+DSelect the word, then each next match. Every match gets a cursor
Ctrl+Shift+Up / Ctrl+Shift+DownAdd a cursor above / below. On Windows: Ctrl+Alt+Up / Ctrl+Alt+Down
EscBack to one cursor

Typing, deleting, copy and paste and autocomplete work at every cursor. Copy with three cursors and paste with three cursors, and each one gets its own part.

Autocomplete

KeysAction
Ctrl+Space or Ctrl+NShow suggestions
Tab / EnterTake the selected suggestion
EscClose the list

Suggestions come from the language plugin and from the words in the file. They also show up on their own while you type, you can turn that off in the settings.

Function keys

KeyAction
F1Help with every shortcut
F2History: every change of the session, jump back to any point
F3Format the file (needs a plugin that can format)
F4Diagnostics: errors and warnings the plugin found
F9Settings

Mouse

Click to place the cursor, double-click selects a word, triple-click a line. Drag to select, the view scrolls along at the edges. The scroll wheel scrolls.

On a Mac

jano uses Ctrl on macOS too, not Cmd: the terminal keeps the Cmd key for itself. Cmd+V still pastes, because the terminal hands the text to jano.

For Alt+Up / Alt+Down, the Option key has to reach jano. In Terminal.app turn on Use Option as Meta key (Settings › Profiles › Keyboard), in iTerm2 set Left Option key to Esc+ (Settings › Profiles › Keys).