Vim incompatibilities

From Yzis Wiki

Jump to: navigation, search

This page references all known incompatibilities with Vi and Vim.

Please, don't bother us with 'why this command does not work like Vim does ?' before checking the mailing lists archives.

normal mode

Command Vim behaviour Yzis behaviour
'4o' adds a line after the current line, go there, and enter edit mode.

Copy newly added line 3 times when edit mode is left.

adds four lines after the current line, go there, and enter edit mode
'2d$' erase from current position to the end of the line erase from current position to the end of the next line
'Y' yank the whole line yank from cursor to the end of the line
'q' and '@' you do qa and @a to record / play a macro you do "aq and "a@ to record / play a macro, as with other commands related to register
'U' redo not implemented in yzis


insert mode

Command Vim behaviour Yzis behaviour
CTRL-U Quite complicated (see ':help i_^U'). Most importantly, if you enter insert mode, type some text without moving the cursor, and do ^U, then it will delete what you've just typed (a kind of delete). Current implementation in yzis will always delete until the beginning of the line


Options

Option Vim behaviour Yzis behaviour
'tabstop' this option is set for a buffer and all views associated this option is set for each view