aboutsummaryrefslogtreecommitdiff
path: root/vis-modes.c
AgeCommit message (Collapse)AuthorFilesLines
2015-11-28vis: add namespace prefix for MARK_SELECTION_{START,END}Marc André Tanner1-4/+4
2015-11-28vis: improve switching to prompt modeMarc André Tanner1-6/+20
A call to vis_prompt_show will now automatically switch to prompt mode. Within the prompt leave/enter handlers the focused window (vis->win) will still point to the document window not the one referring to the prompt. The selection marks '< and '> are now only updated when a visual mode is left.
2015-11-27vis: implement filter operator !Marc André Tanner1-0/+2
It currently works by switching to visual mode and then opening the command prompt with a default range which refers to the currently active selection.
2015-11-08vis: reindent config.def.h (no functional changes)Marc André Tanner1-36/+1
2015-11-07vis: shadow default register while in prompt modeMarc André Tanner1-2/+11
Editing operation in prompt mode should not affect the default register.
2015-11-07vis: prefix enum VisMotion values with VIS_Marc André Tanner1-1/+1
2015-11-07vis: prefix enum VisOperator values with VIS_Marc André Tanner1-2/+2
2015-11-07vis: API documentation and cleanupMarc André Tanner1-6/+6
2015-11-07vis: introduce vis_cancel APIMarc André Tanner1-3/+3
2015-11-07vis: move modes into separate fileMarc André Tanner1-0/+281