| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2023-07-18 | Add fullscreen param to vis_pipe_collect() and Lua API vis:pipe() | Jörg Bakker | 1 | -1/+4 | |
| This enables restoring the terminal from a fullscreen command like curses based program. Use cases are e.g. a file picker based on some external program like nnn (https://github.com/jarun/nnn). | |||||
| 2023-06-22 | Lua API: allow nil in vis:pipe() File and Range parameters | Jörg Bakker | 1 | -5/+13 | |
| 2023-03-19 | implement Selection:remove() | Jeremy Bobbin | 1 | -0/+13 | |
| 2022-11-29 | fix miscellaneous spelling mistakes | Nick Hanley | 1 | -9/+9 | |
| 2022-08-19 | Revert "vis-lua: support themes in vis:message" | Evan Gates | 1 | -5/+1 | |
| This reverts commit 22d4709e8a30c8feb9b4da7d78e0ea6a57af83e8. erf mentioned[0] that this change broke a plugin. Revert for now until have time to implement it without that bug. [0] https://github.com/martanne/vis/issues/1034 | |||||
| 2022-06-15 | vis-lua: support themes in vis:message | Evan Gates | 1 | -1/+5 | |
| The commit that added vis:message[0] used the existing vis_message_show function which is used internaly to display lua stack traces. That function uses the internal error_file. vis_event_emit does not trigger events for internal files in order to avoid extra lua errors when already printing a lua stack trace[1]. Due to this setup any usage of vis:message showed the text in a window with default theme/syntax/status bar colors. Instead of using the internal vis_message_show function, create a new window and file that are not marked internal in the same manner as cmd_help so themes are applied. [0]: d815268 (vis-lua: implement vis:message(msg)) [1]: d555c90 (vis: properly redraw status bar of windows displaying internal files) | |||||
| 2020-12-29 | vis-lua: provide file.permission property | Marc André Tanner | 1 | -0/+10 | |
| These are the permission bits of struct stat's st_mode field at the time of the most recent load/save. Close #861 | |||||
| 2020-12-10 | fix typos in comments | Moesasji | 1 | -4/+4 | |
| 2020-09-20 | Merge branch 'csi_event' of https://github.com/ezdiy/vis into master | Marc André Tanner | 1 | -0/+21 | |
| 2020-09-17 | vis-lua: provide vis.mark property | Marc André Tanner | 1 | -0/+17 | |
| 2020-09-17 | vis-lua: use utility function to translate mark names | Marc André Tanner | 1 | -9/+7 | |
| 2020-09-17 | vis-lua: provide vis.register property | Marc André Tanner | 1 | -0/+17 | |
| 2020-09-17 | vis-lua: use utility function to translate register names | Marc André Tanner | 1 | -9/+7 | |
| 2020-09-17 | vis-lua: fix mark_names Lua doc indentation | Marc André Tanner | 1 | -3/+3 | |
| 2020-09-17 | Pass up terminal CSI as events to Lua. | Ez Diy | 1 | -0/+21 | |
| 2020-08-14 | vis-lua: fix redraw method name in API documentation | Marc André Tanner | 1 | -1/+1 | |
| 2020-08-14 | vis-lua: make file.modified assignable | Marc André Tanner | 1 | -1/+22 | |
| We fake a modification by doing an insertion followed by a deletion which does not actually change the buffer content. Close #855 | |||||
| 2020-02-24 | vis-lua: implement vis:redraw() | Marc André Tanner | 1 | -0/+13 | |
| 2020-02-24 | lua: fix documentation typos and errors | Georgi Kirilov | 1 | -2/+2 | |
| 2020-02-10 | vis-lua: avoid string memory leaks in error case | Marc André Tanner | 1 | -6/+3 | |
| The function lua_pushstring can throw an error, meaning it will setjmp(3) out thereby leaking the allocated memory. By using lua_newuserdata we let Lua free the memory during a GC run. | |||||
| 2020-02-07 | lua: add <plugin>/init.lua to package.path | Georgi Kirilov | 1 | -2/+4 | |
| 2020-02-04 | vis: make core code more robust | Marc André Tanner | 1 | -1/+1 | |
| The core vis code was originally written under the assumption that there always exists at least one window. However, when being called from the Lua configuration file during start up this is not yet the case. In general, Lua code should always be placed within appropriate event handlers e.g. vis.events.INIT for global configuration. Invoking API functions depending on an active window from top level statements is not supported. Where before the editor simply crashed, these changes turn such code sections into NOPs. Fix #561 | |||||
| 2018-05-17 | vis: simplify C status bar drawing code | Marc André Tanner | 1 | -11/+7 | |
| 2018-05-17 | vis: display count/input queue content in status bar | Marc André Tanner | 1 | -0/+7 | |
| Fix #695 | |||||
| 2018-05-17 | vis-lua: expose current input_queue content | Marc André Tanner | 1 | -0/+9 | |
| 2018-05-16 | vis: remove v and V in operator pending mode | Marc André Tanner | 1 | -1/+1 | |
| 2018-01-01 | vis-open: fix for absolute and non-existent paths | Kelsey Judson | 1 | -0/+9 | |
| When the shell cannot find any matching files, the glob is not expanded, and vis-open will return the absolute path of the current working directory (because dirname outputs '.'), followed by the filename, followed by a literal '*'. This commit checks that the final path actually exists, and if not, exits with status 1. It also uses text_object_longword for the range to match, so that absolute paths are accepted, and replaced properly (else it only works back to the first '/'). | |||||
| 2017-11-21 | vis-lua: implement window:close | Marc André Tanner | 1 | -0/+28 | |
| 2017-11-21 | vis-lua: do not enumerate internal windows | Marc André Tanner | 1 | -5/+8 | |
| This for example skips the command prompt window. | |||||
| 2017-07-23 | vis-lua: move marks array to window object | Marc André Tanner | 1 | -27/+29 | |
| Some marks (only '^ right now) are window specific while others have file file scope. This distinction is currently hidden in the API. Before this commit file.marks[...] would always operate on the currently active window. | |||||
| 2017-07-17 | vis: specify window in mark related API | Marc André Tanner | 1 | -2/+2 | |
| This should also fix coverity issue 157024. | |||||
| 2017-07-14 | vis-lua: make selection first class primitives in Lua API | Marc André Tanner | 1 | -83/+111 | |
| 2017-07-11 | vis: cleanup register related API | Marc André Tanner | 1 | -15/+30 | |
| Also expose all register slots through the Lua API. | |||||
| 2017-07-11 | vis-lua: represent marks as array of ranges | Marc André Tanner | 1 | -21/+34 | |
| 2017-07-08 | vis: cleanup marks implementation | Marc André Tanner | 1 | -2/+2 | |
| We now use ' to refer to marks. Mark a is set using 'am and restored using 'aM while this is slightly harder to type than ma and 'a it is consistent with register usage for yank/put and allows a default mark to be used which is handy for quick selection manipulation primitives. | |||||
| 2017-07-07 | vis: use marks instead of registers to store selections | Marc André Tanner | 1 | -6/+14 | |
| The key binding remain the same, but the selections are now stored on a per-buffer basis. | |||||
| 2017-06-27 | Merge branch 'theme-tweaks-2' of https://github.com/p-e-w/vis | Marc André Tanner | 1 | -13/+14 | |
| Conflicts: view.c | |||||
| 2017-06-15 | view: do not automatically anchor selections when setting range | Marc André Tanner | 1 | -2/+4 | |
| 2017-06-15 | vis: rename uses of Cursor to Selection | Marc André Tanner | 1 | -36/+36 | |
| 2017-06-15 | view: rename view_cursors | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: rename view_cursors_number | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: rename view_cursors_count | Marc André Tanner | 1 | -3/+3 | |
| 2017-06-15 | view: rename view_cursors_next | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: rename view_cursors_selection_clear | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_selection_get | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: rename view_cursors_primary_{get,set} | Marc André Tanner | 1 | -4/+4 | |
| 2017-06-10 | More theme improvements | Philipp Emanuel Weidmann | 1 | -13/+14 | |
| 2017-05-27 | vis-lua: avoid nil values in table returned by vis:mapping | Marc André Tanner | 1 | -1/+2 | |
| Also fix compilation with ./configure --disable-help. | |||||
| 2017-05-27 | vis-lua: expose functions to unmap key bindings | Marc André Tanner | 1 | -0/+40 | |
| 2017-05-27 | vis-lua: expose currently active key bindings through API | Marc André Tanner | 1 | -0/+38 | |
| Close #563 | |||||
