Need ability to open file to specific line from external applications (OSX) Calvin Rien 7 years ago • updated by Allan Lavell 5 years ago • 13 When the Unity3D authoring tool shows warnings or errors about a line of code, you can double click the line in the Unity console to open the specified file in an external text editor. Use Goto Anything to open files with only a few keystrokes, and instantly jump to symbols, lines or words. Triggered with Ctrl+P ⌘+P, it is possible to: Type part of a file name to open it. Type @ to jump to symbols, # to search within the file, and: to go to a line number.
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHave a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
commented Mar 25, 2015
Subl command line tool in Mac OSX Yosemite can't edit files and open directories after build 3080. For example when running: Only open Sublime without opened files or directories. Info: |
changed the titlesubl Command Line Tool in Mac OSX Yosemite can't edit files and open directoriesMar 25, 2015
commented Mar 25, 2015
If you are using tmux or a non-apple build of screen , this may help you: #675 (comment) |
commented Mar 25, 2015
@weslly It works like a charm! I will close this issue and make others go to #675 instead. |
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Active3 years, 2 months ago
I have read the key bindings file of Sublime Text 2
I'm wondering if we can move to the end of line without
END
key in keyboard.In vim, I just
ESC
and A
, then the cursor would be in the end of line.lit2019
lit2019lit201990022 gold badges1212 silver badges2525 bronze badges
8 Answers
To change the key binding, open
Key Bindings - User
preferences and add a new line between the square brackets. For example, to set the key binding to Control-Alt-Command-A
you'd use:If this line that you're adding is not the last line before the closing square bracket, then you'll need to include a comma at the end of the line. For example:
You should check the
Key Bindings - Default
preferences to make sure that the key binding you're setting here doesn't conflict with anything else that you might use.You shouldn't edit the
James ChevalierJames ChevalierKey Bindings - Default
preferences directly, because they will be overwritten in Sublime Text 2 upgrades.8,24411 gold badge3838 silver badges6363 bronze badges
Command+RightArrowKey on Mac.Control+RightArrowKey on Windows
Jump To A Specific Line Sublime Text For Mac
YilingYiling1,97322 gold badges1717 silver badges2222 bronze badges
1) Hit
Super+Shift+P
to open Command Palette (Ctrl+Shift+P
on Windows)2) Type 'kbu' to open Preferences: Key Bindings - User
3) Copy / paste the following code into it:
(Note: if the file is not empty then obviously you know what to do.)
4) Hit
Super+S
(Ctrl+S
) to save and you are all set!I chose
GeoGeoSuper+;
shortcut for I often write in PHP and it's convenient to end lines with a semicolon. Other options could be Ctrl+;
or Super+.
or whatever else you find convenient.9,63444 gold badges2727 silver badges5252 bronze badges
Jump To A Specific Line Sublime Text For Mac Download
If you're a fan of vim you can enable Vintage mode in Sublime Text 2
Preferences: Settings - User
![Jump to a specific line sublime text for mac Jump to a specific line sublime text for mac](https://i1.wp.com/crackedpack.com/wp-content/uploads/2017/11/Sublime-Text-3.0-Crack-Full-Version.jpg?resize=223%2C223)
Then remove Vintage from the ignored_packages.
tayopitayopi
How about binding something that'll make you faster? This is what I use (from Key bindings - user):
This way, to go to end of the line I use
alt+;
, and to go to eof I use alt+shift+;
Or use Vim...
Flow OverstackFlow Overstack
BindiryBindiry
You can just replace the key with something other than 'end'. Don't edit the main key bindings file though. Add the change to th user version and it will override the defaults.
ValjasValjas4,62611 gold badge1616 silver badges3131 bronze badges
I use [ESC] and [A] in Sublime too :-) - I know it's a long time after you asked the question, but I've started using VIM recently, and configured Sublime to use vintage mode. As I'm fairly new to Sublime too, I'm not 100% sure, but I think you should edit the user preferences file rather than the default preferences file as suggested in the above link, as I gather the default file can get overwritten, and the user preference will override the default anyway. Hope this helps.
Ronan MoriartyRonan Moriarty