Skip to content

Commit

Permalink
add upload_selection_as_file command to menu files
Browse files Browse the repository at this point in the history
  • Loading branch information
eremeevdev committed May 23, 2015
1 parent ca347a7 commit 5f0b944
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions Context.sublime-menu
Expand Up @@ -5,6 +5,7 @@
"children":
[
{ "command": "send_selection", "caption": "Slack: Send Selection" },
{ "command": "upload_selection_as_file", "caption": "Slack: Upload Selection As File" },
{ "command": "send_message", "caption": "Slack: Send Message (from input)" },
{ "caption": "-" },
{ "command": "upload_current_file", "caption": "Slack: Upload Current File" },
Expand Down
4 changes: 4 additions & 0 deletions Default.sublime-commands
Expand Up @@ -11,6 +11,10 @@
"caption": "Slack: Upload Current File",
"command": "upload_current_file"
},
{
"caption": "Slack: Upload Selection As File",
"command": "upload_selection_as_file"
},
{
"caption": "Slack: Upload File From Path",
"command": "upload_from_path"
Expand Down
3 changes: 2 additions & 1 deletion Default.sublime-keymap
@@ -1,5 +1,6 @@
[
{"keys": ["ctrl+alt+u"], "command": "send_selection"},
{"keys": ["ctrl+alt+n"], "command": "send_message"},
{"keys": ["ctrl+alt+j"], "command": "upload_current_file"}
{"keys": ["ctrl+alt+j"], "command": "upload_current_file"},
{"keys": ["ctrl+alt+r"], "command": "upload_selection_as_file"}
]

0 comments on commit 5f0b944

Please sign in to comment.