| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 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. | |||||
| 2016-09-29 | sam: consistent argument handling for :r, :w, :e commands | Marc André Tanner | 3 | -26/+22 | |
| :e without any argument can be used to reload the file from disk whereas before a "Filename expected" error would be displayed. | |||||
| 2016-09-29 | view: change cursor line up/down off screen movements | Marc André Tanner | 1 | -2/+12 | |
| Previously the cursor would be placed in the middle of the screen thus causing a distracting jump. Instead try to scroll the view port by only 1 line when the cursor is moved out of the visible area. The current implementation might be quite a bit slower than before, use page-wise scrolling to skip large regions. At some point we should optimize motions like 1000j. Close #301 | |||||
| 2016-09-29 | vis: fix % for angle brackets | Marc André Tanner | 1 | -1/+3 | |
| 2016-09-29 | Cosmetic changes to file detection code | Marc André Tanner | 1 | -5/+7 | |
| 2016-09-29 | Merge branch 'master' of https://github.com/lxyd/vis into filetype | Marc André Tanner | 1 | -124/+201 | |
| 2016-09-28 | Replace win.file.lines with win.file:content for better performance | Alexey Dubinin | 1 | -3/+3 | |
| 2016-09-27 | visrc: move global settings to start handler | Marc André Tanner | 1 | -2/+6 | |
| There is no need to set global settings for each window. | |||||
| 2016-09-27 | sam: allow non-latin command names | Marc André Tanner | 1 | -1/+1 | |
| Close #387 | |||||
| 2016-09-27 | Better file type detection: full filename patterns, shebang, custom detector ↵ | Alexey Dubinin | 1 | -124/+201 | |
| functions | |||||
| 2016-09-26 | vis: also apply language map to operator pending mode | Marc André Tanner | 1 | -1/+3 | |
| 2016-09-25 | vis: disable language map for replacement character of `r` command | Marc André Tanner | 4 | -2/+13 | |
| The character following the `r` command in normal mode should be treated as regular input given in insert/replace mode, that is no tranformation should be applied. Temporarily disable the language map for this reason. Close #382 | |||||
| 2016-09-25 | vis: move file name and word completion logic to a shell script | Marc André Tanner | 4 | -4/+42 | |
| The shell script should be reviewed for quoting issues, currently it allows command injections as in: $ vis-complete "'; rm -f some-file; echo " However it is intended for interactive usage and from within vis it is only ever called with a valid completion prefix. The file name completion logic now supports nested directories. Close #347 | |||||
| 2016-09-25 | sam: change license header | Marc André Tanner | 2 | -5/+17 | |
| We use an adapted variant of sam's structural regular expression based command language. The initial implementation was partially based upon the following functions from sam / acme: * parse.h / edit.h (struct definitions) * cmd.c / edit.c (functions parsecmd, simpleaddr, compoundaddr) * xec.c / ecmd.c (cmdexec) * address.c / addr.c (address) It turns out the relevant code can be traced back to the initial X11 port of sam which is distributed under an ISC-like license instead of the Lucent Public License Version 1.02 used for Plan 9, plan9port and 9base. http://www.netlib.org/research/ http://www.netlib.org/research/sam.shar Hence we switch to the simpler license variant. Close #238 | |||||
| 2016-09-25 | text: improve variable naming | Marc André Tanner | 1 | -116/+116 | |
| s/Action/Revision/g | |||||
| 2016-09-19 | vis: also list :set options in :help output | Marc André Tanner | 2 | -47/+59 | |
| The help formatting could probably be improved, short single line help texts are still missing. Patches welcome. Close #283 | |||||
| 2016-09-19 | vis: add rudimentary builtin help for :-commands | Marc André Tanner | 2 | -50/+61 | |
| 2016-09-19 | vis-lua: document lua file close event | Marc André Tanner | 1 | -0/+1 | |
| 2016-09-19 | vis-lua: expose file save event to lua | Marc André Tanner | 2 | -1/+8 | |
| Triggered after the new file content has been written to disk. | |||||
