aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
AgeCommit message (Collapse)AuthorFilesLines
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.
2017-02-08vis: improve <C-d> and <C-t> implementation in insert modeMarc André Tanner1-2/+2
Fix #487
2017-01-19vis: remove <C-o> mapping in insert modeMarc André Tanner1-1/+0
This was never really implemented properly and is not really needed anyway. Close #345
2017-01-16vis: allow macro recording/replay in visual modeMarc André Tanner1-0/+2
Fix #461
2016-12-21vis: implement `gh` and `gl` to move by relative byte offsetsMarc André Tanner1-0/+2
2016-12-21vis: implement `go` to move to absolute byte positionMarc André Tanner1-0/+1
2016-12-21vis: implement g8Marc André Tanner1-0/+1
Shows hex values up to the next UTF-8 encoded character.
2016-11-09vis: improve `r` in normal and replace modeMarc André Tanner1-1/+1
In normal mode `r<key>` was previously implemented as `R<key><Escape>`. However this does not work when the replacement key is `<Enter>` to insert a new line, because in replace mode new lines are not overwritten. The count is now also respected. Also properly support `r` in visual mode where before it was aliased to `c`. Fix #190
2016-08-24vis: implement gJ like behaviorMarc André Tanner1-1/+3
The behavior is not exactly the same because vim preserves any existing white spaces wihle we remove existing ones but do not insert additional ones. The vim behavior (essentially only deleating new lines) can be achived using something like: :x/\n/d Close #374
2016-05-18vis: add completion for file names in current directory via <C-x><C-f>Silvan Jegen1-0/+1
2016-05-18vis: add completion for current file contents via <C-n> in insert modeMarc André Tanner1-0/+1
Based on a patch by Silvan Jegen. Close #128, close #277
2016-04-27vis: change behavior of $ to never move to the leftMarc André Tanner1-2/+1
2016-04-14vis: allow mapping of <Space>Marc André Tanner1-1/+2
One should generally use <Space> in mappings: :map! normal <Space> h except for insert/replace mode where a literal space has to be used: :map! insert " " foo
2016-04-13vis: make = operator an alias for gq, both currently use fmt(1)Marc André Tanner1-1/+2
2016-04-12Add "[(" and "])" motions for jumping to a parenthese pair's start/endRob Pilling1-0/+2
2016-04-12Add "[{" and "]}" motions to jump to a block's start/endRob Pilling1-0/+2
2016-04-07Sort keybinding alphabetically.Joshua Haase1-189/+189
This makes easy both: - to find out what a key does, and - to discover new key movements. Also improves documentation when using `:help` command.
2016-04-05vis: let <C-l> remove all but the count cursor columnMarc André Tanner1-1/+2
2016-04-04vis: let <C-c> remove the count cursor columnMarc André Tanner1-2/+2
2016-04-04vis: in visual mode allow navigation among cursors using <C-j> and <C-k>Marc André Tanner1-0/+2
2016-04-03sam: unify vi(m) and sam command lineMarc André Tanner1-1/+1
The following vi commands have been dropped: - saveas - xit - ! The following commands are only recognized in their short form: - e (edit) - q (quit) - s (substitute) - w (write) - r (read)
2016-04-03vis: in visual mode let \ trim selectionsMarc André Tanner1-0/+1
2016-03-30vis: implement selection rotationMarc André Tanner1-2/+4
In visual mode + and - will rotate the selection count times to the right or left respectively. If there exists a line containing multiple selections then the rotation happens within each line. Otherwise if each line contains at most one selection the rotation is performed among all existing selections.
2016-03-28vis: support right alignment of selections in visual mode with <S-Tab>Marc André Tanner1-2/+3
2016-03-28vis: let Meta-Ctrl-{j,k} create new cursorMarc André Tanner1-0/+2
on the line above/below the first/last existing cursor.
2016-03-28vis: align selections with <Tab> in visual modeMarc André Tanner1-0/+1
2016-03-10vis: let <C-u> and <C-d> in visual mode move to prev/next cursorMarc André Tanner1-4/+4
We do currently not enforce a strict ordering among cursors. Hence these key bindings can move you to an arbitray position. In practice it somewhat works because most of the time cursors are created in "top-down" i.e from the start of the file towards the end.
2016-03-08Add missing angle brackets around broken C-p key bindingMarc André Tanner1-1/+1
2016-03-08Added page up and down keys for visual modeErlend Fagerheim1-0/+4
2016-02-22Added + and - motionsRichard Burke1-0/+2
2016-02-20vis: move cursor to next char after ~ in normal modeMarc André Tanner1-1/+1
This will not work as expected when given a count. Close #181
2016-02-20recursive ib fixErlend Fagerheim1-1/+1