support t/T command and fix alter mode

This commit is contained in:
Shin'ya Ueoka 2017-09-25 19:49:37 +09:00
parent 2b6aca17b0
commit 6c01283973
3 changed files with 10 additions and 1 deletions

View file

@ -4,6 +4,8 @@ const defaultKeymap = {
':': { type: operations.COMMAND_OPEN },
'o': { type: operations.COMMAND_TABS_OPEN, alter: false },
'O': { type: operations.COMMAND_TABS_OPEN, alter: true },
't': { type: operations.COMMAND_TABS_NEW, alter: false },
'T': { type: operations.COMMAND_TABS_NEW, alter: true },
'b': { type: operations.COMMAND_BUFFER },
'k': { type: operations.SCROLL_LINES, count: -1 },
'j': { type: operations.SCROLL_LINES, count: 1 },