diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-03-28 10:41:55 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-03-28 12:25:06 +0200 |
| commit | d970c893a253785f4fa8d99f306d6d891702fc6d (patch) | |
| tree | 250bb75cfaf9a3e7a627a35b7ab49c24a2dbe94f /config.def.h | |
| parent | a7a05a70c3c51c4fe565598e9508d0505a758636 (diff) | |
| download | vis-d970c893a253785f4fa8d99f306d6d891702fc6d.tar.gz vis-d970c893a253785f4fa8d99f306d6d891702fc6d.tar.xz | |
vis: support right alignment of selections in visual mode with <S-Tab>
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index b773f72..0b91be8 100644 --- a/config.def.h +++ b/config.def.h @@ -280,7 +280,8 @@ static const KeyBinding bindings_visual[] = { { "o", ACTION(SELECTION_FLIP) }, { ">", ALIAS("<vis-operator-shift-right>gv") }, { "<", ALIAS("<vis-operator-shift-left>gv") }, - { "<Tab>" , ACTION(CURSORS_ALIGN_INDENT) }, + { "<Tab>" , ACTION(CURSORS_ALIGN_INDENT_LEFT) }, + { "<S-Tab>" , ACTION(CURSORS_ALIGN_INDENT_RIGHT) }, { 0 /* empty last element, array terminator */ }, }; @@ -315,7 +316,7 @@ static const KeyBinding bindings_insert[] = { { "<C-x><C-e>", ACTION(WINDOW_SLIDE_UP) }, { "<C-x><C-y>", ACTION(WINDOW_SLIDE_DOWN) }, { "<Tab>", ACTION(INSERT_TAB) }, - { "<S-Tab>", ACTION(CURSORS_ALIGN_INDENT) }, + { "<S-Tab>", ACTION(CURSORS_ALIGN_INDENT_LEFT) }, { "<C-r>", ACTION(INSERT_REGISTER) }, { 0 /* empty last element, array terminator */ }, }; |
