| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 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 | |
| 2015-10-27 | vis: introduce vis_prompt_enter API | Marc André Tanner | 1 | -19/+2 | |
| 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 | 1 | -56/+4 | |
| 2015-10-27 | vis: introduce pseudo operators for put | Marc André Tanner | 1 | -13/+4 | |
| 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 | 1 | -11/+2 | |
| 2015-10-26 | vis: introduce explicit operators for case changes | Marc André Tanner | 1 | -11/+3 | |
| 2015-10-26 | vis: move key handling functions to main.c | Marc André Tanner | 1 | -2/+1641 | |
| 2015-10-23 | vis: begin librarization of core vis primitives | Marc André Tanner | 1 | -0/+35 | |
| 2014-09-09 | Rename vis.[ch] to editor.[ch] and main.c to vis.c | Marc André Tanner | 1 | -1002/+0 | |
| 2014-09-09 | Unclutter config.def.h by moving stuff to main.c | Marc André Tanner | 1 | -5/+688 | |
| 2014-09-09 | Open all files given on command line | Marc André Tanner | 1 | -2/+6 | |
| 2014-09-09 | Add infrastructure for commands | Marc André Tanner | 1 | -0/+10 | |
| 2014-09-09 | Fix a few memory leaks | Marc André Tanner | 1 | -2/+3 | |
| 2014-09-09 | Change mode input prototype | Marc André Tanner | 1 | -1/+1 | |
| 2014-09-08 | Improve undo/redo | Marc André Tanner | 1 | -2/+6 | |
| Currently a snapshot is taken whenever an operator is completed or a certain idle time in either insert or replace mode is detected. | |||||
| 2014-09-08 | Hook up search as a movement | Marc André Tanner | 1 | -10/+0 | |
| 2014-09-08 | Add user prompt infrastructure | Marc André Tanner | 1 | -2/+2 | |
| This is implemented by means of an one line height editor window and a set of custom key bindings. | |||||
| 2014-09-05 | Cleanup vis.h | Marc André Tanner | 1 | -0/+83 | |
| 2014-09-04 | Skip modes with common prefix if it does not match | Marc André Tanner | 1 | -0/+2 | |
| 2014-09-04 | Implement movement to a given line | Marc André Tanner | 1 | -10/+0 | |
| 2014-09-04 | Factor out getkey logic | Marc André Tanner | 1 | -27/+30 | |
| 2014-09-03 | Enable text objects, introduce operator options | Marc André Tanner | 1 | -4/+2 | |
| 2014-09-01 | Refactor frontend code | Marc André Tanner | 1 | -0/+234 | |
| window.[ch] now contains a somewhat generic editor window which is then enhanced in vis.[ch] with a statusbar. | |||||
