summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-01Improve cursor position after :substitute commandMarc André Tanner
2016-01-31Rename stderr field to errMarkus Teich
The name `stderr` was confused by the compiler with the following defines: $ grep -r "define stderr" ./dependency/install/usr/include/stdio.h:#define stderr (stderr) ./dependency/sources/musl-1.1.12/include/stdio.h:#define stderr (stderr)
2016-01-30Implement "A - "Z registersMarc André Tanner
2016-01-30Implement system clipboard registers "* and "+Marc André Tanner
Both registers are currently treated identically. The actual system integration is performed by two shell scripts vis-copy and vis-paste.
2016-01-30Implement blackhole register "_Marc André Tanner
2016-01-30Cleanup register implementationMarc André Tanner
2016-01-30Improve Lua error reportingMarc André Tanner
Display Lua errors in a dedicated window/file. A typo or missing dependency (e.g. lpeg) in visrc.lua will no longer silently fail without any indication. The Lua integration in view.h is not yet converted.
2016-01-29vis: implement new pipe/write out command :| or :w !Marc André Tanner
2016-01-29vis: factor out filter command implementationMarc André Tanner
2016-01-28vis: factor out common code to create internal fileMarc André Tanner
2016-01-28lexer: snyc with upstream scintillua 3.6.3-1Marc André Tanner
2016-01-28vis: implement nn%Marc André Tanner
Moves to the given percentage of the file in bytes (not lines). This is useful when dealing with huge files because it is a constant time operation. Performance could still be improved by adapting the display code not to rely on line numbers at all.
2016-01-28vis: clean up count handlingMarc André Tanner
There are cases where zero can also be a legitimate count.
2016-01-27text-motion: change text_bracket_match APIMarc André Tanner
2016-01-27vis: let % move to next special char if not already thereMarc André Tanner
2016-01-27vis: apply insert register <C-r> to all cursorsMarc André Tanner
Note that cursors currently have only one default register.
2016-01-27vis: remove unused struct Mode member 'is_user'Marc André Tanner
2016-01-20vis: make <End> in insert/replace mode move to the end of lineMarc André Tanner
The behaviour of <End> vs $ in various modes may still be inconsistent, but at least it can now be configured via key bindings.
2016-01-20vis: further improve selection restore codeMarc André Tanner
This is still not 100% correct for all possible cases, but should work for those currently used by vis e.g. the shift left operator.
2016-01-20Fix to/till movementsMarkus Teich
Some corner cases allowed to move between lines with the to/till movements. The change in find_prev serves two purposes. When searching for a string which the cursor is already above the match, this match is returned (pos += len). Secondly there was a failure when searching for strings with len == 1 which lead to `matched == 0` which was always true, even if the string was not found, therefore leading to a wrong return value.
2016-01-19Add usage example for file open dialog to READMESilvan Jegen
2016-01-19vis: fix # and * motions to only match wordsMarc André Tanner
Word matching is currently implemented by using the \< and \> anchors of the regex(3) library part of libc. Another option would have been to use the text_object_word_find_{next,prev} functions from text-objects.c. The used search term is currently not added to the search history. Based on a patch by Markus Teich.
2016-01-19vis: switch to normal mode if a :-command was successful in visual modeMarc André Tanner
2016-01-19vis: fix default command prompt in visual modeMarc André Tanner
2016-01-19vis: improve :-command argument tokenizingMarc André Tanner
Should now handle trailing white spaces.
2016-01-19vis: keep selection in visual mode after shift operatorsMarc André Tanner
2016-01-19vis: improve selection restore `gv`Marc André Tanner
2016-01-19vis: improve cursor placement after shift operatorsMarc André Tanner
2016-01-18vis: do not move cursor when entering visual line modeMarc André Tanner
Switching to character wise visual mode is still different than in vim because we do not distinguish between line wise and charwise selections. Close #149
2016-01-18vis: tweak count handling of till motions 't' and 'T'Marc André Tanner
The behaviour when already in front of a match is deliberately different from vim. Based on a patch from Markus Teich.
2016-01-18vis: fix segfault upon :qallMarc André Tanner
2016-01-18text-regex: remove unused struct memberMarc André Tanner
2016-01-18vis: simplify code by using text_bytes_alloc0Marc André Tanner
2016-01-18Fix default $VIS_PATH in man pageMarc André Tanner
2016-01-17ui: display current line number instead of relative 0Marc André Tanner
2016-01-17vis: make Y only yank from the current position to the end of lineMarc André Tanner
2016-01-17theme: change solarized theme to use the 256 degenerated colorsMarc André Tanner
2016-01-17ui: support color definitions in terms of the 256 color paletteMarc André Tanner
2016-01-17vis: make :e an alias for :editMarc André Tanner
2016-01-17vis: let ~ have an immediate effect in normal modeMarc André Tanner
Similar to vim with the notildeop setting.
2016-01-16view: remove special cursor handling at end of visible areaMarc André Tanner
Close #148
2016-01-16vis: move selected prompt entry to end of the fileMarc André Tanner
Close #70
2016-01-16vis: make o and O work in promptMarc André Tanner
2016-01-15vis: sentence motions are not linewiseMarc André Tanner
Close #141
2016-01-14vis: use different default register when editing a prompt fileMarc André Tanner
2016-01-14vis: move prompt handling to separate fileMarc André Tanner
2016-01-14vis: more cleanupsMarc André Tanner
2016-01-14vis: s/moves/vis_motions/gMarc André Tanner
2016-01-14vis: s/ops/vis_operators/gMarc André Tanner
2016-01-14vis: move motion releated functions to corresponding fileMarc André Tanner