aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
AgeCommit message (Collapse)AuthorFilesLines
2015-12-20Make normal mode 'S' behave like in VimSilvan Jegen1-1/+1
2015-12-02vis: make <C-w>w an alias for <C-w>jMarc André Tanner1-0/+1
2015-11-28vis: implement = operator in terms of fmt(1)Marc André Tanner1-0/+1
2015-11-27vis: implement filter operator !Marc André Tanner1-0/+1
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-23vis: implement gaMarc André Tanner1-0/+1
2015-11-08vis: map <F1> to :helpMarc André Tanner1-0/+1
2015-11-08vis: reindent config.def.h (no functional changes)Marc André Tanner1-247/+284
2015-11-08vis: remove regex based syntax highlightingMarc André Tanner1-622/+0
2015-11-04vis: fix definition of space motionMarc André Tanner1-1/+1
We do not instruct libtermkey to specially report the space key. Hence it is not reported as <Space> but simply as a " " (0x20). Closes #89
2015-11-03vis: add some default bindings for <Delete>Marc André Tanner1-0/+3
2015-11-03vis: let libtermkey map <DEL> to <Backspace>Marc André Tanner1-5/+0
2015-11-02vis: map <DEL> to <Backspace>Marc André Tanner1-1/+5
Closes #87
2015-11-02vis: make I command repeatableMarc André Tanner1-1/+1
2015-11-02vis: make append (a and A) commands repeatableMarc André Tanner1-2/+2
2015-10-27vis: map C-c to leave insert modeMarc André Tanner1-1/+1
2015-10-26vis: move key handling functions to main.cMarc André Tanner1-1194/+5
2015-10-26vis: merge editor.c into vis.cMarc André Tanner1-7/+7
2015-10-25vis: clean up mark handlingMarc André Tanner1-2/+2
2015-10-25vis: convert jumplist navigation to proper motionsMarc André Tanner1-2/+2
2015-10-25vis: convert changelist navigation to proper motionsMarc André Tanner1-2/+2
2015-10-25vis: introduce vis_motion APIMarc André Tanner1-2/+2
2015-10-23vis: introduce vis_mode_switch APIMarc André Tanner1-1/+1
2015-10-23vis: begin librarization of core vis primitivesMarc André Tanner1-26/+0
2015-10-22vis: refactor startup codeMarc André Tanner1-5/+0
2015-10-22vis: remove config selection based on argv[0]Marc André Tanner1-13/+0
I would still like to experiment with a busybox style editor multiplexer which behaves like vi(m), emacs or nano depending on argv[0].
2015-10-22vis: remove global state from key input handlingMarc André Tanner1-10/+0
2015-10-22vis: remove yet more global stateMarc André Tanner1-4/+4
2015-10-22vis: pass editor instance to keyboard action functionsMarc André Tanner1-1/+1
2015-10-22vis: pass editor instance to mode handling functionsMarc André Tanner1-15/+15
2015-10-22vis: improve :help text, add separate status mode namesMarc André Tanner1-4/+15
2015-10-22vis: correct typos in help textDavid B. Lamkins1-18/+18
2015-10-15vis: alias <C-h> to <Backspace>Marc André Tanner1-0/+4
libtermkey-0.18 does no longer treat them as equal.
2015-10-14vis: fix name clash of keyboard actionsMarc André Tanner1-2/+2
2015-10-14ui: refactor syntax style definitionsMarc André Tanner1-142/+158
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-11vis: properly ignore tab at command promptMarc André Tanner1-1/+7
Closes #77
2015-10-05vis: add rudimentary :help commandMarc André Tanner1-0/+1
2015-10-05vis: introduce keyboard actionsMarc André Tanner1-262/+1172
This adds another level of indirection by defining keyboard actions which will likely eventually be used by a :map command.
2015-10-05vis: remove now unused common_prefix mode attributeMarc André Tanner1-1/+0
2015-10-05vis: consolidate all text objects into one modeMarc André Tanner1-13/+2
2015-10-05vis: update mode diagram in config.def.h to be closer to realityMarc André Tanner1-25/+17
2015-10-05vis: convert mark handling to new input handling codeMarc André Tanner1-117/+5
2015-10-05vis: convert insertion of register from insert modeMarc André Tanner1-38/+2
2015-10-05vis: convert register specification to new input handling codeMarc André Tanner1-39/+3
2015-10-05vis: change key binding function prototypesMarc André Tanner1-1/+1
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-05vis: rework input handling using libtermkeyMarc André Tanner1-420/+414
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-09-06ui: differentiate between Ctrl-J and enterMarc André Tanner1-2/+4
Thus enter no longer creates new cursors, use CTRL-j instead. Closes #69
2015-08-15Improve shell highlightingDmitry Bogatov1-1/+7
* lower case variables names are now recognized * special variables ($?, $*, etc) are treated specially * non-sense, like ${foo is not treated as variable reference anymore
2015-08-06Add APL syntax highlighting.David B. Lamkins1-0/+35
2015-08-06vis: implement gv to restore last selectionMarc André Tanner1-0/+1
2015-08-06vis: implement al and il text objectsMarc André Tanner1-0/+2