NAME

Text::Editor::Vip::Buffer::Plugins::Movements- Add movement commands to Vip::Buffer

SYNOPSIS

use Text::Editor::Vip::Buffer

DESCRIPTION

Add movement commands to Vip::Buffer. The commands use tab and a virtual buffer

FUNCTIONS

SetModificationPositionAtSelectionStart

GetFirstNonSpacePosition

Finds the first non space position at the line argument or the current line if line is not passed.

MoveToTopOfBuffer

Clears the buffer and Sets the modification position at 0,0.

MoveToEndOfBuffer

Clears the selection and sets the modification position after the last character of the last line.

MoveToEndOfLine

Moves to the end of the line or the end of the selection if any.

MoveToEndOfSelectionNoClear

Moves the modification to the end of the selection without clearing the selection.

MoveToEndOfLineNoSelectionClear

Moves to the end of the current line without clearing the selection (if any).

MoveHome

Moves the modification position to the begining of the line or to the first word (jumping frog style)

MoveToStartOfSelectionNoClear

Sets the modification position at the start of the selection, if any, without clearing the selection.

MoveLeft

Moves left, clearing the selection if any.

MoveLeftNoSelectionClear

Moves left, no selection clearing is done.

MoveRight

Moves Right, clearing the selection if any.

MoveRightNoSelectionClear

Moves right without clearing the selection.

MoveUp

Moves up, clearing the selection.

MoveUpNoSelectionClear

Moves up, without clearing the selection.

MoveDown

Moves the modification position down, clearing the selection.

MoveDownNoSelectionClear

Moves the modification position down, without clearing the selection. Moves to the end of the selection if any.

MoveToBeginingOfWord

Moves the modification position to the begining of the current word, clearing the selection.

MoveToBeginingOfWordNoSelectionClear

Moves the modification position to the begining of the current word, without clearing the selection. Return 'true' if the modification position was changed, 'false' if there was no current word.

MoveToEndOfWord

Moves the modification position to the end of the current word, clearing the selection.

MoveToEndOfWordNoSelectionClear

Moves the modification position to the end of the current word, without clearing the selection. Return 'true' if the modification position was changed, 'false' if there was no current word.

MoveToNextWord

Sets the modification position at the begining of the next word, potentialy on another line, and clears the selection.

MoveToNextWordNoSelectionClear

Sets the modification position at the begining of the next word, potentialy on another line, without clearing the selection.

MoveToPreviousWord

Sets the modification position at the begining of the previous word, potentialy on another line, and clears the selection.

MoveToPreviousWordNoSelectionClear

Sets the modification position at the begining of the previous word, potentialy on another line, without clearing the selection.

AUTHOR

Khemir Nadim ibn Hamouda
CPAN ID: NKH
mailto:nadim@khemir.net
http:// no web site

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.