aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
AgeCommit message (Collapse)AuthorFilesLines
2025-06-13use <vis-prompt-show> instead of ':'Alvaro Sanchez1-11/+11
fixes #1246 - Remapping : break other mappings like <C-w>s or <C-w>v
2024-02-06Replace use of tr(1) with awk(1).Matěj Cepl1-2/+2
Unfortunately, GNU tr(1) is not Unicode-aware, so we should use awk(1) instead. See https://www.pixelbeat.org/docs/coreutils_i18n/ for more on the situation of the support of Unicode in coreutils. Apparently, awk is for this better than sed, because Unicode is consistenly provided on all major versions of awk. Signed-off-by: Matěj Cepl <mcepl@cepl.eu> Supersedes: https://lists.sr.ht/~martanne/devel/patches/49113 Supersedes: https://lists.sr.ht/~martanne/devel/patches/49114
2021-03-28vis: Add readline Ctrl+A/E bindingsstriker.sh1-0/+2
2020-12-28vis: rename to/till motion internalsMarc André Tanner1-4/+4
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-10-10vis: add vis-selection-new-match-allEvan Gates1-0/+1
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-08-29vis: implement C-n in normal mode with a mapping to viwMarc André Tanner1-1/+1
2020-08-01vis: remove ae outer entire text objectMarc André Tanner1-1/+0
Use :, which is a short hand for :0,$ instead.
2020-08-01vis: remove ie inner entire text objectMarc André Tanner1-1/+0
2020-08-01vis: remove z> rightmost pairwise selection combinatorMarc André Tanner1-1/+0
2020-08-01vis: remove z< leftmost pairwise selection combinatorMarc André Tanner1-1/+0
2020-08-01vis: remove z- shorter pairwise selection combinatorMarc André Tanner1-1/+0
2020-08-01vis: remove z+ longer pairwise selection combinatorMarc André Tanner1-1/+0
2020-08-01vis: remove z& pairwise selection intersectionMarc André Tanner1-1/+0
2020-08-01vis: remove z| pairwise unionMarc André Tanner1-1/+0
2020-08-01vis: remove commented entries from default configMarc André Tanner1-2/+0
2020-08-01vis: use ~ instead of ! for selection complementMarc André Tanner1-1/+1
This seems more consistent with the typical set/bit operations.
2020-08-01vis: remove ~ as alias for g~Marc André Tanner1-1/+0
2020-08-01vis: remove window related aliases from default configMarc André Tanner1-7/+0
2020-08-01vis: remove special key aliases from default configMarc André Tanner1-12/+0
These can all be performed using home row keys.
2020-04-28vis: make <Escape> reset count in visual modesMarc André Tanner1-1/+1
2020-04-28vis: make <Escape> reset count in normal modeMarc André Tanner1-1/+1
Fix #825
2018-07-31change case in visual mode with u and U ( vim comp )Erlend Fagerheim1-0/+2
2018-05-16vis: remove v and V in operator pending modeMarc André Tanner1-7/+0
2018-05-16vis: remove gPMarc André Tanner1-1/+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-16vis: remove gpMarc André Tanner1-1/+0
This only removes the user visible mapping, the underlying implementation is kept for now. This might change in the future.
2018-05-16vis: implement g~ using tr(1)Marc André Tanner1-3/+2
2018-05-16vis: implement gU using tr(1)Marc André Tanner1-1/+1
2018-05-16vis: implement gu using tr(1)Marc André Tanner1-1/+1
2018-05-16vis: remove gq alias for =Marc André Tanner1-2/+1
2018-04-08Fix "parenthese" in identifiersTwoFinger1-2/+2
2018-03-05Fix a typo in identifiersTwoFinger1-2/+2
2018-02-27vis: implement normal/outer paragraph text objectMarc André Tanner1-1/+1
2018-01-26vis: insert literal new line upon <C-j> in insert modeMarc André Tanner1-1/+1
2017-09-15vis: restore old s mapping in visual modeMarc André Tanner1-0/+1
This should have been part of 4715eb3178d62f3527ae2c24092bf0c109bb570b.
2017-09-15vis: remove ! operatorMarc André Tanner1-1/+1
Use visual mode and :| to filter text through external commands. The mapping was already reused for selection complement.
2017-07-14vis: restore s / S normal mode bindingsMarc André Tanner1-0/+2
They were removed in 78d6ae87398bb90aa6067b0747934d55961e1efb to make room for the selection manipulation primitives. But by now we use `m` and `M` to save/restore selections. I still think these mappings are rather useless and they might well disappear again in the future. See also #593
2017-07-14vis: remove useless mappings which interfere with jumplistMarc André Tanner1-2/+0
2017-07-14vis: always reduce selections when not in visual modeMarc André Tanner1-1/+1
For now we only allow singleton selections in normal mode, this might change in the future.
2017-07-10vis: remove change listMarc André Tanner1-2/+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-10vis: implement jump list in terms of marksMarc André Tanner1-2/+3
2017-07-08vis: perform more renames cursor -> selectionMarc André Tanner1-24/+24
To fix compilation you need to update (or remove) config.h.
2017-07-08vis: cleanup marks implementationMarc André Tanner1-6/+4
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-04vis: implement `gv` by means of new "^ registerMarc André Tanner1-1/+1
This window local register holds the last active selections.
2017-06-15vis: enable new selection manipulation primitivesMarc André Tanner1-8/+24
This is still very much work in progress. You will have to remove (or update) your local config.h file.
2017-04-04vis: add motions to move by codepointsMarc André Tanner1-2/+4
Some people might prefer this for <Backspace> behavior. Except for that and debugging purposes using `ga` and `g8` it is not yet that useful.
2017-03-31vis: rename search related constantsMarc André Tanner1-2/+2
2017-03-05vis: remove word and file name completion from editor coreMarc André Tanner1-2/+0
2017-02-23vis: remove `gf` and `<C-w>gf` functionalityMarc André Tanner1-2/+0
This can also be implemented using Lua, if desired.
2017-02-23vis: remove number increment/decrement functionalityMarc André Tanner1-2/+0
By now we should have the necessary Lua API to implement this as an extension.
2017-02-15vis: remove motion and text objects related to C functionsMarc André Tanner1-6/+0
These do not really belong into the editor core. If desired they could be implemented in Lua instead.