aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-09-30Improve some syntax highlighting rulesMarc André Tanner1-4/+4
2014-09-30Make text objects available in visual modeMarc André Tanner2-34/+54
2014-09-30Clean up visual mode handlingMarc André Tanner2-7/+10
2014-09-30Unbreak 'J' in normal modeMarc André Tanner1-1/+1
2014-09-30Allow to supend the editor via CTRL-ZMarc André Tanner2-0/+9
2014-09-30Promote join to an operatorMarc André Tanner2-16/+33
Make 'J' work on a selection in visual mode.
2014-09-28More helpful error when trying to open a non fileMarc André Tanner1-1/+3
This is not really correct e.g. vis /dev/zero will print a misleading error.
2014-09-28Make '.' repeat last insertionMarc André Tanner4-0/+28
2014-09-28Fix typo in piece table caching layerMarc André Tanner1-1/+1
This resulted in uneccesary pieces of size 1.
2014-09-28Improve argument validation in text_insertMarc André Tanner1-0/+2
2014-09-27Add insert mode key bindings CTRL-X+CTRL-{E,Y}Marc André Tanner1-0/+2
2014-09-27Hook up shifting in insert mode via CTRL-{D,T}Marc André Tanner1-0/+2
2014-09-27Improve cursor placement after shiftingMarc André Tanner1-2/+5
This is still not entirely correct if multiple lines are involved and the cursor is at the end of the selection.
2014-09-27Implement 'zt', 'zz', 'zb'Marc André Tanner4-1/+56
In particular 'zb' might not work if there are wrapped lines involved.
2014-09-27Implement '#'Marc André Tanner2-10/+31
2014-09-27Make '*' more usefulMarc André Tanner1-7/+12
2014-09-27Add text objects for word (lowercase) variantMarc André Tanner6-22/+38
2014-09-27Factor out common user info messageMarc André Tanner1-9/+8
2014-09-27Implement :bdeleteMarc André Tanner3-0/+23
2014-09-27'g_' should be inclusiveMarc André Tanner1-1/+1
2014-09-27Simplify text_line_finishMarc André Tanner1-5/+1
2014-09-27Implement proper distinction between word and WORDMarc André Tanner3-33/+42
2014-09-25Realign a few code blocks, no functional changesMarc André Tanner2-142/+142
2014-09-25Add infrastructure for word (lowercase) motionsMarc André Tanner4-9/+44
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é Tanner6-47/+47
2014-09-25Exit command prompt if last character is deletedMarc André Tanner2-0/+12
2014-09-25Do not warn if no command is givenMarc André Tanner1-1/+1
2014-09-25Accept :se as abbreviation for :setale rimoldi1-1/+1
2014-09-25Actually set global tabwidthMarc André Tanner1-0/+1
2014-09-25Implement '*'Marc André Tanner2-0/+26
This still has a couple of problems: - it uses the regular expression search (because 'n' and 'N' should operate on the same search term) - the word should be deliminited not only by spaces but also by special symbols. this should be fixed once the word/WORD distinction gets implemented
2014-09-25Add text_object_word_raw which does not include any whitespacesMarc André Tanner2-1/+35
2014-09-25Make '$' move to the last character of a lineMarc André Tanner2-1/+3
It is an inclusive movement, thus 'd$' works as expected.
2014-09-25Introduce text_line_lastcharMarc André Tanner2-4/+13
2014-09-25Revert "Change semantics of text_line_end"Marc André Tanner3-7/+7
This reverts commit 3a24e6a5562e4b1ea456fbe36607bd8a9c92744d.
2014-09-24Fix cursor position after 'p'Marc André Tanner1-2/+2
2014-09-24Implement 'ZZ' and 'ZQ'Marc André Tanner1-0/+2
2014-09-24Implement window related keys (CTRL-W ...) in terms of ':'-commandsMarc André Tanner2-16/+8
2014-09-24'f' and 't' should be inclusiveMarc André Tanner1-2/+2
2014-09-24'r' should not move the cursorMarc André Tanner1-0/+2
2014-09-24Implement :new and :vnewMarc André Tanner3-0/+17
2014-09-24Change split/vsplit APIMarc André Tanner3-29/+27
2014-09-24Change semantics of text_line_endMarc André Tanner3-7/+7
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-24<num>gg should go to <num> lineMarc André Tanner2-7/+16
2014-09-24Implement 'g0', 'gm', 'g$'Marc André Tanner4-2/+31
2014-09-24Rename a few functions to avoid conflictsMarc André Tanner1-9/+9
2014-09-24Rename MOVE_LINE_{UP,DOWN} to MOVE_SCREEN_LINE_{UP,DOWN}Marc André Tanner2-17/+17
No functional change
2014-09-24Implement 'gU' and 'gu'Marc André Tanner2-0/+35
This obviously only works for ascii characters.
2014-09-24Handle filenames with spacesMarc André Tanner2-14/+27
Before :w foo bar would create 2 files whereas now 1 file named "foo bar" will be created. Longterm such ambigious command arguments should be given surrounded with quotes.
2014-09-24Update README to reflect current ':'-command statusMarc André Tanner1-0/+16
2014-09-24Implement :saveas commandMarc André Tanner2-1/+20