sublime text swap line keyboard shortcuts
cmd + ctrl + ⇧/⇩ on OS 10.8 running sublime text 2 do swap lines for me, by default. I did not need to bind any specific keys, nor does it appear to have any other function.
cmd + ctrl + ⇧/⇩ on OS 10.8 running sublime text 2 do swap lines for me, by default. I did not need to bind any specific keys, nor does it appear to have any other function.
Select the Key Bindings – User item under Sublime’s Preferences, then add the following example line: {“keys”: [“ctrl+shift+c”], “command”: “insert_snippet”, “args”: {“contents”: “hello!”}} This will add a CTRL+SHIFT+C shortcut to insert the hello! snippet. By the way, don’t forget to add a comma to the previous key binding hash so that all but the last … Read more
By default: { “keys”: [“ctrl+k”, “ctrl+b”], “command”: “toggle_side_bar” }, You can reach this settings at main menu: Preferences -> Key Bindings – Default. and you can override as you like, at main menu: Preferences -> Key Bindings – User.
I know this already has an accepted answer, but it is not necessary to install FileDiffs or anything else. Just right click on the modified window and select Show Unsaved Changes. A pane will show up at the bottom, listing the differences. There isn’t an obvious way to dismiss the pane, but Ctrl+F will replace … Read more
Split it up into several sed statements, separated by ;: sed ‘s/æ/ae/g;s/ø/oe/g;s/å/aa/g;s/Æ/Ae/g;s/Ø/Oe/g;s/Å/Aa/g’
You can use a shortcut (shift+space, or whatever you like) to move the cursor. In your Key Bindings – User: { “keys”: [“shift+space”], “command”: “move”, “args”: {“by”: “characters”, “forward”: true} }
Sublime Linter should do the trick. You can add underlining for custom static text. All you need is the Sublime Package Manager: Press Ctrl/Cmd+Shift+P Search for “Package Control: Install Package” Search for “SublimeLinter” As stated by jon in the first comment: For ST3, the SublimeLinter-annotations plugin highlights TODO, FIXME etc.
These work for me (Sublime Text 2 v2.0.1 on OS X 10.7.5) ⌘-↑: start of buffer ⌘-↓: end of buffer The CMD-up and -down combos are the default shortcut for moving to the start and end of text buffers on OS X. They work in Safari text areas, too, for example. As such, they are … Read more
This page in Ubuntu’s bug tracker describes this particular situation. Apparently this is a known bug with 14.04, possibly because of a regression with GLib, or a mismatch between GLib and GTK (so says one of the commenters). Nothing is trying to remove Sublime, it’s just an error in a programming library. If nothing is … Read more