Hello, I've decided to finally make the switch from screen to tmux.  I had
my screenrc set up to map my function keys to switch to the appropriate
terminal within a screen (eg pressing F3 would switch to terminal 3).  To do
this, I had to modify my screenrc to start numbering at 1 instead of 0.  I'm
having trouble doing the same in .tmux.conf.  My .tmux.conf currently
contains the following:

set-option base-index 1

new  -n WindowName1 vim
neww -n WindowName2 vim
neww -n WindowName3 vim

bind-key -n F1 select-window -t :1
bind-key -n F2 select-window -t :2
bind-key -n F3 select-window -t :3

The mappings of F1, F2 and F3 work as expected.  However, base-index seems
to have no effect.  I added the three commands to create new windows on
startup from the tutorial, just as a test.  However, when I start tmux, no
new windows are created.  Also note that I can add a bunch of garbage (eg
"adf zsadf asdf") to the .tmux.conf file and it doesn't seem to cause
errors.  However, if I add a new bind-key line (or comment an existing one
out), it seems to get picked up, so tmux must be reading the config file.

Any ideas what's going on here?

Thanks for any assistance.

- Eric
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to