- Normal: navigation and editing.
When you open a file in Komodo with the Vi scheme enabled, you start off
in command mode. Keystrokes in this mode control movement, deletion,
cutting, pasting and other standard editing commands that are generally
mapped to Ctrl and Alt key combinations in other schemes.
- Input: entering text.
Hitting an "input" command key in Normal mode (i.e. 'i'
to insert, 'a' to append, or 'o' to open a
new line and insert) puts the editor into Input mode. Keystrokes in this
mode enter text. Use the 'Esc' key to exit into Normal mode.
- Visual: visual selection of text with
navigation keystrokes.
Similar to Vim's visual modes. Entering 'v'
enables selection by character, 'V' enables
linewise selection, and 'Ctrl'+'v'
enables blockwise selection. Navigation keystrokes within these
modes expand and contract the selection area. Use the 'Esc' key to
exit into Normal mode.
- Command-line: running vi/ex commands.
In Normal mode, entering ':' opens a text box
for entering Vi commands. Only a small subset of Vi commands have
been implemented in the default Vi scheme, however you can add
additional commands by creating a Toolbox folder named Vi
Commands, then creating Macros with the name of the
desired command. The macro is executed when you type it's name in
the Vi command text box.
The default Vi scheme is based on the Default scheme (which varies
slightly between platforms) and includes all Default keybindings which
do not conflict with those used in Vi emulation. To view the list of key
bindings for your current scheme, select Help|List Key
Bindings. The following are key bindings which are unique to
the Vi scheme.
Cancel | |
Cut One Character | |
Cut One Character to Left | |
Cut to End of Line and Enter Insert Mode | |
Delete the Current Character and Enter Insert Mode | |
Deletes from cursor to end of line. | |
Enter Insert Mode | |
Enter Insert Mode after the Cursor Position | |
Enter Insert Mode at Start of the Line | |
Enter Insert mode at the End of the Current Line | |
Enter command mode | |
Enter visual block mode | |
Enter visual character mode | |
Enter visual line mode | |
Go to Next Line | |
Go to Previous Line | |
Goto Line | |
Join current and next lines | |
Move Left One Character | |
Move One Word Left | |
Move Right One Character | |
Move To End of Word To Right | |
Move To Start of Word To Right | |
Move one page down | |
Move one page up | |
Move one word left, past any punctuation | |
Move one word right, past any punctuation | |
Move to Beginning of Line (first visible char/first column) | |
Move to Beginning of the Current Line | |
Move to Beginning of the Previous Line | |
Move to End of Current Line | |
Move to end of word to the right, past any punctuation | |
Move to the Beginning of the Paragraph | |
Move to the Beginning of the Section | |
Move to the Beginning of the Sentence | |
Move to the Bottom of the Screen | |
Move to the Center of the Screen | |
Move to the End of the Paragraph | |
Move to the End of the Section | |
Move to the End of the Sentence | |
Move to the Top of the Screen | |
New Line Starting After the Current Line | |
New Line Starting Before the Current Line | |
Paste | |
Paste After | |
Redo | |
Repeat the last command again | |
Replace characters with the ones that are typed | |
Replace the current char with the next typed character | |
Scroll One Line Down | |
Scroll One Line Up | |
Search for the Next Occurance of the Word at the Current Cursor Position | |
Search for the Previous Occurance of the Word at the Current Cursor Position | |
Start Change Text Operation | |
Start Delete Text Operation | |
Start Yank Text Operation | |
Swap the current character's case. | |
Undo | |
Enter Search Backwards | |
Enter Search Forward | |
Find Next Pattern | |
Find Previous Pattern | |
Find the Character Typed, After Cursor in Current Line | |
Find the Character Typed, Before Cursor in Current Line | |
Decrease Line Indent | |
Increase Line Indent | |
Jump to Matching Brace | |