Selecting some stuff to cut, then selecting rest of code to delete causes what I want to delete to be copied to the clipboard.
Because Shift+Delete is Cut hotkey for some archaic reason.
A pain in the ass, because obviously I want to delete what I selected and not cut it to the clipboard.
Okay, I could just slow down and wait to left my left pinky depress left shift fully.
But blah, fuck that.
I found I can over-write the default keymap for shift+delete (and some others) made it delete_word which is way more helpful.
Preferences | Key Bindings
Paste this into the User keymap.
[
{ "keys": ["shift+delete"], "command": "delete_word" },
{ "keys": ["ctrl+insert"], "command": "none" },
{ "keys": ["shift+insert"], "command": "none" },
]
A blog for posting random things that we want to archive for the internet. Game Development, Networking, Private Server Emulation, Game Hacking & Exploiting, Game & Software security, Tutorials, The dark arts, food :D So its all in one place for people to learn from.
Showing posts with label Better Coding. Show all posts
Showing posts with label Better Coding. Show all posts
Thursday, 2 March 2017
Thursday, 27 March 2014
Preventing spelling mistakes with Sublime spell checking
So people seem to get annoyed at spelling mistakes in my comments and code.
I'm not very good at English. Turns out sublime has a solution.
I just have to enable these settings under Preferences Settings - Default or Settings - User etc.
If you use US spelling you could set your dictionary too
Yeah.. I use GB at work because I live in New Zealand and we spell things with UK spellings.
Eg Colour not Color. I much prefer US spelling but not much that I can do about that since everyone else would expect things to be spelt how they want right?
https://www.sublimetext.com/docs/2/spell_checking.html
It adds commands to the right click menu when right clicking on words where you can ignore or see list of corrections. And words are underlined with a red triangle wave squiggle.
It checks comments and strings in ' ' " " etc.
Very Useful.
I'm not very good at English. Turns out sublime has a solution.
I just have to enable these settings under Preferences Settings - Default or Settings - User etc.
"spell_check": true, "dictionary": "Packages/Language - English/en_GB.dic"
If you use US spelling you could set your dictionary too
"dictionary": "Packages/Language - English/en_US.dic"
Yeah.. I use GB at work because I live in New Zealand and we spell things with UK spellings.
Eg Colour not Color. I much prefer US spelling but not much that I can do about that since everyone else would expect things to be spelt how they want right?
https://www.sublimetext.com/docs/2/spell_checking.html
It adds commands to the right click menu when right clicking on words where you can ignore or see list of corrections. And words are underlined with a red triangle wave squiggle.
It checks comments and strings in ' ' " " etc.
Very Useful.
Subscribe to:
Posts (Atom)