PLAIN mode
Here are listed the commonly used keyboard bindings defined in the
file ui_fte.fte. For complete list of defined keys see ui_fte.fte.
PLAIN mode is the default mode used for editing files.
All other modes inherit all definitions from this mode.
Cursor Movement Commands
- Left
- Move cursor left one character.
- Right
- Move cursor right one character.
- Up
- Move cursor up one line.
- Down
- Move cursor down one line.
- Ctrl+Left
- Move cursor to the beginning of previous word.
- Ctrl+Right
- Move cursor to the beginning of next word.
- Home
- Move cursor to the beginning of current line.
- End
- Move cursor to the end of current line.
- Ctrl+Home
- Move cursor to the top of the window.
- Ctrl+End
- Move cursor to the bottom of the window.
- Ctrl+PgUp
- Move cursor to the beginning of the file.
- Ctrl+PgDn
- Move cursor to the end of the file.
Shift key can be used with all of the above keys to mark or extend
blocks of text.
Editing Commands
- Tab
- Insert a tab character or spaces to next tab stop.
- Enter
- Add new line after the current line and move to the beginning of it.
- Ctrl+Enter
- Split current line at cursor position.
- Shift+Enter
- Insert a new line before current one.
- Alt+Enter
- Add a new line after the current one.
- BackSpace
- Delete character before cursor. At the beginning of line, join
current line with the previous one.
- Delete
- Delete character under cursor. At the end of line or beyond, join
the current line with the next one.
- Ctrl+BackSpace
- Delete to the beginning of word.
- Ctrl+T
- Delete to the end of word.
- Ctrl+Y
- Delete current line.
- Ctrl+J
- Join current line with next one.
- Alt+BackSpace
- Undo
- Alt+Shift+BackSpace
- Redo
Block Commands
- Esc
- Unmark current block.
- Ctrl+Ins
- Copy marked block to clipboard.
- Shift+Del
- Delete marked block to clipboard.
- Shift+Ins
- Paste clipboard at cursor as stream block.
- Alt+Ins
- Paste clipboard at cursor as column block.
- Ctrl+Del
- Delete marked block
- Alt+U
- Unindent block by one character.
- Alt+I
- Indent block by one character.
- Alt+A
- Start marking a stream block.
- Alt+L
- Start marking a line block.
- Alt+K
- Start marking a column block.
Search Commands
- Ctrl+S
- Start incremental search
- Ctrl+F
- Search for a string with options
- Ctrl+R
- Find & Replace string with options
- Ctrl+L
- Repeat last find
- Ctrl+B
- Repeat last find in reverse direction
- Ctrl+N
- Repeat last find once
- Alt+J
- Goto line
- Ctrl+C
- Goto column
- Alt+-
- Search for matching {}[]().
- Ctrl+P 0-9
- Place a bookmark (from 0 to 9).
- Ctrl+A 0-9
- Goto bookmark (from 0 to 9).
File Commands
- F2
- Save a file.
- Shift+F2
- Save a file under a new name.
- F3
- Open a file.
- Shift+F3
- Reload a file.
- Alt+Right
- Switch to next loaded file.
- Alt+Left
- Switch to previous loaded file.
- Alt+Q
- Close current file.
- Alt+0
- Display buffer list.
- Alt+1 - Alt+9
- Switch to file with specified number. Numbers are displayed on the right
side of the status line or in the first column in buffer list.
Other Commands
- Ctrl+Q
- Quote next character
C mode
C mode redefines some keys to automatically indent source code.
- Tab
- Reindent current line.
- Alt+\
- Reindent marked block
- {, }, ), ], :, #
- Reindent current line.
- Enter
- Add a line, move to next line and indent.
- Alt+Enter
- Add a line and indent.
- Shift+Enter
- Insert a blank line and move to proper indentation level.