Talking of contiguous lines. I like macros of the following form for quickly hopping around vertically in a file:
// .sublime-macro [ {"command": "move", "args": {"by": "stops", "empty_line": true, "forward": false}} ] // .sublime-macro [ {"command": "move", "args": {"by": "stops", "empty_line": true, "forward": false, "extend": true}} ] // .sublime-keymap { "keys": ["ctrl+up"], "command": "run_macro_file", "args": {"file": "Packages/User/HopUp.sublime-macro"} } { "keys": ["ctrl+shift+up"], "command": "run_macro_file", "args": {"file": "Packages/User/HopUpSelect.sublime-macro"} },
{"keys": ["alt+up"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false}}, {"keys": ["alt+down"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true}}, {"keys": ["shift+alt+up"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": false, "extend": true}}, {"keys": ["shift+alt+down"], "command": "move", "args": {"by": "stops", "empty_line": true, "forward": true, "extend": true}},
Talking of contiguous lines. I like macros of the following form for quickly hopping around vertically in a file: