Skip to content

Commit

Permalink
initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
jskinner committed Oct 31, 2011
0 parents commit 25d96e1
Show file tree
Hide file tree
Showing 9 changed files with 2,296 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Base File (OSX).sublime-settings
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"vintage_ctrl_keys": true
}
80 changes: 80 additions & 0 deletions Default (Linux).sublime-keymap
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
[
{ "keys": ["left"], "command": "set_motion", "args": {
"motion": "vi_move_by_characters_in_line",
"motion_args": {"forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["right"], "command": "set_motion", "args": {
"motion": "vi_move_by_characters_in_line",
"motion_args": {"forward": true, "extend": true, "visual": false }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["up"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["down"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},

{ "keys": ["ctrl+left"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "punct_begin": true, "empty_line": true, "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["ctrl+right"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "punct_begin": true, "empty_line": true, "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},

{ "keys": ["alt+left"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "sub_word_begin": true, "punct_begin": true, "empty_line": true, "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["alt+right"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "sub_word_begin": true, "punct_begin": true, "empty_line": true, "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},

{ "keys": ["pageup"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "pages", "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}, {"key": "setting.vintage_ctrl_keys"}]
},
{ "keys": ["pagedown"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "pages", "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}, {"key": "setting.vintage_ctrl_keys"}]
},

{ "keys": ["home"], "command": "set_motion", "args": {
"motion": "vi_move_to_first_non_white_space_character",
"motion_args": {"extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["end"], "command": "set_motion", "args": {
"motion": "vi_move_to_hard_eol",
"motion_args": {"repeat": 1, "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
},

{ "keys": ["ctrl+home"], "command": "set_motion", "args": {
"motion": "move_to",
"motion_args": {"to": "bof", "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["ctrl+end"], "command": "set_motion", "args": {
"motion": "move_to",
"motion_args": {"to": "eof", "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
}
]
91 changes: 91 additions & 0 deletions Default (OSX).sublime-keymap
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
[
{ "keys": ["left"], "command": "set_motion", "args": {
"motion": "vi_move_by_characters_in_line",
"motion_args": {"forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["right"], "command": "set_motion", "args": {
"motion": "vi_move_by_characters_in_line",
"motion_args": {"forward": true, "extend": true, "visual": false }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["up"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["down"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},

{ "keys": ["alt+left"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "punct_begin": true, "empty_line": true, "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["alt+right"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "punct_begin": true, "empty_line": true, "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},

{ "keys": ["ctrl+left"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "sub_word_begin": true, "punct_begin": true, "empty_line": true, "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["ctrl+right"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "sub_word_begin": true, "punct_begin": true, "empty_line": true, "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},

{ "keys": ["pageup"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "pages", "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}, {"key": "setting.vintage_ctrl_keys"}]
},
{ "keys": ["pagedown"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "pages", "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}, {"key": "setting.vintage_ctrl_keys"}]
},

{ "keys": ["super+left"], "command": "set_motion", "args": {
"motion": "vi_move_to_first_non_white_space_character",
"motion_args": {"extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["home"], "command": "set_motion", "args": {
"motion": "vi_move_to_first_non_white_space_character",
"motion_args": {"extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["super+right"], "command": "set_motion", "args": {
"motion": "vi_move_to_hard_eol",
"motion_args": {"repeat": 1, "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["end"], "command": "set_motion", "args": {
"motion": "vi_move_to_hard_eol",
"motion_args": {"repeat": 1, "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
},

{ "keys": ["super+up"], "command": "set_motion", "args": {
"motion": "move_to",
"motion_args": {"to": "bof", "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["super+down"], "command": "set_motion", "args": {
"motion": "move_to",
"motion_args": {"to": "eof", "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
}
]
80 changes: 80 additions & 0 deletions Default (Windows).sublime-keymap
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
[
{ "keys": ["left"], "command": "set_motion", "args": {
"motion": "vi_move_by_characters_in_line",
"motion_args": {"forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["right"], "command": "set_motion", "args": {
"motion": "vi_move_by_characters_in_line",
"motion_args": {"forward": true, "extend": true, "visual": false }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["up"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["down"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "lines", "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},

{ "keys": ["ctrl+left"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "punct_begin": true, "empty_line": true, "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["ctrl+right"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "punct_begin": true, "empty_line": true, "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},

{ "keys": ["alt+left"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "sub_word_begin": true, "punct_begin": true, "empty_line": true, "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["alt+right"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "stops", "word_begin": true, "sub_word_begin": true, "punct_begin": true, "empty_line": true, "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}]
},

{ "keys": ["pageup"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "pages", "forward": false, "extend": true }},
"context": [{"key": "setting.command_mode"}, {"key": "setting.vintage_ctrl_keys"}]
},
{ "keys": ["pagedown"], "command": "set_motion", "args": {
"motion": "move",
"motion_args": {"by": "pages", "forward": true, "extend": true }},
"context": [{"key": "setting.command_mode"}, {"key": "setting.vintage_ctrl_keys"}]
},

{ "keys": ["home"], "command": "set_motion", "args": {
"motion": "vi_move_to_first_non_white_space_character",
"motion_args": {"extend": true }},
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["end"], "command": "set_motion", "args": {
"motion": "vi_move_to_hard_eol",
"motion_args": {"repeat": 1, "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
},

{ "keys": ["ctrl+home"], "command": "set_motion", "args": {
"motion": "move_to",
"motion_args": {"to": "bof", "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
},
{ "keys": ["ctrl+end"], "command": "set_motion", "args": {
"motion": "move_to",
"motion_args": {"to": "eof", "extend": true},
"inclusive": true },
"context": [{"key": "setting.command_mode"}]
}
]
Loading

0 comments on commit 25d96e1

Please sign in to comment.