Earlier quoted context omitted.
One reason to run Emacs in tmux is if you work on remote machines over, e.g. ssh. Emacs in tmux (or screen) lets you detach, log out then log back in and re-attach to the remote session with Emacs still running. That's amazingly handy.
Another option is tramp[1], which lets you open files remotely (generally via ssh/scp). Not the same thing, but often accomplishes the same goal. [1] http://www.gnu.org/software/tramp/#Top
tmux 1.8 Released
121–130 of 162 posts
Re: tmux 1.8 Released
#122http://www.tenshu.net/p/terminator.html kinda like this...
Re: tmux 1.8 Released
#123Earlier quoted context omitted.
Well - it's my tool of choice for editing Makefiles. :) But that's all I use it for. My vim setup automatically hammers tabs to spaces, and make doesn't like that. Shell users who use emacs mode (most ppl) may be annoyed by ctrl+a missing.
The following line in your vimrc will make vim not expand tabs for every file named "Makefile". au BufRead,BufNewFile Makefile set noexpandtab
Re: tmux 1.8 Released
#124Earlier quoted context omitted.
Teamocil author here, glad you like it! :)
Hacker News, man. Everybody's on here.
Re: tmux 1.8 Released
#125Re: tmux 1.8 Released
#126with several sessions running on most of my machines, i frequently found myself `detaching` and `reattaching` to a different session... as the `choose-session` command gives you a full list of all the windows, which tends to obfuscate exactly what's going on, particularly if you have a bunch of sessions and windows..
however, the `choose-tree` gives you a session tree, which you can expand and easily identify... meaning that instead of sending `^a d`, followed by tmux attach sessionname you can comfortably do a `^a s` and get where you want to be (presuming you've remapped ^b to ^a)
also, you should be using the tmux buffers, `^a =`!
Re: tmux 1.8 Released
#127Earlier quoted context omitted.
The following line in your vimrc will make vim not expand tabs for every file named "Makefile". au BufRead,BufNewFile Makefile set noexpandtab
Wow - this thread is full of good advice. I have not touched my dot files in about four years, and today they're all getting an upgrade. Thanks!
Re: tmux 1.8 Released
#128I realise you can rebind them, but both screen and tmux do themselves a disservice by choosing binding keys which overlap with prominent keys in emacs and for users who use emacs mode in their shell. First impressions count. If you want to configure tmux to use just a backtick as the escape, create ~/.tmux.conf unbind C-b set -g prefix ` bind-key ` send-prefix When you need to type a backtick just press it twice. For…
bindkey 'a' last-window
bindkey C-a last-window
if you use the command frequently enough, it might be worthwhile binding `^a a` and `^a^a`, similar to the tactic of binding F1 to in vimRe: tmux 1.8 Released
#129Earlier quoted context omitted.
Another option is tramp[1], which lets you open files remotely (generally via ssh/scp). Not the same thing, but often accomplishes the same goal. [1] http://www.gnu.org/software/tramp/#Top
You still need a remote shell open if you want to run make, use SCM plugins, etc, so I've never found tramp that useful. If there's a clever solution for that I'd love to hear it.
cd /user@host:/home/user/