| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-10-22 | vis: remove global state from key input handling | Marc André Tanner | 1 | -4/+7 | |
| 2015-10-22 | vis: remove yet more global state | Marc André Tanner | 1 | -53/+55 | |
| 2015-10-22 | vis: remove yet more global state from motion functions | Marc André Tanner | 1 | -13/+13 | |
| 2015-10-22 | vis: rename motion type | Marc André Tanner | 1 | -9/+9 | |
| 2015-10-22 | vis: remove more global state from motion functions | Marc André Tanner | 1 | -39/+41 | |
| 2015-10-22 | vis: pass editor instance to keyboard action functions | Marc André Tanner | 1 | -165/+165 | |
| 2015-10-22 | vis: remove more global state | Marc André Tanner | 1 | -23/+23 | |
| 2015-10-22 | vis: pass editor instance to command handling funcitons | Marc André Tanner | 1 | -57/+57 | |
| 2015-10-22 | vis: pass editor instance to mode handling functions | Marc André Tanner | 1 | -4/+4 | |
| 2015-10-22 | vis: refactor operator implementation | Marc André Tanner | 1 | -33/+26 | |
| Pass editor instance and text to operate on as parameter instead of using global state. | |||||
| 2015-10-22 | vis: include :-commands in :help output | Marc André Tanner | 1 | -0/+4 | |
| 2015-10-22 | vis: improve :help text, add separate status mode names | Marc André Tanner | 1 | -5/+20 | |
| 2015-10-15 | vis: preserve ui options when splitting windows | Marc André Tanner | 1 | -2/+8 | |
| Closes #72 | |||||
| 2015-10-14 | vis: introduce special keys which allow mappings to editor actions | Marc André Tanner | 1 | -1/+32 | |
| Key bindings in vis are always recursive, hence mapping ~ to ~l will cause an infinite loop. Instead vis supports special editor "keys" which map to internal editor functions. As an example one can thus map ~ to <vis-operator-case-swap>l or even <vis-operator-case-swap><cursor-char-next> Furthermore this makes it possible to completely unmap core editor features such as operators, the corresponding funtionality is still available via its corresponding special key. | |||||
| 2015-10-14 | view: cleanup whitespace replacement symbol handling | Marc André Tanner | 1 | -5/+5 | |
| 2015-10-14 | view: cleanup option handling | Marc André Tanner | 1 | -6/+20 | |
| 2015-10-14 | ui: refactor syntax style definitions | Marc André Tanner | 1 | -1/+1 | |
| Styles can now be specified as strings which will make them easier to specify from outside the editor. The following style attributes can be given in a comma separated list: bold italics underlined fore:color back:color where color is either a hex value of the form #aabbcc or one of the predefined colors: black red green yellow blue magenta cyan white | |||||
| 2015-10-11 | vis: properly ignore tab at command prompt | Marc André Tanner | 1 | -0/+6 | |
| Closes #77 | |||||
| 2015-10-05 | vis: add rudimentary :help command | Marc André Tanner | 1 | -0/+35 | |
| 2015-10-05 | vis: fix key alias implementation | Marc André Tanner | 1 | -0/+1 | |
| 2015-10-05 | vis: introduce keyboard actions | Marc André Tanner | 1 | -47/+9 | |
| This adds another level of indirection by defining keyboard actions which will likely eventually be used by a :map command. | |||||
| 2015-10-05 | vis: add rudimentary support for key aliases | Marc André Tanner | 1 | -4/+9 | |
| This will eventually be exposed via a :map style command. | |||||
| 2015-10-05 | vis: cleanup keyboard handling implementation | Marc André Tanner | 1 | -24/+29 | |
| 2015-10-05 | vis: convert mark handling to new input handling code | Marc André Tanner | 1 | -12/+37 | |
| 2015-10-05 | vis: convert insertion of register from insert mode | Marc André Tanner | 1 | -4/+7 | |
| 2015-10-05 | vis: convert register specification to new input handling code | Marc André Tanner | 1 | -2/+10 | |
| 2015-10-05 | vis: convert macro recording / replay to new input handling code | Marc André Tanner | 1 | -16/+19 | |
| 2015-10-05 | vis: convert insert verbatim to new input handling code | Marc André Tanner | 1 | -18/+19 | |
| 2015-10-05 | vis: convert to/till movements to new input handling | Marc André Tanner | 1 | -7/+5 | |
| 2015-10-05 | vis: adapt r (replace) to new input handling | Marc André Tanner | 1 | -6/+7 | |
| 2015-10-05 | vis: change key binding function prototypes | Marc André Tanner | 1 | -189/+252 | |
| The idea is to work more like a finite state machine. Every function gets an additional argument keys which holds the already read keyboard input. The return value of the functions should point to the first not consumed key. A return value of NULL indicates that more input is needed. The function will be called again from the editor core when more input is available. These changes are mostly mechanical and in many cases not optimal, they will be cleaned up in further commits. | |||||
| 2015-10-05 | vis: rework input handling using libtermkey | Marc André Tanner | 1 | -83/+95 | |
| Key bindings are now specified as symbolic key strings, this will eventually allow run time configurable key mappings. This introduces a bulid time dependency on libtermkey which can be found at: http://www.leonerd.org.uk/code/libtermkey/ | |||||
| 2015-08-09 | vis: fix :edit! command | Marc André Tanner | 1 | -2/+3 | |
| It now correctly re-edits the file (i.e reloads it from disk). | |||||
| 2015-08-09 | vis: fix repeated use of file open dialog | Marc André Tanner | 1 | -1/+1 | |
| 2015-08-09 | vis: cancelling wildcard open causes crash | David B. Lamkins | 1 | -1/+1 | |
| Closes #65 | |||||
| 2015-08-08 | text: rename some functions to improve consistency | Marc André Tanner | 1 | -4/+4 | |
| 2015-08-08 | text: introduce helper function text_delete_range | Marc André Tanner | 1 | -5/+4 | |
| 2015-08-07 | vis: limit to/till movements to current line | Marc André Tanner | 1 | -2/+2 | |
| 2015-08-06 | vis: implement gv to restore last selection | Marc André Tanner | 1 | -0/+8 | |
| 2015-08-06 | vis: implement al and il text objects | Marc André Tanner | 1 | -0/+4 | |
| 2015-08-06 | vis: implement gp and gP add count support to put operations | Marc André Tanner | 1 | -13/+42 | |
| 2015-08-02 | vis: use file open dialog also for :edit | Marc André Tanner | 1 | -1/+1 | |
| 2015-08-02 | vis: use I and A instead of CTRL-O for new cursors in visual mode | Marc André Tanner | 1 | -2/+16 | |
| I and A creates a new cursor at start/end of every selected line. | |||||
| 2015-08-02 | vis: add text objects `af` and `if` | Marc André Tanner | 1 | -0/+4 | |
| They try to match C-like function definitions. The inner variant only contains the function body. | |||||
| 2015-08-02 | vis: add motions [[, [], ][, ]] | Marc André Tanner | 1 | -0/+8 | |
| They behave not like in vim, but instead try to find the start/end of C-like function definitions. The first character stands for the direction [ for backwards, ] for forwards. The second character denotes the start [ or end ] respectively. | |||||
| 2015-08-01 | vis: support `ae` and `ie` text objects | Marc André Tanner | 1 | -0/+4 | |
| 2015-08-01 | view: hide API to free main cursor | Marc André Tanner | 1 | -1/+1 | |
| 2015-07-31 | vis: cleanup handling of charwise/linewise motions | Marc André Tanner | 1 | -80/+55 | |
| Also text objects in visual mode should now work better. | |||||
| 2015-07-28 | vis: fix one more coverity scan warning | Marc André Tanner | 1 | -2/+2 | |
| With the current code this will never cause a NULL dereference since it is checked at the call site. However it makes sense to check it anyway. | |||||
| 2015-07-28 | vis: fix bugs uncovered by coverity scan | Marc André Tanner | 1 | -2/+4 | |
