| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-11-15 | vis: overhaul and unify event generation code | Marc André Tanner | 3 | -29/+95 | |
| Add another layer of indirection, move actual event generation code to a dedicated function. | |||||
| 2016-11-15 | vis: generalize special stdin handling | Marc André Tanner | 5 | -8/+21 | |
| In preparation to move argument parsing code out of vis.c. | |||||
| 2016-11-15 | vis: move initial theme loading code to lua | Marc André Tanner | 4 | -19/+2 | |
| 2016-11-14 | vis-lua: add vis.ui.colors denoting the number of available colors | Marc André Tanner | 4 | -0/+34 | |
| 2016-11-14 | ui: remove unused function | Marc André Tanner | 2 | -11/+0 | |
| 2016-11-13 | build: do not clutter source tree with AppVeyor configuration file | Marc André Tanner | 1 | -0/+0 | |
| 2016-11-13 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2016-11-11 | lexers/fstab: add systemd-specific mount options | Christian Hesse | 1 | -0/+9 | |
| 2016-11-11 | test: adapt tests to changes in the Lua API | Marc André Tanner | 1 | -5/+5 | |
| 2016-11-11 | vis: cleanup `:set option` argument parsing logic | Marc André Tanner | 1 | -15/+5 | |
| No longer accept "no" prefix for boolean options. Reject too many option values (use proper quoting to specify values containing spaces). | |||||
| 2016-11-11 | vis: add `:set shell` option | Marc André Tanner | 3 | -0/+21 | |
| 2016-11-11 | vis: attempt to use the default shell of the user to execute external commands | Marc André Tanner | 2 | -2/+12 | |
| We first try $SHELL and then fall back to the shell field of the password file entry (/etc/passwd). | |||||
| 2016-11-11 | sam: fix range for line zero | Marc André Tanner | 1 | -0/+2 | |
| :0 < echo "Should be inserted at the start of the file" :1 < echo "Should replace the first line" | |||||
| 2016-11-10 | vis: fix compilation with Lua support disabled | Marc André Tanner | 1 | -1/+1 | |
| 2016-11-10 | vis: change default status bar indication for Windows style line endings | Marc André Tanner | 2 | -4/+4 | |
| 2016-11-10 | vis-lua: change misnamed attribute values of `file.newlines` | Marc André Tanner | 5 | -14/+14 | |
| Also rename underlying C code. | |||||
| 2016-11-10 | vis: split `:set show <option>` into separate options | Marc André Tanner | 3 | -36/+34 | |
| It was the only command option which needed `=` to assign a value to. This unifies the argument parsing logic and adds the possibility to specify a per-option help text. You might want to adapt your visrc.lua configuration accordingly. | |||||
| 2016-11-10 | vis: add help texts for :set option values | Marc André Tanner | 1 | -11/+56 | |
| 2016-11-10 | vis: make vis_draw actually draw each window | Marc André Tanner | 1 | -0/+2 | |
| 2016-11-10 | build: add Makefile target for code coverage via gcov | Marc André Tanner | 2 | -2/+8 | |
| 2016-11-09 | README: Fix instructions for lexers and themes | Klemens Nanni | 1 | -3/+3 | |
| 2016-11-09 | Use nicer IRC badge in README | Marc André Tanner | 1 | -1/+1 | |
| 2016-11-09 | vis: handle cancelation of `r` command | Marc André Tanner | 1 | -0/+3 | |
| Do not alter the text if <Escape> is pressed instead of a regular replacement character. | |||||
| 2016-11-09 | Add another useless badge to the README | Marc André Tanner | 1 | -1/+2 | |
| 2016-11-09 | test: update test suite | Marc André Tanner | 1 | -5/+5 | |
| Includes the new ssam(1) based tests. | |||||
| 2016-11-09 | build: add automated Cygwin builds using AppVeyor | Marc André Tanner | 1 | -0/+43 | |
| 2016-11-09 | build: make `vis -v` version output more robust | Marc André Tanner | 1 | -1/+1 | |
| The `git describe` command fails in shallow checked out git repositories which do not include the tag information. At least include the git short hash. | |||||
| 2016-11-09 | vis: improve `r` in normal and replace mode | Marc André Tanner | 2 | -4/+21 | |
| In normal mode `r<key>` was previously implemented as `R<key><Escape>`. However this does not work when the replacement key is `<Enter>` to insert a new line, because in replace mode new lines are not overwritten. The count is now also respected. Also properly support `r` in visual mode where before it was aliased to `c`. Fix #190 | |||||
| 2016-11-09 | vis: perform undo snapshotting more rarerly | Marc André Tanner | 2 | -7/+11 | |
| Do not take snapshots after every operation in insert/replace mode. As an example up until now we would take a snapshot after every <Backspace>/<Delete> press, hence when undoing changes each character would be restored individually. The same applies for <C-w> and related actions. From now on we only snaphost when: - transitioning from insert/replace mode to normal mode (but not when switching to operator pending mode) - an operation takes place from normal mode - an idle time expires in normal/replace mode | |||||
| 2016-11-09 | vis: add replace operator VIS_OP_REPLACE | Marc André Tanner | 2 | -0/+23 | |
| Delete the given range and insert the same number of replacement characters. | |||||
| 2016-11-09 | vis: unify VIS_OP_{INSERT,REPLACE} implementation | Marc André Tanner | 6 | -18/+19 | |
| They both perform a motion before changing mode. | |||||
| 2016-11-08 | sam: fix default value handling of +/- addresses | Marc André Tanner | 1 | -3/+6 | |
| We need to distinguish between an explicit given zero and an omitted value which should default to 1. This should fix the following constructs which rounds up/down an existing selection to whole lines -0,+0 and -0+,+0- | |||||
| 2016-11-08 | vis: fix key parsing/skipping logic | Marc André Tanner | 1 | -1/+3 | |
| We should only attempt to parse special keys if they are delimited by angle brackets i.e. <Key> but not Key. Previously we would wrongly skip over the latter. | |||||
| 2016-11-08 | sam: dispose primary cursor at end of group | Marc André Tanner | 1 | -0/+2 | |
| Something like :{ x/pattern/ } should not leave the original cursor around. | |||||
| 2016-11-06 | view: make viewport adjustment more robust | Marc André Tanner | 1 | -1/+1 | |
| Make sure that the view_cursors_scroll_to function does not enter an infinite loop. | |||||
| 2016-11-05 | vis: display Lua package.cpath in :help output | Marc André Tanner | 3 | -17/+30 | |
| These paths are used to load the Lua LPeg module (lpeg.so) and are thus helpful when diagnosing setup problems in case syntax highlighting does not work. | |||||
| 2016-11-04 | sam: y should also loop over empty trailing matches | Marc André Tanner | 1 | -1/+5 | |
| The following x/example/ y/e/ i/-/ should produce `-e-xample-` where before it would wrongly result in `-e-xample`. | |||||
| 2016-11-02 | sam: improve cursor positioning after command execution | Marc André Tanner | 1 | -7/+28 | |
| Previously something like :x/pattern :c/replacement would cause all cursors to disappear because the location they were placed on was deleted beneath them. | |||||
| 2016-11-02 | sam: fix default command handling at end of a group | Marc André Tanner | 1 | -1/+1 | |
| Something like :{ x/pattern/ } should select all occurrences of pattern. | |||||
| 2016-11-02 | sam: ignore white space between commands of a group | Marc André Tanner | 1 | -2/+1 | |
| 2016-11-02 | sam: fix command name parsing | Marc André Tanner | 1 | -2/+2 | |
| Any white space should terminate the command name. In particular multi-line commands as part of a group were not handled correctly. | |||||
| 2016-11-02 | sam: improve escape parsing logic | Marc André Tanner | 1 | -22/+16 | |
| \\ should not be treated specially when parsing regular expressions. | |||||
| 2016-11-02 | ui: correctly display cell attributes | Marc André Tanner | 1 | -1/+1 | |
| When multiple selections are being displayed and the selection orientation is changed, the complete primary selection was wrongly colored in the style of the primary cursor. | |||||
| 2016-11-01 | vis: abort syntax highlighting if viewport is invalid | Marc André Tanner | 1 | -0/+3 | |
| In theory this should not happen in the first place, but in practice it might fix the symptoms reported in issue #367. | |||||
| 2016-11-01 | text: change usage of sizeof idiom for allocation of new objects | Marc André Tanner | 1 | -6/+6 | |
| The new code is preferable because it works independently of the variable type. Whereas before a change in type, but not within the sizeof expression would cause a wrongly sized allocation. | |||||
| 2016-11-01 | text: rename Buffer to Block to avoid confusion with buffer.[ch] | Marc André Tanner | 1 | -123/+123 | |
| 2016-10-28 | theme: use better defaults for color column and cursor line styles in 16 ↵ | Marc André Tanner | 2 | -4/+4 | |
| color mode Setting the background color to the same color as the text is not helpful, instead use red for the color column and underline to highlight the cursor line. | |||||
| 2016-10-28 | ui: allow cursor line style to override cell attributes | Marc André Tanner | 1 | -2/+3 | |
| Up until now only the background color could be changed. | |||||
| 2016-10-28 | vis-complete: allow custom input not matching any completion candidate | Marc André Tanner | 1 | -1/+1 | |
| See also discussion in #402. | |||||
| 2016-10-28 | vis: tweak join behavior | Marc André Tanner | 1 | -15/+9 | |
| We only remove leading but not trailing white space of the lines to be joined. Not completely sure whether that is an improvement, but it matches vim behavior. Do not insert a space when joining empty lines. | |||||
