| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2020-09-20 | Merge branch 'emg-add-ignorecase' of https://github.com/deepcube/vis into master | Marc André Tanner | 1 | -1/+2 | |
| 2020-09-19 | Add ignorecase option | Evan Gates | 1 | -1/+2 | |
| Add a global ignorecase boolean option. When set add REG_ICASE to cflags when calling text_regex_compile(). | |||||
| 2020-09-17 | Pass up terminal CSI as events to Lua. | Ez Diy | 1 | -0/+15 | |
| 2020-07-17 | support for primary clipboard | Jeremy Bobbin | 1 | -0/+1 | |
| 2020-05-12 | vis: cleanup pre-processing of :-commands | Marc André Tanner | 1 | -5/+5 | |
| Not sure why we need to allocate space for an additional character. This also avoids creating out of bound pointers. | |||||
| 2020-03-18 | Merge branch 'single-cursor-is-primary' of https://github.com/3dc1d3/vis | Marc André Tanner | 1 | -2/+1 | |
| 2020-03-17 | color-column: Don't change fg/bg if not set explicitly | Gennadiy Volkov | 1 | -1/+6 | |
| eg. if your long line is a comment with green fg, and you set your column color bg red while not specifying the fg, then the result is green fg on red bg. Prior to this change the result would be default fg on red bg, thus one char in the long line of green text would look odd/wrong. Of course if you do explicitly set the column color fg to default in your theme then the result will not be what you expect - ideally we need an UNSPECIFIED color type instead of relying on DEFAULT. | |||||
| 2020-03-17 | Set single cursor style as primary, not secondary | Gennadiy Volkov | 1 | -2/+1 | |
| 2020-02-07 | vis: restore mode when dot-repeating | Georgi Kirilov | 1 | -0/+1 | |
| 2020-02-07 | Merge branch 'fix-cc-cell' of https://github.com/zsugabubus/vis | Marc André Tanner | 1 | -5/+6 | |
| 2020-02-04 | vis: make core code more robust | Marc André Tanner | 1 | -13/+41 | |
| 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 | |||||
| 2020-01-27 | vis: make r<Enter> insert a new line | Marc André Tanner | 1 | -1/+1 | |
| Special case <C-v><Enter> to still insert a carriage return as discussed in #656 and changed in 2cfc9c867bdfd4cc3ae3246f31cf636633fe1a5f. Due to limitations of the current implementation <C-v> is not generic, i.e. combining it as r<C-v><Enter> will not work. Fixes #765 | |||||
| 2020-01-27 | vis: pass absolute path to pre/post save events | Marc André Tanner | 1 | -1/+1 | |
| 2020-01-26 | vis: don't search off screen when highlighting matches | Georgi Kirilov | 1 | -1/+2 | |
| 2020-01-12 | vis: don't draw colorcolumn after the end | zsugabubus | 1 | -5/+6 | |
| Check for end-of-text. | |||||
| 2018-05-30 | vis: add loadmethod option | Marc André Tanner | 1 | -1/+1 | |
| Valid values are `read`, `mmap` or `auto`. | |||||
| 2018-05-16 | vis: remove v and V in operator pending mode | Marc André Tanner | 1 | -1/+1 | |
| 2018-01-26 | vis: insert carriage return upon <C-v><C-j> in insert mode | Marc André Tanner | 1 | -1/+1 | |
| Fix #656 | |||||
| 2017-12-09 | vis: make selections visible when lua support has been disabled | Marc André Tanner | 1 | -2/+6 | |
| When the fore and background colors are the same, swapping them has no effect. Instead use the specified cell attributes. Previously the CELL_ATTR_REVERSE used in the default selection style was ignored. In general the default style definitions for non-Lua builds could probably be improved further. Fix #635 | |||||
| 2017-11-04 | vis: take symbolic keys into account when evaluating key prefixes | Marc André Tanner | 1 | -6/+32 | |
| Previously `ci<` would have no immediate effect because in operator pending mode `i<` was wrongly treated as a powwible prefix of `i<Tab>`. Fix #624 | |||||
| 2017-09-15 | vis: remove ! operator | Marc André Tanner | 1 | -11/+1 | |
| Use visual mode and :| to filter text through external commands. The mapping was already reused for selection complement. | |||||
| 2017-07-23 | vis: use strncpy to copy into fixed sized buffer | Marc André Tanner | 1 | -1/+1 | |
| In practice this was never an issue also it is guaranteed that the terminating zero byte is already there. Fixes coverity issue 157023. | |||||
| 2017-07-23 | vis: only draw selections of currently active window | Marc André Tanner | 1 | -2/+3 | |
| This should make it easier to see which window is focused. | |||||
| 2017-07-17 | vis: specify window in mark related API | Marc André Tanner | 1 | -1/+1 | |
| This should also fix coverity issue 157024. | |||||
| 2017-07-14 | vis: use distinct mark to save last selections | Marc André Tanner | 1 | -1/+13 | |
| This partially reverts f9e2b884c15919757651db8b10c033a344a19e75 further jumps after leaving visual mode should not break `gv`. | |||||
| 2017-07-14 | vis-lua: make selection first class primitives in Lua API | Marc André Tanner | 1 | -1/+1 | |
| 2017-07-11 | Revert "vis: process aliased key sequences individually" | Marc André Tanner | 1 | -12/+2 | |
| This reverts commit 54ca598fcccff8844bfbe494cd3b325b2fea487f. The key handling functions are called too often. This for example causes problems for `r` (replace char) in combination with :langmap. | |||||
| 2017-07-10 | vis: let '^ mark point to top of jump list | Marc André Tanner | 1 | -11/+1 | |
| 2017-07-10 | vis: implement jump list in terms of marks | Marc André Tanner | 1 | -20/+7 | |
| 2017-07-08 | vis: cleanup marks implementation | Marc André Tanner | 1 | -16/+1 | |
| 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 | -11/+9 | |
| The key binding remain the same, but the selections are now stored on a per-buffer basis. | |||||
| 2017-07-04 | vis: implement `gv` by means of new "^ register | Marc André Tanner | 1 | -12/+10 | |
| This window local register holds the last active selections. | |||||
| 2017-07-04 | vis: process aliased key sequences individually | Marc André Tanner | 1 | -2/+12 | |
| While the complete alias is added to the input queue, the called key bindings should only see the keys they have asked for. Previously a mapping such as: :map! normal gv \"^Sv did not work as expected because the key binding for the register did reject an invalid multi letter register name. Might also influence #581 | |||||
| 2017-06-27 | vis: properly set initial window ui options | Marc André Tanner | 1 | -1/+2 | |
| This should keep the EOF markers visible when another option is enabled. The whole UI option handling is a bit of a mess. In the longterm more of the drawing code should be moved into Lua. | |||||
| 2017-06-27 | Merge branch 'show-eof' of https://github.com/p-e-w/vis | Marc André Tanner | 1 | -1/+1 | |
| Conflicts: view.c view.h | |||||
| 2017-06-27 | Merge branch 'theme-tweaks-2' of https://github.com/p-e-w/vis | Marc André Tanner | 1 | -1/+1 | |
| Conflicts: view.c | |||||
| 2017-06-15 | vis: normalize selections after motions | Marc André Tanner | 1 | -0/+4 | |
| Merge overlapping selections. Fix #582 | |||||
| 2017-06-15 | view: do not automatically anchor selections when setting range | Marc André Tanner | 1 | -1/+3 | |
| 2017-06-15 | vis: rename uses of Cursor to Selection | Marc André Tanner | 1 | -45/+45 | |
| 2017-06-15 | view: rename view_cursors | Marc André Tanner | 1 | -7/+7 | |
| 2017-06-15 | view: rename view_cursors_number | Marc André Tanner | 1 | -1/+1 | |
| 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 | -7/+7 | |
| 2017-06-15 | view: rename view_cursors_prev | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_selection_save | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: rename view_cursors_selection_get | Marc André Tanner | 1 | -6/+6 | |
| 2017-06-15 | view: rename view_cursors_primary_{get,set} | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: rename view_cursors_dispose | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: remove view_cursors_multiple | Marc André Tanner | 1 | -3/+3 | |
| 2017-06-15 | vis: promote selections to first class primitives | Marc André Tanner | 1 | -25/+8 | |
| This unifies cursors and selections. The cursor are now represendted as singleton selections. | |||||
