| Age | Commit message (Collapse) | Author | Files | Lines |
|
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.
|
|
Up until now only the background color could be changed.
|
|
See also discussion in #402.
|
|
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.
|
|
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.
|
|
While the replacement symbols are still not run-time configurable,
the new defaults should hopefully please more people.
Close #401
|
|
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
|
|
|
|
|
|
|
|
|
|
Extend the operator range to cover white spaces to the left of
the cursor position on the same line.
Close #400
|
|
|
|
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.
|
|
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.
|
|
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
This is to avoid issues when handling file paths
|
|
|
|
|
|
|
|
|
|
This solves a name conflict between 'pkgver' variable (which what highlighted
in wrong color) and function.
|
|
Based upon scintillua rev 568 id 55b15760cd31.
|
|
Adds a taskpaper lexer.
|
|
|
|
Make cursor placement after scrolling (half) pages up/down less arbitrary.
Close #390, fix #391
|
|
Close #392
|
|
Avoid intermediate shell.
|
|
:e without any argument can be used to reload the file from
disk whereas before a "Filename expected" error would be
displayed.
|
|
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
|
|
|
|
|
|
|
|
|
|
There is no need to set global settings for each window.
|
|
Close #387
|
|
functions
|
|
|
|
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
|
|
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
|
|
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
|
|
s/Action/Revision/g
|
|
The help formatting could probably be improved, short
single line help texts are still missing. Patches welcome.
Close #283
|