| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-02-18 | vis: add possibility to bind keys to lua functions | Marc André Tanner | |
| 2016-02-18 | vis: add insfrastructure to support global key mappings | Marc André Tanner | |
| Except for insert/replace mode keys get translated before any key bindings are evaluated. This is useful for non-english/latin keyboard layouts. | |||
| 2016-02-15 | Add text object to cover lines with same indentation level | Marc André Tanner | |
| By default it is mapped to i<Tab> and a<Tab> however there is currently no difference between the inner and regular version. | |||
| 2016-02-12 | Mark some tables as const | Marc André Tanner | |
| This allows them to be placed into the read only ELF section. | |||
| 2016-02-11 | vis: implement gn and gN text objects | Marc André Tanner | |
| The behaviour when no match is found is not yet optimal. | |||
| 2016-02-10 | vis: implement yank register "0 | Marc André Tanner | |
| 2016-02-07 | vis: export vis_window_closable | Marc André Tanner | |
| 2016-01-30 | Implement "A - "Z registers | Marc André Tanner | |
| 2016-01-30 | Implement system clipboard registers "* and "+ | Marc André Tanner | |
| Both registers are currently treated identically. The actual system integration is performed by two shell scripts vis-copy and vis-paste. | |||
| 2016-01-30 | Implement blackhole register "_ | Marc André Tanner | |
| 2016-01-30 | Cleanup register implementation | Marc André Tanner | |
| 2016-01-30 | Improve Lua error reporting | Marc André Tanner | |
| Display Lua errors in a dedicated window/file. A typo or missing dependency (e.g. lpeg) in visrc.lua will no longer silently fail without any indication. The Lua integration in view.h is not yet converted. | |||
| 2016-01-29 | vis: factor out filter command implementation | Marc André Tanner | |
| 2016-01-28 | vis: implement nn% | Marc André Tanner | |
| Moves to the given percentage of the file in bytes (not lines). This is useful when dealing with huge files because it is a constant time operation. Performance could still be improved by adapting the display code not to rely on line numbers at all. | |||
| 2016-01-28 | vis: clean up count handling | Marc André Tanner | |
| There are cases where zero can also be a legitimate count. | |||
| 2016-01-14 | vis: move prompt handling to separate file | Marc André Tanner | |
| 2016-01-14 | vis: s/VIS_MODE_LAST/VIS_MODE_INVALID/g | Marc André Tanner | |
| 2016-01-14 | vis: move text object definitions to separate file | Marc André Tanner | |
| 2016-01-13 | Implement command/search prompt history as a regular file | Marc André Tanner | |
| 2016-01-13 | vis: add infrastructure to support per window key bindings | Marc André Tanner | |
| 2016-01-13 | vis: cleanup key binding definitions | Marc 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. | |||
| 2015-12-26 | vis: refactor Lua integration | Marc 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-12-20 | vis: fix forceful redraw <C-l> | Marc André Tanner | |
| 2015-11-28 | vis: add namespace prefix for MARK_SELECTION_{START,END} | Marc André Tanner | |
| 2015-11-28 | vis: improve switching to prompt mode | Marc André Tanner | |
| A call to vis_prompt_show will now automatically switch to prompt mode. Within the prompt leave/enter handlers the focused window (vis->win) will still point to the document window not the one referring to the prompt. The selection marks '< and '> are now only updated when a visual mode is left. | |||
| 2015-11-28 | vis: add cmd argument to VIS_OP_FILTER | Marc André Tanner | |
| 2015-11-27 | vis: implement filter operator ! | Marc André Tanner | |
| It currently works by switching to visual mode and then opening the command prompt with a default range which refers to the currently active selection. | |||
| 2015-11-08 | Fix warnings found by static analyzer | Marc André Tanner | |
| 2015-11-08 | Delete now obsolete syntax.h | Marc André Tanner | |
| 2015-11-08 | vis: implement :set theme | Marc André Tanner | |
| 2015-11-08 | vis: remove regex based syntax highlighting | Marc André Tanner | |
| 2015-11-07 | vis: shadow default register while in prompt mode | Marc André Tanner | |
| Editing operation in prompt mode should not affect the default register. | |||
| 2015-11-07 | vis: prefix enum VisMotion values with VIS_ | Marc André Tanner | |
| 2015-11-07 | vis: tweak enum VisTextObject names | Marc André Tanner | |
| 2015-11-07 | vis: prefix enum VisOperator values with VIS_ | Marc André Tanner | |
| 2015-11-07 | vis: API documentation and cleanup | Marc André Tanner | |
| 2015-11-07 | vis: introduce vis_cancel API | Marc André Tanner | |
| 2015-11-07 | vis: move operators to separate file | Marc André Tanner | |
| 2015-11-07 | vis: move motions to separate file | Marc André Tanner | |
| 2015-11-07 | vis: move :-commands into their own file | Marc André Tanner | |
| 2015-11-03 | vis: add vis_keys_inject to place keys into the input queue | Marc André Tanner | |
| This function can only be used from within key handlers. The position argument has to point to a valid key from within the same input buffer after which the new input will be inserted. | |||
| 2015-11-02 | vis: improve dot command | Marc André Tanner | |
| Use an implicit macro to make changes in insert/replace mode repeatable. | |||
| 2015-10-27 | vis: make Vis an opaque type, hide implementaton details | Marc André Tanner | |
| 2015-10-27 | vis: introduce vis_macro_recording API | Marc André Tanner | |
| 2015-10-27 | vis: introduce vis_prompt_enter API | Marc André Tanner | |
| This is a really bad API/abtraction but at least it allows us to hide some implementation details. | |||
| 2015-10-27 | vis: clean up tab/newline insertion code | Marc André Tanner | |
| 2015-10-27 | vis: introduce pseudo operators for put | Marc André Tanner | |
| In principle put is not really an operator, however it still should be repeatable and respect count. | |||
| 2015-10-26 | vis: introduce explicit operators for cursor creation | Marc André Tanner | |
| 2015-10-26 | vis: introduce explicit operators for case changes | Marc André Tanner | |
| 2015-10-26 | vis: move key handling functions to main.c | Marc André Tanner | |
