⬆️ ⬇️

HotKeys default in Sublime Text 2

Download, for free, without ads and SMS.

There are already a lot of things written on Sublime Text 2. This is a really great editor with very extensive features. But now I do not want to sing him another laudatory ode.



Just in a burst of curiosity, I got to see what are the shortcuts that could speed up the work in this editor. And I was very surprised at how much useful it turned out on hot keys by default, excluding any plug-ins and independent macros / snippets.





For example, I was pleased that:

')

alt + left or alt + right is a move through the words in camelCase;

ctrl + m - cancel selection;

ctrl + shift + l - splits the selection into a line-by-line multi-select;

alt + shift + w - allows you to insert an html-tag and immediately makes a multi-select on its name to be able to change to another tag;

ctrl + k, ctrl + c - vertically centers the line in which the cursor is located;

ctrl + k, ctrl + t - collapses all attributes of all html tags in the document;

F9 - sorts the selected lines in alphabetical order.



And there is still a lot of tasty. Therefore, I decided to select all existing combinations (at least the ones that I brought out the FindKeyConflicts plugin), describe them and learn the necessary ones. And then I thought that it would be nice to transfer this file into the hands of the public. As originally described for himself - "do not scold the pianist, he plays as best he can." Better when you see the inaccuracy, report it to the PM - I will correct and update the files.



I tested all combinations on my Sublime Text 2 and, if something didn’t work, I still made these “non-working” combinations with notes. It should be noted that each has its own settings and plug-ins, and plug-ins can change the default hot keys to their own. But personally, it prompted me to redo the hotkeys in plug-ins, so that they do not overlap with the basic ones (there are not many of them).



PDF file (zip archive, 71 Kb)



MS Word file (zip-archive, 25 Kb)



UPD files are not in the archive:



File in PDF (76 Kb)



File in MS Word (209 Kb)



UPD corrected some inaccuracies in descriptions and typos in files, updated files. Thank you FWhisper .

Source: https://habr.com/ru/post/160989/



All Articles