Sublime Forum

Package Trouble?

#1

Hello!

I’m a new user of Sublime Text… I am using Sublime Text 2 and am attempting to utilize a plugin called Filter Through Command… From their git I installed the package into the packages folder by cloning:

git clone git://github.com/technocoreai/SublimeExternalCommand.git

Now I have the command available through the edit menu and it works as expected. When I am attempting to use the command by adding something to the palette, I am not able to find it, even after adding the following to my user preferences in ~/Library/Application Support/Sublime Text 2/Packages/User/Preferences.sublime-settings:

{ "caption": "Command Shortcut", "command": "filter_through_command", "args": { "cmdline" : "python /path/to/script.py -s"} }]

I am wondering if I am doing something wrong? I don’t see any pertinent info in the console after I save the preferences. I’ve tried to do the same by adding a key binding for the command and I get the same issue. No command is run, and no info after saving the key binding preferences.

Any help is greatly appreciated!

0 Likes

#2

Welp, the issue was that I was putting these in the settings rather than ~/Library/Application Support/Sublime Text 2/Packages/Default.sublime-commands

0 Likes