summaryrefslogtreecommitdiff
path: root/text-motions.c
AgeCommit message (Collapse)Author
2015-07-28text-motion: introduce text_line_char_{get,set}Marc André Tanner
2015-07-28text-motion: add functions to iterate over lines of a rangeMarc André Tanner
2015-07-24text-motion: introduce text_line_{up,down}Marc André Tanner
2015-07-03Add movements to next/previous character within same lineMarc André Tanner
These movements always keep the cursor on the same line and do not move over newlines.
2015-04-21Clean up to/till movementsMarc André Tanner
2015-04-10Highlight matching cursor symbolMarc André Tanner
2015-01-13Add new logical linewise movementsMarc André Tanner
The column position is currently not correctly preserved when there are lines with multibyte characters involved spanning multiple screen lines. In general this might still be a bit fragile.
2015-01-05define underscores to be part of a wordMatthias Braun
2014-09-27Add text objects for word (lowercase) variantMarc André Tanner
2014-09-27Simplify text_line_finishMarc André Tanner
2014-09-27Implement proper distinction between word and WORDMarc André Tanner
2014-09-25Add infrastructure for word (lowercase) motionsMarc André Tanner
This unfortunately doesn't work as is which is why it is not actually hooked up to key bindings.
2014-09-25Perform some renames in preparation for different word typesMarc André Tanner
2014-09-25Introduce text_line_lastcharMarc André Tanner
2014-09-25Revert "Change semantics of text_line_end"Marc André Tanner
This reverts commit 3a24e6a5562e4b1ea456fbe36607bd8a9c92744d.
2014-09-24Change semantics of text_line_endMarc André Tanner
Also make movement to end of line inclusive. This has the effect that $ moves to the last character on a line but d$ still deletes said character.
2014-09-19Windows style newlines are actually \r\n not \n\rMarc André Tanner
This is fiddely stuff, hopefully it doesn't break too much
2014-09-10text-motions: add text_line_prev functionMarc André Tanner
2014-09-10text-motions: fix no match case of text_find_char_{next,prev}Marc André Tanner
These functions should return the original position in case no match was found.
2014-09-10Add license headerMarc André Tanner
2014-09-10Add comments where appropriateMarc André Tanner
2014-09-09Remove trailing whitespaces (sed 's/[ \t]*$//')Marc André Tanner
2014-09-08Hook up search as a movementMarc André Tanner
2014-09-05Add helper function which finds the start of the next lineMarc André Tanner
2014-09-04text-motion: fix find_char_prevMarc André Tanner
2014-08-30Add trivial text motions to start and end of fileMarc André Tanner
2014-08-30Add support for backticks to movement and text objectMarc André Tanner
2014-08-28motion: improve matching of single and double quotesMarc André Tanner
2014-08-28motion: fix movement to previous word end when right beforeMarc André Tanner
2014-08-28motion: add character wise motionMarc André Tanner
2014-08-28Improve text motionsMarc André Tanner
2014-08-25Move motion related stuff into own fileMarc André Tanner