| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2020-12-28 | vis: implement multiline to/till motions | Marc André Tanner | 1 | -1/+25 | |
| These are currently not mapped by default but can be enabled by mappings using their virtual key names. | |||||
| 2020-12-28 | vis: rename to/till motion internals | Marc André Tanner | 1 | -24/+24 | |
| This renames the functions and constants implementing the to/till motions. The new names should indicate that matches are only returned within the current line (not globally). Apart from the changed virtual key/command name this contains no functional changes. | |||||
| 2020-12-10 | vis: make O implementation independent of <Up> mapping | Marc André Tanner | 1 | -1/+1 | |
| 2020-10-10 | vis: add vis-selection-new-match-all | Evan Gates | 1 | -10/+28 | |
| Add new vis-selection-new-match-all command, default keybinding <C-a> in visual mode. Refactor selections_next_match to find all matches if arg.b is true. This does not affect existing configs as arg.b defaults to false. | |||||
| 2020-10-10 | vis: refactor selections_match_next | Evan Gates | 1 | -35/+8 | |
| A lot of code from selections_match_next was duplicated in selections_match_next_literal. Use the new text_object_find_next/prev functions to combine the two match_next functions into one. | |||||
| 2020-09-17 | Pass up terminal CSI as events to Lua. | Ez Diy | 1 | -0/+1 | |
| 2020-08-29 | vis: improve C-n behavior in visual mode | Marc André Tanner | 1 | -3/+9 | |
| Determine the matching behavior based on the first (not primary) selection. Fix #864 | |||||
| 2020-08-29 | vis: implement C-n in normal mode with a mapping to viw | Marc André Tanner | 1 | -20/+0 | |
| 2020-08-01 | vis: remove ae outer entire text object | Marc André Tanner | 1 | -6/+0 | |
| Use :, which is a short hand for :0,$ instead. | |||||
| 2020-08-01 | vis: remove ie inner entire text object | Marc André Tanner | 1 | -6/+0 | |
| 2020-08-01 | vis: remove z> rightmost pairwise selection combinator | Marc André Tanner | 1 | -44/+0 | |
| 2020-08-01 | vis: remove z< leftmost pairwise selection combinator | Marc André Tanner | 1 | -15/+0 | |
| 2020-08-01 | vis: remove z- shorter pairwise selection combinator | Marc André Tanner | 1 | -17/+0 | |
| 2020-08-01 | vis: remove z+ longer pairwise selection combinator | Marc André Tanner | 1 | -17/+0 | |
| 2020-08-01 | vis: remove z& pairwise selection intersection | Marc André Tanner | 1 | -13/+0 | |
| 2020-08-01 | vis: remove z| pairwise union | Marc André Tanner | 1 | -15/+0 | |
| 2020-04-28 | vis: make <Escape> reset count in visual modes | Marc André Tanner | 1 | -0/+16 | |
| 2020-04-28 | vis: make <Escape> reset count in normal mode | Marc André Tanner | 1 | -0/+16 | |
| Fix #825 | |||||
| 2020-02-03 | vis: improve <C-n> in visual mode | Marc André Tanner | 1 | -1/+37 | |
| If the existing primary selection is not a word, switch to a literal search. This should still avoid unwanted prefix matches (e.g. when renaming related variables) but allow searching for arbitrary regions. Fix #746 | |||||
| 2020-02-03 | vis: simplify selections_match_next | Marc André Tanner | 1 | -15/+15 | |
| Introduce utility function to create new anchored, primary selection. | |||||
| 2020-01-30 | main: fix a few mistakes in comments | TwoFinger | 1 | -6/+6 | |
| 2020-01-30 | vis: Fix a few :help strings | TwoFinger | 1 | -10/+10 | |
| 2020-01-27 | vis: make r<Enter> insert a new line | Marc André Tanner | 1 | -0/+2 | |
| 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 | |||||
| 2018-05-16 | vis: remove v and V in operator pending mode | Marc André Tanner | 1 | -19/+0 | |
| 2018-05-16 | vis: remove gP | Marc André Tanner | 1 | -6/+0 | |
| This only removes the user visible mapping, the underlying implementation is kept for now. It is used in insert mode for the implementation of <C-r> (register insertion). | |||||
| 2018-05-16 | vis: remove gp | Marc André Tanner | 1 | -6/+0 | |
| This only removes the user visible mapping, the underlying implementation is kept for now. This might change in the future. | |||||
| 2018-05-16 | vis: implement g~ using tr(1) | Marc André Tanner | 1 | -6/+0 | |
| 2018-05-16 | vis: implement gU using tr(1) | Marc André Tanner | 1 | -6/+0 | |
| 2018-05-16 | vis: implement gu using tr(1) | Marc André Tanner | 1 | -6/+0 | |
| 2018-04-08 | Fix "parenthese" in identifiers | TwoFinger | 1 | -12/+12 | |
| 2018-03-27 | main: fix a few typos in comments | Delapouite | 1 | -2/+2 | |
| 2018-03-05 | Fix a typo in identifiers | TwoFinger | 1 | -6/+6 | |
| 2018-02-27 | vis: implement normal/outer paragraph text object | Marc André Tanner | 1 | -0/+6 | |
| 2018-02-27 | vis: reset count after window scroll/slide actions | Marc André Tanner | 1 | -0/+2 | |
| Previously something like n<C-e> would also apply the count `n` to the subsequent action. | |||||
| 2017-12-08 | vis: let <C-c> behave as <Escape> if only one selection exists | Marc André Tanner | 1 | -1/+1 | |
| This should allow the :-command prompt to be closed with <C-c><C-c> (from insert mode) or <C-c> (from normal mode). Fix #608 | |||||
| 2017-09-15 | vis: remove ! operator | Marc André Tanner | 1 | -19/+0 | |
| Use visual mode and :| to filter text through external commands. The mapping was already reused for selection complement. | |||||
| 2017-07-27 | vis: ignore SIGQUIT | Marc André Tanner | 1 | -2/+2 | |
| Pressing Ctrl+\ should probably not terminate the editor. In previous versions libtermkey would disable signal generation by disabling termios VQUIT. However, curses probably overrides it when they both fight for terminal settings. This should probably be cleaned up at some point. Ignoring SIGQUIT seems like a good idea anyway. | |||||
| 2017-07-17 | vis: specify window in mark related API | Marc André Tanner | 1 | -6/+12 | |
| This should also fix coverity issue 157024. | |||||
| 2017-07-17 | vis: fix coverity issue 157025 | Marc André Tanner | 1 | -2/+4 | |
| The static analyzer can currently not infere that there always exists at least one selection. | |||||
| 2017-07-14 | vis: always reduce selections when not in visual mode | Marc André Tanner | 1 | -12/+14 | |
| For now we only allow singleton selections in normal mode, this might change in the future. | |||||
| 2017-07-14 | vis-lua: make selection first class primitives in Lua API | Marc André Tanner | 1 | -4/+3 | |
| 2017-07-11 | vis: handle further input after mark and register specifiers | Marc André Tanner | 1 | -10/+15 | |
| This fixes #531 in a more robust way. The key handling functions should be able to handle additional input passed to them as is for example the case when processing the `gv` mapping. | |||||
| 2017-07-10 | vis: remove change list | Marc André Tanner | 1 | -12/+0 | |
| This was completely broken since 71eab6d5d72145f17ab3d4c87945ac12176ae8e9 and even before never really worked as one would expect. If anything it should be implemented like the jump list using marks. | |||||
| 2017-07-10 | vis: implement jump list in terms of marks | Marc André Tanner | 1 | -2/+20 | |
| 2017-07-10 | vis: simplify and fix pairwise selection intersection | Marc André Tanner | 1 | -1/+1 | |
| 2017-07-10 | vis: simplify selection complement and minus implementation | Marc André Tanner | 1 | -5/+3 | |
| 2017-07-08 | vis: perform more renames cursor -> selection | Marc André Tanner | 1 | -129/+129 | |
| To fix compilation you need to update (or remove) config.h. | |||||
| 2017-07-08 | vis: cleanup marks implementation | Marc André Tanner | 1 | -73/+23 | |
| 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 | -1/+4 | |
| The key binding remain the same, but the selections are now stored on a per-buffer basis. | |||||
| 2017-07-05 | vis: make sure all selections have same anchored state | Marc André Tanner | 1 | -7/+17 | |
| 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). | |||||
