aboutsummaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/default-settings.js6
-rw-r--r--src/shared/operations.js3
2 files changed, 6 insertions, 3 deletions
diff --git a/src/shared/default-settings.js b/src/shared/default-settings.js
index 8db7727..ceacb50 100644
--- a/src/shared/default-settings.js
+++ b/src/shared/default-settings.js
@@ -11,8 +11,10 @@ export default {
"w": { "type": "command.show.winopen", "alter": false },
"W": { "type": "command.show.winopen", "alter": true },
"b": { "type": "command.show.buffer" },
- "k": { "type": "scroll.lines", "count": -1 },
- "j": { "type": "scroll.lines", "count": 1 },
+ "k": { "type": "scroll.vertically", "count": -1 },
+ "j": { "type": "scroll.vertically", "count": 1 },
+ "h": { "type": "scroll.horizonally", "count": -1 },
+ "l": { "type": "scroll.horizonally", "count": 1 },
"<C-E>": { "type": "scroll.lines", "count": -1 },
"<C-Y>": { "type": "scroll.lines", "count": 1 },
"<C-U>": { "type": "scroll.pages", "count": -0.5 },
diff --git a/src/shared/operations.js b/src/shared/operations.js
index ca62716..0d2a381 100644
--- a/src/shared/operations.js
+++ b/src/shared/operations.js
@@ -7,7 +7,8 @@ export default {
COMMAND_SHOW_BUFFER: 'command.show.buffer',
// Scrolls
- SCROLL_LINES: 'scroll.lines',
+ SCROLL_VERTICALLY: 'scroll.vertically',
+ SCROLL_HORIZONALLY: 'scroll.horizonally',
SCROLL_PAGES: 'scroll.pages',
SCROLL_TOP: 'scroll.top',
SCROLL_BOTTOM: 'scroll.bottom',