|
|
@ -6,18 +6,18 @@ const defaultKeymap = { |
|
|
|
'o': { type: actions.CMD_TABS_OPEN, alter: false }, |
|
|
|
'o': { type: actions.CMD_TABS_OPEN, alter: false }, |
|
|
|
'O': { type: actions.CMD_TABS_OPEN, alter: true }, |
|
|
|
'O': { type: actions.CMD_TABS_OPEN, alter: true }, |
|
|
|
'b': { type: actions.CMD_BUFFER }, |
|
|
|
'b': { type: actions.CMD_BUFFER }, |
|
|
|
'k': { type: actions.SCROLL_LINES, count: -1 }, |
|
|
|
'k': { type: operations.SCROLL_LINES, count: -1 }, |
|
|
|
'j': { type: actions.SCROLL_LINES, count: 1 }, |
|
|
|
'j': { type: operations.SCROLL_LINES, count: 1 }, |
|
|
|
'<C-E>': { type: actions.SCROLL_LINES, count: -1 }, |
|
|
|
'<C-E>': { type: operations.SCROLL_LINES, count: -1 }, |
|
|
|
'<C-Y>': { type: actions.SCROLL_LINES, count: 1 }, |
|
|
|
'<C-Y>': { type: operations.SCROLL_LINES, count: 1 }, |
|
|
|
'<C-U>': { type: actions.SCROLL_PAGES, count: -0.5 }, |
|
|
|
'<C-U>': { type: operations.SCROLL_PAGES, count: -0.5 }, |
|
|
|
'<C-D>': { type: actions.SCROLL_PAGES, count: 0.5 }, |
|
|
|
'<C-D>': { type: operations.SCROLL_PAGES, count: 0.5 }, |
|
|
|
'<C-B>': { type: actions.SCROLL_PAGES, count: -1 }, |
|
|
|
'<C-B>': { type: operations.SCROLL_PAGES, count: -1 }, |
|
|
|
'<C-F>': { type: actions.SCROLL_PAGES, count: 1 }, |
|
|
|
'<C-F>': { type: operations.SCROLL_PAGES, count: 1 }, |
|
|
|
'gg': { type: actions.SCROLL_TOP }, |
|
|
|
'gg': { type: operations.SCROLL_TOP }, |
|
|
|
'G': { type: actions.SCROLL_BOTTOM }, |
|
|
|
'G': { type: operations.SCROLL_BOTTOM }, |
|
|
|
'0': { type: actions.SCROLL_LEFT }, |
|
|
|
'0': { type: operations.SCROLL_LEFT }, |
|
|
|
'$': { type: actions.SCROLL_RIGHT }, |
|
|
|
'$': { type: operations.SCROLL_RIGHT }, |
|
|
|
'd': { type: operations.TABS_CLOSE }, |
|
|
|
'd': { type: operations.TABS_CLOSE }, |
|
|
|
'u': { type: operations.TABS_REOPEN }, |
|
|
|
'u': { type: operations.TABS_REOPEN }, |
|
|
|
'h': { type: operations.TABS_PREV, count: 1 }, |
|
|
|
'h': { type: operations.TABS_PREV, count: 1 }, |
|
|
@ -27,10 +27,10 @@ const defaultKeymap = { |
|
|
|
'zi': { type: operations.ZOOM_IN }, |
|
|
|
'zi': { type: operations.ZOOM_IN }, |
|
|
|
'zo': { type: operations.ZOOM_OUT }, |
|
|
|
'zo': { type: operations.ZOOM_OUT }, |
|
|
|
'zz': { type: operations.ZOOM_NEUTRAL }, |
|
|
|
'zz': { type: operations.ZOOM_NEUTRAL }, |
|
|
|
'f': { type: actions.FOLLOW_START, newTab: false }, |
|
|
|
'f': { type: operations.FOLLOW_START, newTab: false }, |
|
|
|
'F': { type: actions.FOLLOW_START, newTab: true }, |
|
|
|
'F': { type: operations.FOLLOW_START, newTab: true }, |
|
|
|
'H': { type: actions.HISTORY_PREV }, |
|
|
|
'H': { type: operations.HISTORY_PREV }, |
|
|
|
'L': { type: actions.HISTORY_NEXT }, |
|
|
|
'L': { type: operations.HISTORY_NEXT }, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const asKeymapChars = (keys) => { |
|
|
|
const asKeymapChars = (keys) => { |
|
|
|