summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-29vis: improve cursor placement after join operatorMarc André Tanner
Close #299
2016-04-29vis: move non-configuration sections out of visrc.lua into vis.luaMarc André Tanner
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-29vis: do not crash when processing :-commands and no window is activeMarc André Tanner
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-28vis: unmap all mapped prefixes if a new mapping is forcedMarc André Tanner
Close #271
2016-04-28vis: reject key mappings for which a prefix is already mappedMarc André Tanner
`<` needs a special treatment because it is used to denote symbolic keys without it the shift left operator would not work.
2016-04-27vis: adapt charwise put operator to not move across linesMarc André Tanner
This should let `$p` work as before the changes to `$`.
2016-04-27vis: change behavior of $ to never move to the leftMarc André Tanner
2016-04-27vis: do not advance cursor to next line when appending with `a`Marc André Tanner
Close #295
2016-04-27text-motions: fix character next motion within a lineMarc André Tanner
2016-04-27view: change view_cursors_place to take 1 based column numberMarc André Tanner
This should fix inconsistency in the Lua API.
2016-04-27test/lua: update tests to match new cursor positioning codeMarc André Tanner
cursor:to(line,col) now implies cursor.line == line and cursor.col == col
2016-04-27vis-lua: fix vis.win to always return currently focused windowMarc André Tanner
2016-04-26test: update test suiteMarc André Tanner
2016-04-26test/lua: silenced make cleanMarc André Tanner
2016-04-26test/lua: update basic_file.ref to match number of tests runMarc André Tanner
2016-04-26test/lua: make test.sh executable againMarc André Tanner
2016-04-26Add test number information to command_register tests for easier debuggingJosh Wainwright
2016-04-26Remove .status files, just use .ref and .out pairsJosh Wainwright
2016-04-26Change shebang to sh and add quotes to variables in scriptJosh Wainwright
2016-04-26Add tests for vis:command_register()Josh Wainwright
2016-04-26test.sh: silently compare filesJosh Wainwright
2016-04-26vis-lua: add file.modified propertyMarc André Tanner
2016-04-26build: fix lua auto detection on OpenBSDMarc André Tanner
2016-04-26build: try to produce a statically linked position independent executableMarc André Tanner
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-26build: skip -pie for static buildChristian Hesse
Signed-off-by: Christian Hesse <mail@eworm.de>
2016-04-25build: (re)enable pie buildChristian Hesse
This reverts commit d6effd021d2aa2b6c452f229046a85c5f1a252a7.
2016-04-25build: explicitly pass $CFLAGS to make invocationMarc André Tanner
2016-04-25build: remove redundant code from configure scriptMarc André Tanner
2016-04-25build: add more default flags to $CFLAGS instead of $CFLAGS_AUTOMarc André Tanner
This way we make sure the flags are in place when building dependencies.
2016-04-24build: run configure before building dependenciesChristian Hesse
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-23build: add checksum for lua-lpeg patchChristian Hesse
2016-04-23Mention NixOS package in READMEMarc André Tanner
2016-04-23vis: display lua search paths in :help outputMarc André Tanner
2016-04-22build: disable pie build for now, it breaks local/standalone buildsMarc André Tanner
There seems to be something wrong with the libtermkey build, which uses libtool and somehow does not get build correctly for PIE.
2016-04-22build: change lpeg into lua integrationMarc André Tanner
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-22build: clean up make local/standalone implementationMarc André Tanner
Run configure script for all targets instead of fiddling with Makefile variables directly.
2016-04-21vis-lua: allow selection modification by assigning to cursor.selectionMarc André Tanner
2016-04-21vis-lua: implement vis:message(msg)Marc André Tanner
2016-04-21vis-lua: also accept a range as argument for file:delete and file:contentMarc André Tanner
2016-04-21vis: also show user registered :-commands in :help outputMarc André Tanner
2016-04-21vis: list usable symbolic keys in :help outputMarc André Tanner
2016-04-21Add test for file that does not existJosh Wainwright
2016-04-21Use dofile() rather than require() to run lua test codeJosh Wainwright
2016-04-21test: update to include lua based testsMarc André Tanner
2016-04-21Move vim/prompt test to vis/promptMarc André Tanner
This does not seem to work with vim -u NONE.
2016-04-21Run vim with `-u NONE` to ignore vimrcJosh Wainwright
This might not be the best way to specify this, but the tests were failing for me as vim was using my vimrc and so picking up my own keybindings.
2016-04-21Add executable permission to test.shJosh Wainwright
2016-04-21Update tests README and add lua tests README filesJosh Wainwright
2016-04-21Show vis version when running testsJosh Wainwright
2016-04-21Quit vis from within test visrc.luaJosh Wainwright