aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-03vis: make open line commands (o and O) repeatableMarc André Tanner1-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-03vis: make single character replace (r command) repeatableMarc André Tanner1-7/+9
2015-11-03vis: add vis_keys_inject to place keys into the input queueMarc André Tanner2-6/+25
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-03buffer: add buffer_insert to insert data at an arbitrary positionMarc André Tanner2-10/+23
Use it to implement buffer_{pre,ap}pend.
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é Tanner2-6/+1
2015-11-02vis: map <DEL> to <Backspace>Marc André Tanner1-1/+5
Closes #87
2015-11-02text: return end of changed range in text_redoMarc André Tanner1-0/+2
This affects the cursor placement when redoing changes in single cursor mode. Closes #42
2015-11-02vis: free input_queue at exitVirgile Andreani1-0/+1
2015-11-02vis: make I command repeatableMarc André Tanner2-1/+7
2015-11-02vis: let keys entered via API affect macro recordingMarc André Tanner1-4/+5
2015-11-02vis: make append (a and A) commands repeatableMarc André Tanner3-4/+32
2015-11-02vis: improve count handling for dot commandMarc André Tanner1-2/+12
2015-11-02vis: improve dot commandMarc André Tanner2-55/+92
Use an implicit macro to make changes in insert/replace mode repeatable.
2015-10-31travis: try to fix build once moreMarc André Tanner1-3/+3
2015-10-31vis: adapt some comments to new input handling codeMarc André Tanner1-8/+9
2015-10-31view: make zb command more robustMarc André Tanner1-4/+2
The new approach first scrolls the window up such that the current cursor line lies below the current visible area, then the viewport is adjusted until the line is once again visible (at the bottom of the window). Closes #85
2015-10-29build: introduce make local Makefile targetMarc André Tanner2-9/+44
This merges parts of the build system overhaul found in the lua branch.
2015-10-27ui: make color parsing more robustMarc André Tanner1-0/+2
2015-10-27vis: map C-c to leave insert modeMarc André Tanner1-1/+1
2015-10-27ui: properly restore terminal state upon exitMarc André Tanner1-2/+5
2015-10-27Update source tree overview section in READMEMarc André Tanner1-2/+2
2015-10-27build: merge parts of the build system changes from lua branchMarc André Tanner2-14/+15
Should hopefully fix build on Mac OS X.
2015-10-27vis: make Vis an opaque type, hide implementaton detailsMarc André Tanner4-137/+151
2015-10-27vis: introduce vis_macro_recording APIMarc André Tanner3-1/+6
2015-10-27vis: introduce vis_prompt_enter APIMarc André Tanner3-28/+24
This is a really bad API/abtraction but at least it allows us to hide some implementation details.
2015-10-27vis: clean up tab/newline insertion codeMarc André Tanner3-60/+48
2015-10-27vis: introduce pseudo operators for putMarc André Tanner3-35/+34
In principle put is not really an operator, however it still should be repeatable and respect count.
2015-10-26vis: introduce explicit operators for cursor creationMarc André Tanner3-14/+11
2015-10-26vis: introduce explicit operators for case changesMarc André Tanner3-19/+27
2015-10-26vis: move key handling functions to main.cMarc André Tanner5-1978/+2030
2015-10-26vis: merge editor.c into vis.cMarc André Tanner8-913/+837
2015-10-25vis: introduce vis_key_next APIMarc André Tanner2-5/+5
2015-10-25vis: introduce vis_register_{get,set} APIMarc André Tanner2-6/+29
2015-10-25vis: introduce vis_count_{get,set} APIMarc André Tanner2-9/+22
2015-10-25vis: introduce vis_motion_type APIMarc André Tanner2-1/+12
2015-10-25vis: clean up mark handlingMarc André Tanner4-23/+24
2015-10-25vis: convert jumplist navigation to proper motionsMarc André Tanner5-59/+45
2015-10-25vis: convert changelist navigation to proper motionsMarc André Tanner5-48/+52
2015-10-25vis: introduce vis_repeat APIMarc André Tanner2-5/+11
2015-10-25vis: introduce macro APIMarc André Tanner2-37/+83
2015-10-25vis: introduce vis_keys APIMarc André Tanner2-4/+5
2015-10-25vis: introduce vis_cmd APIMarc André Tanner2-4/+6
2015-10-25vis: introduce vis_textobject APIMarc André Tanner2-32/+39
2015-10-25vis: introduce vis_motion APIMarc André Tanner3-126/+151
2015-10-23vis: introduce vis_mode_switch APIMarc André Tanner3-15/+22
2015-10-23vis: introduce vis_operator APIMarc André Tanner2-23/+29
2015-10-23vis: begin librarization of core vis primitivesMarc André Tanner5-127/+154
2015-10-22vis: refactor startup codeMarc André Tanner2-32/+35
2015-10-22ui: introduce and use ui specific die(...) functionMarc André Tanner3-20/+26