| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-11-08 | Update README | Marc André Tanner | 1 | -1/+30 | |
| 2015-11-08 | vis: factor out syntax highlighting code | Marc André Tanner | 3 | -47/+62 | |
| The view_draw function renders the text into the cells array and resyncs the cursor position. The syntax highlighting is applied in view_update, which also instructs the ui to update. | |||||
| 2015-11-08 | vis: implement :set theme | Marc André Tanner | 3 | -3/+36 | |
| 2015-11-08 | vis: implement :set cursorline | Marc André Tanner | 5 | -0/+30 | |
| 2015-11-08 | vis: experimental support for lua/lpeg based syntax highlighting | Marc André Tanner | 11 | -48/+499 | |
| The lua based lexers are searched in the following order: $VIS_PATH/lexers $HOME/.vis/lexers /usr/share/vis/lexers followed by the standard lua package.path | |||||
| 2015-11-08 | Overhaul build system | Marc André Tanner | 2 | -6/+122 | |
| Add separate per library {C,LD}FLAGS and use default values from pkg-config to allow for finer control. Disable pkg-config by setting PKG_CONFIG_PATH= PKG_CONFIG_LIBDIR= Override flags completely by specifying them as arguments to make: $ make CFLAGS_CURSES="your custom flags for curses" Also introduce a new, experimental Makefile target standalone. It tries to build a self contained statically linked vis binary. All dependencies (musl, ncurses, termkey, lua, lpeg) are build from source. Lua is patched to include lpeg as a statically built module. | |||||
| 2015-11-08 | Import LPeg based lexers from Scintillua 3.6.1-1 | Marc André Tanner | 108 | -0/+11252 | |
| These are Copyright (c) 2007-2015 Mitchell and released under the MIT license. | |||||
| 2015-11-08 | vis: remove regex based syntax highlighting | Marc André Tanner | 10 | -792/+17 | |
| 2015-11-08 | vis: more comments and cleanups | Marc André Tanner | 4 | -96/+84 | |
| 2015-11-07 | text-motion: do not treat ' as string delimiter in match bracket | Marc André Tanner | 1 | -2/+2 | |
| Currently symbols inside a string are ignored. This means that if the opening (closing) symbol is inside (outside) the string while the closing (opening) one is outside (inside), it will not be matched. It is not yet clear whether this "optimization" is useful. Closes #97 | |||||
| 2015-11-07 | vis: shadow default register while in prompt mode | Marc André Tanner | 2 | -2/+12 | |
| Editing operation in prompt mode should not affect the default register. | |||||
| 2015-11-07 | vis: prefix enum VisMotion values with VIS_ | Marc André Tanner | 6 | -264/+225 | |
| 2015-11-07 | vis: tweak enum VisTextObject names | Marc André Tanner | 3 | -78/+78 | |
| 2015-11-07 | vis: prefix enum VisOperator values with VIS_ | Marc André Tanner | 6 | -101/+88 | |
| 2015-11-07 | vis: API documentation and cleanup | Marc André Tanner | 7 | -99/+151 | |
| 2015-11-07 | vis: introduce vis_cancel API | Marc André Tanner | 4 | -8/+13 | |
| 2015-11-07 | vis: move modes into separate file | Marc André Tanner | 3 | -282/+287 | |
| 2015-11-07 | vis: move operators to separate file | Marc André Tanner | 4 | -238/+247 | |
| 2015-11-07 | vis: move motions to separate file | Marc André Tanner | 4 | -262/+272 | |
| 2015-11-07 | vis: move :-commands into their own file | Marc André Tanner | 4 | -1206/+1230 | |
| 2015-11-06 | vis: fix cursor position after charwise paste | Marc André Tanner | 1 | -0/+7 | |
| p and P should leave the cursor on the last inserted character to ease repetition. Closes #92 | |||||
| 2015-11-06 | vis: do something reasonable upon visual repeat | Marc André Tanner | 1 | -0/+4 | |
| We do currently deliberately not support visual repeat. However when there exist multiple cursors, repeating an operator, which acted on a previous visual selection, should not collapse the cursors. | |||||
| 2015-11-06 | vis: fix operators to correctly handle multiple selections | Marc André Tanner | 1 | -4/+8 | |
| Operators must not switch modes, they might be called multiple times (once for every cursor/selection). Closes #91. The concrete problem was that op_change for the first cursor switched to insert mode, which cleared all the remaining selections. Hence the other cursors had nothing to operate on. Reverts parts of d395687b. | |||||
| 2015-11-04 | vis: fix definition of space motion | Marc André Tanner | 1 | -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-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-03 | vis: add vis_keys_inject to place keys into the input queue | Marc André Tanner | 2 | -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-03 | buffer: add buffer_insert to insert data at an arbitrary position | Marc André Tanner | 2 | -10/+23 | |
| Use it to implement buffer_{pre,ap}pend. | |||||
| 2015-11-03 | vis: add some default bindings for <Delete> | Marc André Tanner | 1 | -0/+3 | |
| 2015-11-03 | vis: let libtermkey map <DEL> to <Backspace> | Marc André Tanner | 2 | -6/+1 | |
| 2015-11-02 | vis: map <DEL> to <Backspace> | Marc André Tanner | 1 | -1/+5 | |
| Closes #87 | |||||
| 2015-11-02 | text: return end of changed range in text_redo | Marc André Tanner | 1 | -0/+2 | |
| This affects the cursor placement when redoing changes in single cursor mode. Closes #42 | |||||
| 2015-11-02 | vis: free input_queue at exit | Virgile Andreani | 1 | -0/+1 | |
| 2015-11-02 | vis: make I command repeatable | Marc André Tanner | 2 | -1/+7 | |
| 2015-11-02 | vis: let keys entered via API affect macro recording | Marc André Tanner | 1 | -4/+5 | |
| 2015-11-02 | vis: make append (a and A) commands repeatable | Marc André Tanner | 3 | -4/+32 | |
| 2015-11-02 | vis: improve count handling for dot command | Marc André Tanner | 1 | -2/+12 | |
| 2015-11-02 | vis: improve dot command | Marc André Tanner | 2 | -55/+92 | |
| Use an implicit macro to make changes in insert/replace mode repeatable. | |||||
| 2015-10-31 | travis: try to fix build once more | Marc André Tanner | 1 | -3/+3 | |
| 2015-10-31 | vis: adapt some comments to new input handling code | Marc André Tanner | 1 | -8/+9 | |
| 2015-10-31 | view: make zb command more robust | Marc André Tanner | 1 | -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-29 | build: introduce make local Makefile target | Marc André Tanner | 2 | -9/+44 | |
| This merges parts of the build system overhaul found in the lua branch. | |||||
| 2015-10-27 | ui: make color parsing more robust | Marc André Tanner | 1 | -0/+2 | |
| 2015-10-27 | vis: map C-c to leave insert mode | Marc André Tanner | 1 | -1/+1 | |
| 2015-10-27 | ui: properly restore terminal state upon exit | Marc André Tanner | 1 | -2/+5 | |
| 2015-10-27 | Update source tree overview section in README | Marc André Tanner | 1 | -2/+2 | |
| 2015-10-27 | build: merge parts of the build system changes from lua branch | Marc André Tanner | 2 | -14/+15 | |
| Should hopefully fix build on Mac OS X. | |||||
| 2015-10-27 | vis: make Vis an opaque type, hide implementaton details | Marc André Tanner | 4 | -137/+151 | |
| 2015-10-27 | vis: introduce vis_macro_recording API | Marc André Tanner | 3 | -1/+6 | |
| 2015-10-27 | vis: introduce vis_prompt_enter API | Marc André Tanner | 3 | -28/+24 | |
| This is a really bad API/abtraction but at least it allows us to hide some implementation details. | |||||
