A new one for me I accidentally found the other day.. If you use Spotlight to find something and then want to see the file in Finder, Cmd+click the item in the Spotlight dropdown. Edited from Cmd+shift+click due to note in child comment :-)
isn't it just Cmd+click ?
Quick tip for developers who use OS X
71–80 of 406 posts
Re: Quick tip for developers who use OS X
#72 python -m SimpleHTTPServer
I'd recommend an alias like "serve". It basically puts the current directory online (binds to 0.0.0.0:8000).Re: Quick tip for developers who use OS X
#73Useful when copy/pasting things to share with other people in email and such: $ pbpaste | pbcopy takes the current contents of the copy/paste buffer and removes color/font/background color rich formatting and puts just plain text back into the paste buffer. And of course pbcopy and pbpaste are also very useful on their own.
Re: Quick tip for developers who use OS X
#74Sucks that it doesn't work in iTerm2.
Yes it does - I just tried it. Worked like a dream.
Re: Quick tip for developers who use OS X
#75A new one for me I accidentally found the other day.. If you use Spotlight to find something and then want to see the file in Finder, Cmd+click the item in the Spotlight dropdown. Edited from Cmd+shift+click due to note in child comment :-)
Re: Quick tip for developers who use OS X
#76mdfind to get Spotlight results in shell. Also, iTerm is a great Terminal replacement, if you haven't tried it.
Re: Quick tip for developers who use OS X
#77OK, so for vim users with zsh: bindkey -v Now be happy, hit and, use ^ and $ but also f t and also ,;. You can copy/paste with dd, Y, etc...
set -o vi does the trick for vim. Most vi commands work, but when you type v this will open vi to edit your command line, in case you feel any command is missing.
Re: Quick tip for developers who use OS X
#78Sucks that it doesn't work in iTerm2.
Re: Quick tip for developers who use OS X
#79Also, Option+click and drag gives you column selection mode.