chore(awful: hotkeys: vim): small improvements in hotkeys descriptions

This commit is contained in:
actionless 2016-02-11 00:26:57 +01:00
parent 66b93ffded
commit 8041078618
1 changed files with 46 additions and 18 deletions

View File

@ -37,32 +37,43 @@ local vim_keys = {
[';']="repeat t/T/f/F", [';']="repeat t/T/f/F",
["'"]=". goto mk. BOL", ["'"]=". goto mk. BOL",
b="prev word", b="prev word",
n="next word", n="next search match",
[',']="reverse t/T/f/F", [',']="reverse t/T/f/F",
['/']=". find", ['/']=". find",
['~']="toggle case", ['~']="toggle case",
["#"]='prev indent', ["#"]='prev indent',
["$"]='EOL', ["$"]='EOL',
["%"]='goto match bracket', ["%"]='goto matching bracket',
["^"]='"soft" BOL', ["^"]='"soft" BOL',
["*"]='next indent', ["*"]='search word under cursor',
["("]='begin sentence', ["("]='sentence begin',
[")"]='end sentence', [")"]='sentence end',
["_"]='"soft" BOL down', ["_"]='"soft" BOL down',
["+"]='next line', ["+"]='next line',
W='next WORD', W='next WORD',
E='end WORD', E='end WORD',
T=". back 'till", T=". \"back\" 'till",
['{']="begin parag.", ['{']="paragraph begin",
['}']="end parag.", ['}']="paragraph end",
F='. "back" find char', F='. "back" find char',
G='EOF/goto line', G='EOF/goto line',
H='screen top', H='move cursor to screen top',
L='screen bottom', M='move cursor to screen middle',
L='move cursor to screen bottom',
B='prev WORD', B='prev WORD',
N='prev (find)', N='prev search match',
M='screen middle', ['?']='. "back" find',
['?']='. find(rev.)', }
}, {
modifiers = {"Ctrl"},
keys = {
e="scroll line up",
y="scroll line down",
u="half page up",
d="half page down",
b="page up",
f="page down",
o="prev mark",
} }
}}, }},
@ -86,8 +97,11 @@ local vim_keys = {
r=". replace char", r=". replace char",
u="undo", u="undo",
p="paste after", p="paste after",
g="gg: top of file, gf: open file here", gg="go to the top of file",
z="zt: cursor to top, zb: bottom, zz: center", gf="open file under cursor",
zt="scroll cursor to the top",
zz="scroll cursor to the center",
zb="scroll cursor to the bottom",
x="delete char", x="delete char",
v="visual mode", v="visual mode",
m=". set mark", m=". set mark",
@ -97,16 +111,30 @@ local vim_keys = {
Q='ex mode', Q='ex mode',
Y='yank line', Y='yank line',
U='undo line', U='undo line',
P='paste before', P='paste before cursor',
D='delete to EOL', D='delete to EOL',
J='join lines', J='join lines',
K='help', K='help',
[':']='ex cmd line', [':']='ex cmd line',
['"']='. register spec', ['"']='. register spec',
["|"]='BOL/goto col', ["|"]='BOL/goto col',
Z='quit and ZZ:save or ZQ:not', ZZ='quit and save',
ZQ='quit discarding changes',
X='back-delete', X='back-delete',
V='visual lines', V='visual lines selection',
}
}, {
modifiers = {"Ctrl"},
keys = {
w=". window operations",
r="redo",
["["]="normal mode",
a="increase number",
x="decrease number",
g="file/cursor info",
z="suspend",
c="cancel/normal mode",
v="visual block selection",
} }
}}, }},