| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-05-05 | sam: avoid taking snapshots within the filter command implementation | Marc André Tanner | 1 | -18/+1 | |
| This has the effect that multiple filter commands can be undone together. | |||||
| 2016-05-05 | view: try to recover from invalid cursor positions | Marc André Tanner | 1 | -1/+4 | |
| A cursor is a mark, if the text containing the mark is removed the cursor is lost. In this case we try to fall back to the previously known cursor position/mark. This should improve undo operations for filter commands. | |||||
| 2016-05-04 | vis-lua: reload all lexers after theme change | Marc André Tanner | 2 | -3/+19 | |
| Close #221 | |||||
| 2016-05-04 | vis-lua: add new theme_change event hook | Marc André Tanner | 2 | -17/+10 | |
| 2016-05-04 | vis-lua: simplify event callback code | Marc André Tanner | 1 | -20/+16 | |
| 2016-05-04 | view: simplify line up/down motions | Marc André Tanner | 1 | -6/+0 | |
| As a consequence the general cursor placement code takes effect and always places the cursor in the middle of the window when moving out of the viewable range. Whether this behavior is desirable remains to be seen. | |||||
| 2016-05-04 | note that primary cursor is not blinking | Erlend Fagerheim | 1 | -1/+2 | |
| 2016-05-04 | vis: enable large file optimizations for files with long lines | Marc André Tanner | 4 | -24/+16 | |
| 2016-05-04 | vis: clean up cursor column display | Marc André Tanner | 3 | -26/+17 | |
| 2016-05-04 | vis: clean up interaction between vis and ui | Marc André Tanner | 6 | -25/+20 | |
| A concrete user interface implementation should not have to depend on libtermkey. Therefore the vis core now uses an independent instance to parse keys. | |||||
| 2016-05-04 | vis: re-open stdin as /dev/tty when reaching EOF | Marc André Tanner | 1 | -3/+40 | |
| This handles (notices the missing - at the end of the command line): $ printf ":new\n" | vis more gracefully. This instructs vis to read commands (not file content) from stdin. Once all input from stdin is consumed we open /dev/tty and start processing regular keyboard input instead. | |||||
| 2016-05-04 | vis: make j and k a linewise inclusive motion | Marc André Tanner | 3 | -5/+7 | |
| They behave like an inclusive motion, but only if they are also linewise (which they are by default). This should make `yjp` and `ykp` yank both the current and the next/previous line when the cursor is at the start of a line. See also 532f52e9e52b98dc5749396f7353295418e0227a and #237 | |||||
| 2016-05-04 | Fixed bug, use $XDG_CONFIG_HOME correctly | Adrian Room | 1 | -1/+2 | |
| Vis should look for files in `$XDG_CONFIG_HOME/vis`, not just `$XDG_CONFIG_HOME` directly. | |||||
| 2016-05-01 | test: udpate test suite | Marc André Tanner | 1 | -7/+5 | |
| 2016-05-01 | vis-lua: let vis:map override existing mappings | Marc André Tanner | 1 | -0/+14 | |
| It now also unmaps all previously mapped prefixes of the new mapping. See 0ef138085f885d4576a8e53d079e1f00f80799bf and #271. | |||||
| 2016-05-01 | vis-lua: expose vis:feedkeys API | Marc André Tanner | 2 | -0/+11 | |
| 2016-05-01 | vis: delay start event until we are fully initialized | Marc André Tanner | 1 | -7/+5 | |
| 2016-05-01 | vis: further cleanup input handling, introduce vis_keys_feed API | Marc André Tanner | 4 | -26/+31 | |
| 2016-05-01 | vis: cleanup input handling, improve macro replay | Marc André Tanner | 3 | -49/+47 | |
| 2016-04-29 | view: try to improve cursor placement | Marc André Tanner | 1 | -18/+21 | |
| This changes which viewport is being displayed after the primary cursor moves out of the currently viewable area. Close #164, #274, #278 | |||||
| 2016-04-29 | view: improve view sliding down | Marc André Tanner | 1 | -2/+4 | |
| Close #216 | |||||
| 2016-04-29 | vis: improve cursor placement after join operator | Marc André Tanner | 1 | -1/+5 | |
| Close #299 | |||||
| 2016-04-29 | vis: move non-configuration sections out of visrc.lua into vis.lua | Marc André Tanner | 4 | -202/+209 | |
| The intention is that vis.lua will provide parts of the Lua API not implemented in the C core. Please update your existing visrc.lua configuration file accordingly. | |||||
| 2016-04-29 | vis: do not crash when processing :-commands and no window is active | Marc André Tanner | 3 | -23/+72 | |
| This is needed to make the vis.event.start Lua callback useful, setting global options should be possible even if no windows exist yet. The :set command options should probably be cleaned up further, some of them apply only to the currently active window while others have a global effect. | |||||
| 2016-04-28 | vis: unmap all mapped prefixes if a new mapping is forced | Marc André Tanner | 2 | -38/+29 | |
| Close #271 | |||||
| 2016-04-28 | vis: reject key mappings for which a prefix is already mapped | Marc André Tanner | 1 | -1/+1 | |
| `<` needs a special treatment because it is used to denote symbolic keys without it the shift left operator would not work. | |||||
| 2016-04-27 | vis: adapt charwise put operator to not move across lines | Marc André Tanner | 1 | -1/+2 | |
| This should let `$p` work as before the changes to `$`. | |||||
| 2016-04-27 | vis: change behavior of $ to never move to the left | Marc André Tanner | 1 | -2/+1 | |
| 2016-04-27 | vis: do not advance cursor to next line when appending with `a` | Marc André Tanner | 1 | -1/+1 | |
| Close #295 | |||||
| 2016-04-27 | text-motions: fix character next motion within a line | Marc André Tanner | 1 | -2/+1 | |
| 2016-04-27 | view: change view_cursors_place to take 1 based column number | Marc André Tanner | 3 | -6/+9 | |
| This should fix inconsistency in the Lua API. | |||||
| 2016-04-27 | vis-lua: fix vis.win to always return currently focused window | Marc André Tanner | 1 | -1/+1 | |
| 2016-04-26 | test: update test suite | Marc André Tanner | 1 | -7/+5 | |
| 2016-04-26 | vis-lua: add file.modified property | Marc André Tanner | 2 | -0/+6 | |
| 2016-04-26 | build: fix lua auto detection on OpenBSD | Marc André Tanner | 1 | -1/+1 | |
| 2016-04-26 | build: try to produce a statically linked position independent executable | Marc André Tanner | 2 | -3/+9 | |
| In theory this should be as simple as: $ cc -fPIE -pie --static helloworld.c But unfortunately by default this will always add a PT_INTERP referencing the dynamic loader/linker. On latest binutils >=2.26 this can be worked around by supplying --no-dynamic-linker. Also tweak the musl-gcc wrapper to use rcrt1.o as startup file. | |||||
| 2016-04-26 | build: skip -pie for static build | Christian Hesse | 2 | -3/+7 | |
| Signed-off-by: Christian Hesse <mail@eworm.de> | |||||
| 2016-04-25 | build: (re)enable pie build | Christian Hesse | 1 | -1/+3 | |
| This reverts commit d6effd021d2aa2b6c452f229046a85c5f1a252a7. | |||||
| 2016-04-25 | build: explicitly pass $CFLAGS to make invocation | Marc André Tanner | 1 | -2/+2 | |
| 2016-04-25 | build: remove redundant code from configure script | Marc André Tanner | 1 | -3/+0 | |
| 2016-04-25 | build: add more default flags to $CFLAGS instead of $CFLAGS_AUTO | Marc André Tanner | 1 | -7/+7 | |
| This way we make sure the flags are in place when building dependencies. | |||||
| 2016-04-24 | build: run configure before building dependencies | Christian Hesse | 2 | -18/+39 | |
| We need some basic configuration before building dependencies. For example useful CFLAGS have to be in place to prevent linker errors. The configure script is run again later with some extra parameters. | |||||
| 2016-04-23 | build: add checksum for lua-lpeg patch | Christian Hesse | 1 | -0/+2 | |
| 2016-04-23 | Mention NixOS package in README | Marc André Tanner | 1 | -0/+1 | |
| 2016-04-23 | vis: display lua search paths in :help output | Marc André Tanner | 3 | -1/+33 | |
| 2016-04-22 | build: disable pie build for now, it breaks local/standalone builds | Marc André Tanner | 1 | -1/+1 | |
| There seems to be something wrong with the libtermkey build, which uses libtool and somehow does not get build correctly for PIE. | |||||
| 2016-04-22 | build: change lpeg into lua integration | Marc André Tanner | 1 | -14/+7 | |
| Instead of compiling lpeg separately and then copying the object files into the lua source directory, copy the lpeg source files into the lua build tree and build it together. | |||||
| 2016-04-22 | build: clean up make local/standalone implementation | Marc André Tanner | 2 | -17/+9 | |
| Run configure script for all targets instead of fiddling with Makefile variables directly. | |||||
| 2016-04-21 | vis-lua: allow selection modification by assigning to cursor.selection | Marc André Tanner | 2 | -1/+10 | |
| 2016-04-21 | vis-lua: implement vis:message(msg) | Marc André Tanner | 2 | -7/+18 | |
