On 21 January 2012, at 10:09, Carlos Villuendas Zambrana wrote:
> …
> Since i can load .tmux.conf file, the bindings key work properly, but i have 
> the problem that tmux change my prompt console with the generic "bash-3.2$" 
> ...
> 
> I am used this one http://files.floriancrouzat.net/dotfiles/.tmux.conf 
> tmux.conf file. 

I really wouldn't go using random dotfiles without knowing what they do. I 
haven't looked closely at that one, but you have no idea that all the options 
set in that are benign - you could find yourself hating tmux because the author 
of that conf file has made some choices that don't suit you.

There are some great tutorials out there about customising tmux. Delete that 
shitty one, all except the same first 3 lines which everyone uses:

  set -g prefix C-a
  unbind C-b
  bind C-a send-prefix

Then build up your own tmux.conf file based on your own preferences. It took me 
a few hours to get tmux customised the way I like it, but that pays off when 
you'll be using tmux on a daily basis for the next few years. Get the colours 
of the status bar right for YOU, and the shortcuts and bindings likewise. When 
you see an option suggested, read up fully what it does, and then use that 
understanding to decide exactly how YOU think tmux should behave.

I happen to prefer the vi keybindings chosen by the guy who wrote that conf 
file, but do you? Look at the  
"WINDOWS AND PANES" section of `man tmux`, under the table headed "functions" - 
these two commands that this guy set make a big difference. Were you aware of 
that?

Use these resources: 

http://blog.hawkhost.com/2010/07/02/tmux-%E2%80%93-the-terminal-multiplexer-part-2/
https://bbs.archlinux.org/viewtopic.php?id=84157
https://wiki.archlinux.org/index.php/Tmux
http://stackoverflow.com/questions/4889724/how-can-you-easily-tell-which-pane-in-tmux-is-focused

Make comments in your own tmux.conf, so you'll know what each command does when 
you refer to it in the future.

Stroller.
 
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to