summaryrefslogtreecommitdiff
path: root/config.def.h
AgeCommit message (Collapse)Author
2017-01-19vis: remove <C-o> mapping in insert modeMarc André Tanner
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é Tanner
Fix #461
2016-12-21vis: implement `gh` and `gl` to move by relative byte offsetsMarc André Tanner
2016-12-21vis: implement `go` to move to absolute byte positionMarc André Tanner
2016-12-21vis: implement g8Marc André Tanner
Shows hex values up to the next UTF-8 encoded character.
2016-11-09vis: improve `r` in normal and replace modeMarc André Tanner
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é Tanner
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 Jegen
2016-05-18vis: add completion for current file contents via <C-n> in insert modeMarc André Tanner
Based on a patch by Silvan Jegen. Close #128, close #277
2016-04-27vis: change behavior of $ to never move to the leftMarc André Tanner
2016-04-14vis: allow mapping of <Space>Marc André Tanner
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é Tanner
2016-04-12Add "[(" and "])" motions for jumping to a parenthese pair's start/endRob Pilling
2016-04-12Add "[{" and "]}" motions to jump to a block's start/endRob Pilling
2016-04-07Sort keybinding alphabetically.Joshua Haase
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é Tanner
2016-04-04vis: let <C-c> remove the count cursor columnMarc André Tanner
2016-04-04vis: in visual mode allow navigation among cursors using <C-j> and <C-k>Marc André Tanner
2016-04-03sam: unify vi(m) and sam command lineMarc André Tanner
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é Tanner
2016-03-30vis: implement selection rotationMarc André Tanner
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é Tanner
2016-03-28vis: let Meta-Ctrl-{j,k} create new cursorMarc André Tanner
on the line above/below the first/last existing cursor.
2016-03-28vis: align selections with <Tab> in visual modeMarc André Tanner
2016-03-10vis: let <C-u> and <C-d> in visual mode move to prev/next cursorMarc André Tanner
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é Tanner
2016-03-08Added page up and down keys for visual modeErlend Fagerheim
2016-02-22Added + and - motionsRichard Burke
2016-02-20vis: move cursor to next char after ~ in normal modeMarc André Tanner
This will not work as expected when given a count. Close #181
2016-02-20recursive ib fixErlend Fagerheim
2016-02-18vis: make put commands p, P, gp, gP available in visual modesMarc André Tanner
Close #167
2016-02-18vis: enable number increment <C-a> and decrement <C-x> in normal modeMarc André Tanner
2016-02-18vis: use <Tab> to align multiple cursors in normal modeMarc André Tanner
2016-02-18vis: add insfrastructure to support global key mappingsMarc André Tanner
Except for insert/replace mode keys get translated before any key bindings are evaluated. This is useful for non-english/latin keyboard layouts.
2016-02-15Add text object to cover lines with same indentation levelMarc André Tanner
By default it is mapped to i<Tab> and a<Tab> however there is currently no difference between the inner and regular version.
2016-02-15vis: add <C-c> as an alias for <Escape> in normal modeMarc André Tanner
Based on a patch by Erlend Fagerheim.
2016-02-13vis: in insert mode <S-Tab> aligns all cursors by inserting spacesMarc André Tanner
2016-02-11vis: implement gn and gN text objectsMarc André Tanner
The behaviour when no match is found is not yet optimal.
2016-02-10vis: simplify modes implementationMarc André Tanner
Make replace mode a child of insert mode and visual line a child of visual mode. This means any key binding for the former is automatically available in the latter. Also keys can not be unmapped solely from the child modes.
2016-02-10vis: implement gf and <C-w>gf to open filename under cursorMarc André Tanner
Based on a patch by Silvan Jegen.
2016-01-28vis: implement nn%Marc André Tanner
Moves to the given percentage of the file in bytes (not lines). This is useful when dealing with huge files because it is a constant time operation. Performance could still be improved by adapting the display code not to rely on line numbers at all.
2016-01-20vis: make <End> in insert/replace mode move to the end of lineMarc André Tanner
The behaviour of <End> vs $ in various modes may still be inconsistent, but at least it can now be configured via key bindings.
2016-01-19vis: keep selection in visual mode after shift operatorsMarc André Tanner
2016-01-17vis: make Y only yank from the current position to the end of lineMarc André Tanner
2016-01-17vis: let ~ have an immediate effect in normal modeMarc André Tanner
Similar to vim with the notildeop setting.
2016-01-13Implement command/search prompt history as a regular fileMarc André Tanner
2016-01-13vis: cleanup key binding definitionsMarc André Tanner
This removes the tree based mode structures and instead merges all keybindings in flat modes which uses some more memory but will allow (per mode) run-time configurable key bindings. Make sure to update/remove config.h.
2016-01-13Add -pedantic to debug CFLAGS and fix resulting warningsMarc André Tanner
2016-01-06vis: make <C-v> also available at :-command promptMarc André Tanner
2015-12-20Make normal mode 'S' behave like in VimSilvan Jegen