Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // VIM STYLE MOVEMENT, CTRL+HJKL
- {
- "keys": ["ctrl+h"], "command": "move", "args": { "by": "characters", "forward": false }
- },
- {
- "keys": ["ctrl+j"], "command": "move", "args": { "by": "lines", "forward": true }
- },
- {
- "keys": ["ctrl+k"], "command": "move", "args": { "by": "lines", "forward": false }
- },
- {
- "keys": ["ctrl+l"], "command": "move", "args": { "by": "characters", "forward": true }
- },
- // VIM STYLE HIGHLIGHTING CTRL+SUPER+MOVEMENT
- {
- "keys": ["ctrl+shift+h"], "command": "move", "args": { "by": "characters", "forward": false, "extend": true }
- },
- {
- "keys": ["ctrl+shift+j"], "command": "move", "args": { "by": "lines", "forward": true, "extend": true }
- },
- {
- "keys": ["ctrl+shift+k"], "command": "move", "args": { "by": "lines", "forward": false, "extend": true }
- },
- {
- "keys": ["ctrl+shift+l"], "command": "move", "args": { "by": "characters", "forward": true, "extend": true }
- },
- // BEGINNING/END OF LINE
- {"keys": ["ctrl+a"], "command": "move_to", "args": { "to": "bol" }},
- {"keys": ["ctrl+g"], "command": "move_to", "args": { "to": "eol" }},
- // BOL/EOL HIGHLIGHTING CTRL+SUPER+A/D
- {"keys": ["ctrl+shift+a"], "command": "move_to", "args": { "to": "bol", "extend": true }},
- {"keys": ["ctrl+shift+g"], "command": "move_to", "args": { "to": "eol", "extend": true }},
- // PAGE UP AND DOWN CTRL+E/Q
- {
- "keys": ["ctrl+e"], "command": "move", "args": { "by": "pages", "forward": true }
- },
- {
- "keys": ["ctrl+q"], "command": "move", "args": { "by": "pages", "forward": false }
- },
- // TAB LEFT AND RIGHT CTRL+SUPER+E/Q
- {
- "keys": ["ctrl+shift+e"], "command": "next_view"
- },
- {
- "keys": ["ctrl+shift+q"], "command": "prev_view"
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement