diff options
author | Lucas Hoffmann <l-m-h@web.de> | 2017-08-04 08:10:18 +0200 |
---|---|---|
committer | Lucas Hoffmann <l-m-h@web.de> | 2017-08-05 01:41:01 +0200 |
commit | e7d25a5745b20a87555c0adf042d5eec580a2551 (patch) | |
tree | 806217d124d59e38744584a1174f049954e618c7 /alot | |
parent | 21feaf10a4c45306392669348a98040d653e4ea6 (diff) |
Add missing movements to completion
Diffstat (limited to 'alot')
-rw-r--r-- | alot/completion.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/alot/completion.py b/alot/completion.py index 5d0b132e..88eee312 100644 --- a/alot/completion.py +++ b/alot/completion.py @@ -482,12 +482,14 @@ class CommandCompleter(Completer): separator=',') res = localcomp.complete(params, localpos) elif cmd == 'move': - directions = ['up', 'down', 'page up', 'page down'] + directions = ['up', 'down', 'page up', 'page down', + 'halfpage up', 'halfpage down', 'first', + 'last'] if self.mode == 'thread': - directions += ['first', 'last', 'next', 'previous', - 'last reply', 'first reply', 'parent', - 'next unfolded', 'previous unfolded', - 'next sibling', 'previous sibling'] + directions += ['parent', 'first reply', 'last reply', + 'next sibling', 'previous sibling', + 'next', 'previous', 'next unfolded', + 'previous unfolded'] localcompleter = StringlistCompleter(directions) res = localcompleter.complete(params, localpos) |