| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-02-18 | vis: fix possible undefined zero allocation | Marc André Tanner | 1 | -1/+1 | |
| 2016-02-18 | vis: add insfrastructure to support global key mappings | Marc André Tanner | 1 | -0/+3 | |
| 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 | 1 | -0/+6 | |
| 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-13 | vis: in insert mode <S-Tab> aligns all cursors by inserting spaces | Marc André Tanner | 1 | -0/+42 | |
| 2016-02-13 | Convert call sites of text_line_char_{get,set} to text_line_width_{get,set} | Marc André Tanner | 1 | -1/+1 | |
| 2016-02-12 | vis: fix printf format string used in number_increment_decrement | Marc André Tanner | 1 | -2/+2 | |
| The field width specifier '*' expects an int. be fine here since we are expecting a small positive number and the result is | |||||
| 2016-02-12 | Mark some tables as const | Marc André Tanner | 1 | -2/+2 | |
| 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 | 1 | -0/+12 | |
| The behaviour when no match is found is not yet optimal. | |||||
| 2016-02-10 | vis: implement yank register "0 | Marc André Tanner | 1 | -0/+2 | |
| 2016-02-10 | vis: implement gf and <C-w>gf to open filename under cursor | Marc André Tanner | 1 | -0/+55 | |
| Based on a patch by Silvan Jegen. | |||||
| 2016-02-07 | vis: implement number increment <C-a> and decrement <C-x> functionality | Marc André Tanner | 1 | -0/+59 | |
| The default key bindings are not changed for now, because <C-a> conflicts with multiple cursor alignment. | |||||
| 2016-01-30 | Implement "A - "Z registers | Marc André Tanner | 1 | -0/+2 | |
| 2016-01-30 | Implement system clipboard registers "* and "+ | Marc André Tanner | 1 | -0/+2 | |
| 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 | 1 | -0/+2 | |
| 2016-01-30 | Cleanup register implementation | Marc André Tanner | 1 | -3/+3 | |
| 2016-01-28 | vis: implement nn% | Marc André Tanner | 1 | -5/+15 | |
| 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 | 1 | -7/+8 | |
| There are cases where zero can also be a legitimate count. | |||||
| 2016-01-27 | vis: apply insert register <C-r> to all cursors | Marc André Tanner | 1 | -5/+2 | |
| Note that cursors currently have only one default register. | |||||
| 2016-01-20 | vis: make <End> in insert/replace mode move to the end of line | Marc André Tanner | 1 | -0/+6 | |
| The behaviour of <End> vs $ in various modes may still be inconsistent, but at least it can now be configured via key bindings. | |||||
| 2016-01-19 | vis: fix default command prompt in visual mode | Marc André Tanner | 1 | -1/+1 | |
| 2016-01-19 | vis: improve selection restore `gv` | Marc André Tanner | 1 | -2/+8 | |
| 2016-01-18 | vis: simplify code by using text_bytes_alloc0 | Marc André Tanner | 1 | -4/+1 | |
| 2016-01-16 | vis: make o and O work in prompt | Marc André Tanner | 1 | -2/+2 | |
| 2016-01-13 | Implement command/search prompt history as a regular file | Marc André Tanner | 1 | -37/+7 | |
| 2016-01-13 | vis: cleanup key binding definitions | Marc André Tanner | 1 | -18/+6 | |
| 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-06 | vis: apply <C-v> to all cursors not only primary one | Marc André Tanner | 1 | -5/+2 | |
| 2016-01-06 | vis: enhance <C-v> to recognize a few special keys | Marc André Tanner | 1 | -28/+58 | |
| Up until now <C-v> in insert/replace mode would only recognize numeric codes in various formats. This commits adds support for a few special keys such as <Enter> or <Tab>. | |||||
| 2015-12-26 | vis: refactor Lua integration | Marc André Tanner | 1 | -1/+12 | |
| 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 | 1 | -1/+1 | |
| 2015-11-28 | vis: add namespace prefix for MARK_SELECTION_{START,END} | Marc André Tanner | 1 | -2/+2 | |
| 2015-11-28 | vis: improve switching to prompt mode | Marc André Tanner | 1 | -2/+0 | |
| 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: implement = operator in terms of fmt(1) | Marc André Tanner | 1 | -0/+6 | |
| 2015-11-28 | vis: add cmd argument to VIS_OP_FILTER | Marc André Tanner | 1 | -1/+8 | |
| 2015-11-27 | vis: improve cursor alignment command <C-a> | Marc André Tanner | 1 | -6/+7 | |
| 2015-11-27 | vis: improve creation of new cursors on line above/below | Marc André Tanner | 1 | -6/+6 | |
| Use view cell matrix data to create the cursors on more appropriate positions. Closes #108 | |||||
| 2015-11-27 | vis: implement filter operator ! | Marc André Tanner | 1 | -0/+6 | |
| 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-23 | vis: fix compiler warnings related to `ga` implementation | Marc André Tanner | 1 | -1/+2 | |
| 2015-11-23 | vis: implement ga | Marc André Tanner | 1 | -0/+31 | |
| 2015-11-19 | vis: improve <C-p> in visual mode | Marc André Tanner | 1 | -0/+1 | |
| Make sure that the (new) primary cursor is visible after removing the last matched selection. | |||||
| 2015-11-08 | vis: remove regex based syntax highlighting | Marc André Tanner | 1 | -3/+0 | |
| 2015-11-07 | vis: prefix enum VisMotion values with VIS_ | Marc André Tanner | 1 | -67/+67 | |
| 2015-11-07 | vis: tweak enum VisTextObject names | Marc André Tanner | 1 | -26/+26 | |
| 2015-11-07 | vis: prefix enum VisOperator values with VIS_ | Marc André Tanner | 1 | -20/+20 | |
| 2015-11-07 | vis: API documentation and cleanup | Marc André Tanner | 1 | -3/+3 | |
| 2015-11-03 | vis: make open line commands (o and O) repeatable | Marc André Tanner | 1 | -7/+6 | |
| The implementation of O is a bit of a hack and has a few issues: - does not respect auto indentation settings - does not meaningfully repeat when given a count | |||||
| 2015-11-03 | vis: make single character replace (r command) repeatable | Marc André Tanner | 1 | -7/+9 | |
| 2015-11-02 | vis: make I command repeatable | Marc André Tanner | 1 | -0/+6 | |
| 2015-11-02 | vis: make append (a and A) commands repeatable | Marc André Tanner | 1 | -0/+20 | |
| 2015-10-31 | vis: adapt some comments to new input handling code | Marc André Tanner | 1 | -8/+9 | |
| 2015-10-27 | vis: make Vis an opaque type, hide implementaton details | Marc André Tanner | 1 | -34/+34 | |
