Sublime – Use Control+W to delete Word to the left

I’m a pretty big fan of Sublime Text (v3), will blog more about my setup details. But this morning i really missed the Control+W to delete the first word on the left side, so i found this Solution:

Sublime Text -> Preferences -> Key Bindings – User:

[
{ "keys": ["ctrl+w"], "command": "delete_word", "args": {"forward": false, "sub_words": true}},
]

An that’s it, you can now delete words with Control+W 🙂

 

FTP Server under Mac OS X

Today a colleague of mine (Thanks Alex Passfall) showed me a simple ftp server under mac:

pip2 install twisted # if not already
sudo twistd -n ftp -p 21 -r Downloads

After that you can access all the files in the specified directory through ftp. Awesome stuff!


aci-lab-as01#copy ftp://10.32.32.184/file.lic .
Destination filename [file.lic]?
Accessing ftp://10.32.32.184/file.lic...
Loading file.lic !
[OK - 814/4096 bytes]

814 bytes copied in 0.084 secs (9690 bytes/sec)

Thanks @Samuel Heinrich for spell checking 😉