| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 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. | |||||
| 2016-10-27 | vis: fix :langmap behavior | Marc André Tanner | 1 | -2/+2 | |
| The mapped to latin key has typically a shorter UTF-8 representation, thus explicitly copy the NUL terminator to properly truncate the new key value. | |||||
| 2016-10-27 | view: use more lightweight default white space replacement symbols | Marc André Tanner | 1 | -3/+3 | |
| While the replacement symbols are still not run-time configurable, the new defaults should hopefully please more people. Close #401 | |||||
| 2016-10-27 | vis: apply language map only to key values not modifiers | Marc André Tanner | 4 | -19/+20 | |
| The language map translation should not take modifiers into account. For example if `a` is mapped to `b` then `<M-a>` should also be mapped to `<M-b>`. Fix #404 | |||||
| 2016-10-26 | Merge branch 'awk' of https://github.com/larryhynes/vis | Marc André Tanner | 1 | -1/+1 | |
| 2016-10-21 | Add app definitions for awk in vis.lua | Larry Hynes | 1 | -1/+1 | |
| 2016-10-12 | Only complete up to cursor position | Marc André Tanner | 1 | -2/+4 | |
| 2016-10-11 | File completion updates | Richard Burke | 2 | -9/+15 | |
| 2016-10-09 | vis: fix join operator to work on lines ending with white spaces | Marc André Tanner | 1 | -1/+8 | |
| Extend the operator range to cover white spaces to the left of the cursor position on the same line. Close #400 | |||||
| 2016-10-09 | vis: fix g_ motion to never cross line boundaries | Marc André Tanner | 1 | -3/+11 | |
| 2016-10-08 | Teach vis-complete that ".." path segments in the prefix are acceptable. | Tim Allen | 1 | -2/+9 | |
| Instead of trying to filter out path-segments-beginning-with-dot from the entire path (including the prefix, which would be perfectly legitimate), tell find to prune hidden directories and ignore hidden file as it walks the tree. | |||||
| 2016-10-08 | Quote meta-characters in the completion pattern. | Tim Allen | 1 | -2/+7 | |
| Because we're completing text from the document, we can't assume it's going to be a sensible regex pattern, or glob pattern, let alone both, so we should quote the pattern before we hand it off to helper tools like grep and find. | |||||
| 2016-10-08 | Handle completing absolute paths, not just relative ones. | Tim Allen | 1 | -2/+20 | |
| 2016-10-07 | Don't use repeated shell evaluation in vis-complete. | Tim Allen | 1 | -11/+3 | |
| Previously, vis-complete built up a command-line by repeated subtitution into a shell variable, then executing that shell variable in a subshell. I'm not entirely sure what shell-meta-character mischief would have been possible, but now we just do all the piping in the same shell which is much safer. | |||||
| 2016-10-07 | lexers: sync with scintillua changeset 571 rev 23435f1d82da | Marc André Tanner | 4 | -16/+16 | |
| This fixes ":set syntax text" and adds a missing file association for the taskpaper lexer. The protobuf and crystal lexers were slightly reformatted, but should contain no functional changes. | |||||
| 2016-10-06 | Merge branch 'exit' of https://github.com/eworm-de/vis | Marc André Tanner | 1 | -1/+1 | |
| 2016-10-06 | Merge branch 'pkgbuild-2' of https://github.com/eworm-de/vis | Marc André Tanner | 1 | -11/+19 | |
| 2016-10-06 | use EXIT_FAILURE for exit status | Christian Hesse | 1 | -1/+1 | |
| 2016-10-06 | lexers/pkgbuild: support arch specific variables | Christian Hesse | 1 | -11/+19 | |
| 2016-10-05 | Harden vis-complete | Richard Burke | 1 | -2/+7 | |
| 2016-10-05 | vis-complete - Use different delimiter in sed command | Richard Burke | 1 | -1/+1 | |
| This is to avoid issues when handling file paths | |||||
| 2016-10-05 | Fix various issues reported by coverity scan | Marc André Tanner | 5 | -6/+9 | |
| 2016-10-05 | ui: fix resource leak, close file descriptor | Marc André Tanner | 1 | -0/+1 | |
| 2016-10-05 | vis: check return value of fcntl(2) call | Marc André Tanner | 1 | -3/+4 | |
| 2016-10-05 | lexers/pkgbuild: add a comment about pkgver, srcdir and startdir | Christian Hesse | 1 | -0/+2 | |
| 2016-10-05 | lexers/pkgbuild: match functions with parentheses | Christian Hesse | 1 | -1/+1 | |
| This solves a name conflict between 'pkgver' variable (which what highlighted in wrong color) and function. | |||||
| 2016-10-05 | lexers: reduce changes to scintilla core lexing code | Marc André Tanner | 1 | -39/+82 | |
| Based upon scintillua rev 568 id 55b15760cd31. | |||||
| 2016-10-05 | lexers: sync language lexers with scintillua rev 568 id 55b15760cd31 | Marc André Tanner | 2 | -2/+60 | |
| Adds a taskpaper lexer. | |||||
| 2016-10-05 | sam: show error message on failed write | Christian Hesse | 1 | -2/+4 | |
| 2016-10-03 | vis: improve cursor positioning after scrolling | Marc André Tanner | 3 | -15/+64 | |
| Make cursor placement after scrolling (half) pages up/down less arbitrary. Close #390, fix #391 | |||||
| 2016-10-02 | vis: make <C-w> delete word instead of WORD | Marc André Tanner | 1 | -1/+1 | |
| Close #392 | |||||
| 2016-09-30 | sam: simplify :r command implementaion | Marc André Tanner | 1 | -13/+6 | |
| Avoid intermediate shell. | |||||
