summaryrefslogtreecommitdiff
path: root/vis-cmds.c
AgeCommit message (Collapse)Author
2016-03-15vis: do not segfault when given a NULL command to processMarc André Tanner
2016-03-12vis: overhaul search related code, support "/ registerMarc André Tanner
2016-02-20vis: list layout specifc key mappings in <F1> help outputMarc André Tanner
2016-02-20vis: implement :langmap command to set keyboard mappingsMarc André Tanner
The mappings affect all non-input (i.e. insert/replace) modes. They are useful for non-latin keyboard layouts, example usage: :langmap ролд hjkl Based on a patch by Dmitriy. Close #161
2016-02-12Mark some tables as constMarc André Tanner
This allows them to be placed into the read only ELF section.
2016-02-10vis: tweak <F1> help text list all available key actionsMarc André Tanner
2016-02-07vis: export vis_window_closableMarc André Tanner
2016-02-07vis: mark output of pipe command as savedMarc André Tanner
2016-02-01Improve cursor position after :substitute commandMarc André Tanner
2016-01-31Rename stderr field to errMarkus Teich
The name `stderr` was confused by the compiler with the following defines: $ grep -r "define stderr" ./dependency/install/usr/include/stdio.h:#define stderr (stderr) ./dependency/sources/musl-1.1.12/include/stdio.h:#define stderr (stderr)
2016-01-29vis: implement new pipe/write out command :| or :w !Marc André Tanner
2016-01-29vis: factor out filter command implementationMarc André Tanner
2016-01-19vis: improve :-command argument tokenizingMarc André Tanner
Should now handle trailing white spaces.
2016-01-18vis: fix segfault upon :qallMarc André Tanner
2016-01-17vis: make :e an alias for :editMarc André Tanner
2016-01-16vis: move selected prompt entry to end of the fileMarc André Tanner
Close #70
2016-01-14vis: s/VIS_MODE_LAST/VIS_MODE_INVALID/gMarc André Tanner
2016-01-14vis-cmds: resolve conflict with BSD getmode(3)Marc André Tanner
Closes #147
2016-01-13Implement command/search prompt history as a regular fileMarc André Tanner
2016-01-13vis: reindent :-command definitionsMarc André Tanner
2016-01-13vis: implement :map-window and :unmap-windowMarc André Tanner
They allow per window run time configurable key bindings.
2016-01-13vis: allow :-commands containing a hyphenMarc André Tanner
2016-01-13vis: implement :map and :unmapMarc André Tanner
Remember that vis' bindings are always recursive. Hence if you do stupid things you will get yourself into an endless loop.
2016-01-13vis: cleanup key binding definitionsMarc André Tanner
This removes the tree based mode structures and instead merges all keybindings in flat modes which uses some more memory but will allow (per mode) run-time configurable key bindings. Make sure to update/remove config.h.
2016-01-13Add -pedantic to debug CFLAGS and fix resulting warningsMarc André Tanner
2015-12-26vis: refactor Lua integrationMarc André Tanner
Lua support can now be disabled at compile time using: $ make CONFIG_LUA=0 This commit also adds an initial Lua API and provides a few default hooks. We now also require Lua >= 5.2 due to the uservalue constructs. In principle the same functionality could be implemented using function environments from Lua 5.1.
2015-11-28vis: add namespace prefix for MARK_SELECTION_{START,END}Marc André Tanner
2015-11-28view: remove ViewEvent infrastructureMarc André Tanner
The only used event handler was used to update the '< and '> marks which is now taken care of by the leave handler of the visual modes.
2015-11-27vis: close correct file descriptor upon failure in filter commandMarc André Tanner
2015-11-23vis: use file open dialog for all directoriesMarc André Tanner
2015-11-08Remove trailing white space from source filesMarc André Tanner
2015-11-08vis: implement :set colorcolumnMarc André Tanner
2015-11-08vis: implement :set themeMarc André Tanner
2015-11-08vis: implement :set cursorlineMarc André Tanner
2015-11-08vis: experimental support for lua/lpeg based syntax highlightingMarc André Tanner
The lua based lexers are searched in the following order: $VIS_PATH/lexers $HOME/.vis/lexers /usr/share/vis/lexers followed by the standard lua package.path
2015-11-08vis: remove regex based syntax highlightingMarc André Tanner
2015-11-07vis: move :-commands into their own fileMarc André Tanner