Cmd-} switches to the next tab, cmd-{ to the previous one. But have you tried reattach-to-user-namespace (it's in homebrew) to fix the tmux issues? Works great for me. :)
That said I do use macvim too (or at least its CLI binary) because YouCompleteMe has (had?) issues with with the standard vim (both from homebrew).
Edit: it's kind of off-topic but everyone should check out http://totalterminal.binaryage.com/ It's a plugin for the native Terminal.app that lets you activate or hide your terminal with a shortcut. I use it to get a terminal with alpha in front of whichever window I have active. Great for editing homepages and seeing the changes in the background or making a quick note in vim while watching a movie.
I rarely ever use CDs/DVDs so I use KeyRemap4MacBook + NoEjectDelay (on same link as last one) to make my eject key pop up a TotalTerminal visor from the bottom of my screen that looks like this.
The maker of Visor seems to have replaced it with TotalTerminal. It is Lion compatible.
I've found iTerm 2 to be a great replacement for Visor, though. It's got a ton of features that Terminal.app, and thus Visor, doesn't have. Getting it into "visor mode" is not at all obvious, however -
Set Preferences->Profiles->Window->Style to "Top of screen".
To hide/display it with a hotkey, go to Preferences->Keys->Hotkey->"Show/hide iTerm2 with a system-wide hotkey".
I use "CMD-shift-`", for some reason.
I haven't yet tried it to check, however the webpage for visor (http://visor.binaryage.com/) now has a link to an updated/renamed version that's supposed to support 10.7. Link is: http://totalterminal.binaryage.com/
I'd recommend TotalTerminal on top of vanilla Terminal. All the customization you can apply to Terminal also apply to TotalTerminal, and you can quickly open and dismiss the terminal with a custom keystroke. Reminds me of Guake on Linux.
Interesting. I'm using http://totalterminal.binaryage.com/ basically to have the terminal available as a dropdown whether I'm in sublime or not. The plugin you linked is pretty handy though, thanks.
export PS1="--------------------------------------------------------------------------------\n\w\n# "
Adjust hyphens to your terminal width; ain't nobody got time for this "detect window size" nonsense. :P
If you spend a lot of time SSH'd into things, you'll probably want to include the username and host (\u@\h
) in there before the \w
. It's not something I do very often so most of the time that information is superfluous.
I also use TotalTerminal, if that's of any use to you. It allows me to access it at any time on any space with Cmd+`.
You may already know about this, but I thought I'd give a shout out to totalterminal. It gives you a dropdown terminal window with a systemwide hotkey. I usually use Alfred and Totalterminal because as you said, Alfred is no CLI.
Do upgrade to Yosemite, it's awesome and after that read some more about Brew and install it http://brew.sh/ . If you are an Linux guy you will love it. Also take a look at TotalTerminal http://totalterminal.binaryage.com/ - an awesome piece of software that will allow you to have terminal in a shortcut just slideing from top or bottom :D
Coming from vim+tmux, I found the Emacs alternatives to be subpar (compared to tmux, anyway). I just use ansi-term sparingly now, and just stick with Terminal.app for my "real" shell needs. Since you're on OS X, I recommend TotalTerminal. Makes switching to a shell virtually seamless.
The drop down visor is by total terminal (awesome tool - can't recommend it enough). The login graphic is a script I run in ~/.profile available here (this is the tarball for it). Enjoy!
Wallpaper (I edited the text), GeekTool for the scripts, and I recently just added an iCal script and drop down terminal window with TotalTerminal. This is what it looks like now.