News for hackers. Stuff that matters.
Re:Build an IDE with tmux and vim by Ecio78 on Monday March 19, 2012 @07:02AM (#3723348)
Can you post/pastebin your config for this function keys mapping? thanks!

P.S. dont you have problems using tools like "top" and so on?

Re:Build an IDE with tmux and vim by luser001 on Monday March 19, 2012 @12:53PM (#3724778)
Hope this helps. It's nothing fancy. No, no probs with 'top'.

    # use ^K instead of default ^B.
    set-option -g prefix C-k
    unbind-key C-b
    bind-key C-k send-prefix
    
    # F1, F2 to cycle between windows within a "workspace".
    # what tmux calls "windows" are like workspaces in WindowMaker.
    # and what it calls "panes" are like individual xterm windows in a workspace.
    bind-key -n F2 select-pane -t:.+
    bind-key -n F1 select-pane -t:.-
    
    # F3, F4 to cycle between workspaces.
    bind-key -n F3 previous-window
    bind-key -n F4 next-window
    
    # F5 split a workspace horizontally and F6 to split vertically.
    bind-key -n F5 split-window
    bind-key -n F6 split-window -h
    
    # F9 new workspace
    bind-key -n F9 new-window
    
    # to disconnect from tmux do: ^K+d
    # or exit all the windows you created.
    bind-key -n F7 resize-pane -L
    bind-key -n F8 resize-pane -R
Re:Build an IDE with tmux and vim by Ecio78 on Tuesday March 20, 2012 @03:51AM (#3728234)
Thank you, unfortunately I dont know why but F1-F4 are not working, while F5,F6,F9 works. I'm using putty, dont know if this matters. When i press F1,F2,F3,F4 i got ~ on the shell
Re:Build an IDE with tmux and vim by luser001 on Saturday March 24, 2012 @11:57PM (#3751667)
Sorry, I just saw this. And I'm right now on Linux so I can't confirm, so I might be slightly off here.

There's a setting under keyboard (or terminal, I forget). You might need to change it to 'X11R6'.

Look at section 4.4.3 here: http://the.earth.li/~sgtatham/putty/0.62/htmldoc/Chapter4.ht...

I hope that fixes it for you. Good luck.