pub enum Mark {
BufferLastExited,
BufferNamed(char),
GlobalLastExited(usize),
GlobalNamed(char),
LastChanged,
LastInserted,
LastJump,
VisualBegin,
VisualEnd,
LastYankedBegin,
LastYankedEnd,
}Expand description
Saved cursor positions.
Variants§
BufferLastExited
The position of the cursor in the current buffer when it last exited.
For example, '" in Vim.
BufferNamed(char)
A user-named position in the current buffer.
For example, '[a-z] in Vim.
GlobalLastExited(usize)
The position of the current when the application was previously exited.
Index 0 is the cursor position the last time the application exited, 1 the position the second most recent exit, and so on.
For example, '[0-9] in Vim.
GlobalNamed(char)
A global, user-named position in some buffer known to the application.
For example, '[A-Z] in Vim.
LastChanged
The cursor position where the last change was made.
For example, '. in Vim.
LastInserted
The cursor position where the last text was inserted.
For example, '^ in Vim.
LastJump
The cursor position before the latest jump.
For example, '' and '` in Vim.
VisualBegin
The position of the beginning of the last text selection.
For example, '< in Vim.
VisualEnd
The position of the end of the last text selection.
For example, '> in Vim.
LastYankedBegin
The position of the beginning of the last yanked text.
For example, '[ in Vim.
LastYankedEnd
The position of the end of the last yanked text.
For example, '] in Vim.