| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2017-07-08 | test: update | Marc André Tanner | 1 | -7/+5 | |
| 2017-07-08 | test/sam: add simple search replace unicode regression test | Marc André Tanner | 2 | -0/+6 | |
| 2017-07-08 | vis: perform more renames cursor -> selection | Marc André Tanner | 3 | -158/+160 | |
| To fix compilation you need to update (or remove) config.h. | |||||
| 2017-07-08 | view: keep but clear primary selection if instructed to replace all | Marc André Tanner | 1 | -1/+4 | |
| Previously the last selection was kept implicitly to statisfy the invariant that at least one selection needs to exist. | |||||
| 2017-07-08 | test/vis: add tests for set operations on selections | Marc André Tanner | 73 | -2/+295 | |
| Also rename some files and adjust to new mark key bindings. | |||||
| 2017-07-08 | vis: cleanup marks implementation | Marc André Tanner | 9 | -208/+161 | |
| 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 | 8 | -45/+81 | |
| The key binding remain the same, but the selections are now stored on a per-buffer basis. | |||||
| 2017-07-05 | text: limit write(2) calls to INT_MAX bytes | Marc André Tanner | 1 | -1/+1 | |
| Otherwise this fails on macOS. Fix #578 | |||||
| 2017-07-05 | vis: make sure all selections have same anchored state | Marc André Tanner | 3 | -10/+23 | |
| With the current model the differences between normal and visual mode is that in the latter selections are anchored (meaning one endpoint remains fixed), while in normal mode both endpoints can in principle be updated simultaneously (currently they are always colapsed to a singleton selection, giving the impression of cursors). | |||||
| 2017-07-04 | Remove conditional initialization from Makefile | George Brown | 1 | -7/+0 | |
| No longer needed after standalone build target was removed. | |||||
| 2017-07-04 | vis: implement `gv` by means of new "^ register | Marc André Tanner | 9 | -66/+20 | |
| 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-07-03 | Fix Unicode regex searches for libtre builds | Marc André Tanner | 1 | -6/+55 | |
| Fix #566 | |||||
| 2017-06-27 | man: Fix a typo | TwoFinger | 1 | -2/+2 | |
| 2017-06-27 | vis: properly set initial window ui options | Marc André Tanner | 2 | -2/+3 | |
| 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 | 7 | -3/+24 | |
| Conflicts: view.c view.h | |||||
| 2017-06-27 | Merge branch 'theme-tweaks-2' of https://github.com/p-e-w/vis | Marc André Tanner | 9 | -17/+24 | |
| Conflicts: view.c | |||||
| 2017-06-19 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2017-06-19 | test/vis: adapt to new trim selection key binding | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | vis: enable new selection manipulation primitives | Marc André Tanner | 1 | -8/+24 | |
| This is still very much work in progress. You will have to remove (or update) your local config.h file. | |||||
| 2017-06-15 | vis: normalize selections after pairwise combination | Marc André Tanner | 1 | -0/+26 | |
| 2017-06-15 | vis: implement pairwise selection combinator: rightmost | Marc André Tanner | 1 | -0/+15 | |
| 2017-06-15 | vis: implement pairwise selection combinator: leftmost | Marc André Tanner | 1 | -0/+15 | |
| 2017-06-15 | vis: implement pairwise selection combinator: shorter | Marc André Tanner | 1 | -0/+17 | |
| 2017-06-15 | vis: implement pairwise selection combinator: longer | Marc André Tanner | 1 | -0/+17 | |
| 2017-06-15 | vis: implement pairwise selection combinator: intersection | Marc André Tanner | 1 | -0/+13 | |
| 2017-06-15 | vis: implement pairwise selection combinator: union | Marc André Tanner | 2 | -0/+43 | |
| 2017-06-15 | vis: implement subtraction of selections | Marc André Tanner | 1 | -0/+36 | |
| 2017-06-15 | vis: implement complement of selections | Marc André Tanner | 1 | -0/+40 | |
| 2017-06-15 | vis: implement intersection of selections | Marc André Tanner | 1 | -0/+42 | |
| 2017-06-15 | vis: implement union of selections | Marc André Tanner | 1 | -0/+59 | |
| 2017-06-15 | array: add array initialization utility function | Marc André Tanner | 2 | -0/+6 | |
| Reuses the element size from another array. | |||||
| 2017-06-15 | view: make sure primary selection is visible | Marc André Tanner | 1 | -0/+3 | |
| 2017-06-15 | vis: allow selections to be restored from registers | Marc André Tanner | 1 | -0/+18 | |
| 2017-06-15 | vis: allow active selection to be saved to a register | Marc André Tanner | 1 | -0/+18 | |
| 2017-06-15 | vis: add function to query which register was specified | Marc André Tanner | 2 | -0/+7 | |
| 2017-06-15 | vis: add basic infrastructure to store selections in registers | Marc André Tanner | 3 | -0/+54 | |
| 2017-06-15 | view: add functions to save/restore arbitrary ranges | Marc André Tanner | 2 | -0/+26 | |
| 2017-06-15 | view: add functions to get/set all selections | Marc André Tanner | 2 | -5/+47 | |
| 2017-06-15 | view: disallow setting of invalid selections | Marc André Tanner | 2 | -6/+10 | |
| 2017-06-15 | array: add array_sort utility function | Marc André Tanner | 2 | -0/+8 | |
| 2017-06-15 | text-util: add text_range_intersect utility function | Marc André Tanner | 2 | -0/+8 | |
| 2017-06-15 | text-util: change definition of range intersection | Marc André Tanner | 1 | -1/+1 | |
| Adjacent ranges do not overlap. | |||||
| 2017-06-15 | vis: normalize selections after motions | Marc André Tanner | 1 | -0/+4 | |
| Merge overlapping selections. Fix #582 | |||||
| 2017-06-15 | sam: simplify print command implementation | Marc André Tanner | 1 | -16/+11 | |
| 2017-06-15 | view: fix view_selections_set | Marc André Tanner | 1 | -8/+2 | |
| The anchor needs to be set after the cursor was positioned, otherwise the cursor placement will immediately destroy the selection for in the non-anchored case. | |||||
| 2017-06-15 | view: do not automatically anchor selections when setting range | Marc André Tanner | 4 | -4/+9 | |
| 2017-06-15 | view: introduce view_selections_normalize | Marc André Tanner | 2 | -0/+24 | |
| Dispose all invalid and merge all overlapping selections. | |||||
| 2017-06-15 | vis: rename uses of Cursor to Selection | Marc André Tanner | 13 | -635/+631 | |
| 2017-06-15 | view: rename view_cursors_column | Marc André Tanner | 3 | -6/+6 | |
