home/editor: Insert tabs with Ctrl+i
This commit is contained in:
parent
aded37188c
commit
bb38beb912
1 changed files with 32 additions and 25 deletions
|
@ -29,39 +29,46 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
keys.normal = {
|
keys = {
|
||||||
minus = "command_mode";
|
normal = {
|
||||||
|
minus = "command_mode";
|
||||||
|
|
||||||
r = "move_char_left";
|
r = "move_char_left";
|
||||||
n = "move_visual_line_down";
|
n = "move_visual_line_down";
|
||||||
t = "move_visual_line_up";
|
t = "move_visual_line_up";
|
||||||
h = "move_char_right";
|
h = "move_char_right";
|
||||||
|
|
||||||
p = "move_prev_word_start";
|
p = "move_prev_word_start";
|
||||||
w = "move_next_word_start";
|
w = "move_next_word_start";
|
||||||
l = "move_next_word_end";
|
l = "move_next_word_end";
|
||||||
P = "move_prev_long_word_start";
|
P = "move_prev_long_word_start";
|
||||||
W = "move_next_long_word_start";
|
W = "move_next_long_word_start";
|
||||||
L = "move_next_long_word_end";
|
L = "move_next_long_word_end";
|
||||||
|
|
||||||
z = "replace";
|
z = "replace";
|
||||||
Z = "replace_with_yanked";
|
Z = "replace_with_yanked";
|
||||||
|
|
||||||
s = "paste_after";
|
s = "paste_after";
|
||||||
S = "paste_before";
|
S = "paste_before";
|
||||||
|
|
||||||
x = "extend_line_below";
|
x = "extend_line_below";
|
||||||
X = "extend_to_line_bounds";
|
X = "extend_to_line_bounds";
|
||||||
A-X = "shrink_to_line_bounds";
|
A-X = "shrink_to_line_bounds";
|
||||||
|
|
||||||
e = "change_selection";
|
e = "change_selection";
|
||||||
A-e = "change_selection_noyank";
|
A-e = "change_selection_noyank";
|
||||||
|
|
||||||
N = "join_selections";
|
N = "join_selections";
|
||||||
A-N = "join_selections_space";
|
A-N = "join_selections_space";
|
||||||
|
|
||||||
";" = "search_next";
|
";" = "search_next";
|
||||||
":" = "search_prev";
|
":" = "search_prev";
|
||||||
|
};
|
||||||
|
|
||||||
|
insert = {
|
||||||
|
"C-i" = "smart_tab";
|
||||||
|
"C-S-i" = "insert_tab";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue