際際滷

際際滷Share a Scribd company logo
RUBYRUBY CONFERENCE
- September- September
Rakesh P DRakesh P D
Ruby on Rails Developer
rakeshpd.rpd @errakeshpdrakeshpd
errakeshpd
Mouse less programming with TMUX

Knowldge about programming languagesKnowldge about programming languages

IDEIDE
- They Will not share the source code
?
- Yeah, Windows REMOTE DESKTOP
SLOW..
MOUSELESS DEVELOPMENTMOUSELESS DEVELOPMENT
TMUXTMUX
 TERMINAL MULTI PLUXER
DIFFERENT TASK IN ONE SCREENDIFFERENT TASK IN ONE SCREEN
CUSTOMIZABLE
STEPSSTEPS
 INSTALL TMUX + VIM
 CUSTOMIZE VIM
INSTALL TMUX : sudo apt-get install tmux
INSTALL VIM : sudo apt-get install vim
CUSTOMIZING VIM :
1. vimawsome.com
2. choose pluggins
3. install pluggins { add to your ~/.vimrc file }
optional : Pathogen, vundle { package managers }
Mouse less programming with TMUX
Mouse less programming with TMUX
CHEET SHEET
 The default command key bindings are:

C-a Send the prefix key (C-b) through to the application.
 C-P/N Rotate the panes in the current window forwards.
 ! Break the current pane out of the window.

" Split the current pane into two, top and bottom.

# List all paste buffers.

$ Rename the current session.
 % Split the current pane into two, left and right.

& Kill the current window.

 ' Prompt for a window index to select.
 , Rename the current window.
 - Delete the most recently copied buffer of text.
 . Prompt for an index to move the current window.
 0 to 9 Select windows 0 to 9.
 : Enter the tmux command prompt.
 ; Move to the previously active pane.
 = Choose which buffer to paste interactively from a list.
 ? List all key bindings.
 D Choose a client to detach.


[ Enter copy mode to copy text or view the history.

] Paste the most recently copied buffer of text.
 c Create a new window.
 d Detach the current client.

f Prompt to search for text in open windows.

i Display some information about the current window.

l Move to the previously selected window.
 n Change to the next window.

o Select the next pane in the current window.

 p Change to the previous window.
 q Briefly display pane indexes.
 r Force redraw of the attached client.
 s Select a new session for the attached client interactively.
 L Switch the attached client back to the last session.
 t Show the time.
 w Choose the current window interactively.
 x Kill the current pane.
 { Swap the current pane with the previous pane.

 } Swap the current pane with the next pane.
 ~ Show previous messages from tmux, if any.
 Page Up Enter copy mode and scroll one page up.
 Up, Down
 Left, Right
 Change to the pane above, below, to the left, or to the right of the current
pane.
 M-1 to M-5 Arrange panes in one of the five preset layouts: even-horizontal,
even-vertical, main-horizontal, main-vertical, or
 tiled.
 M-n Move to the next window with a bell or activity marker.
 M-o Rotate the panes in the current window backwards.
 M-p Move to the previous window with a bell
or activity marker.
 C-Up, C-Down
 C-Left, C-Right
 Resize the current pane in steps of one cell.
 M-Up, M-Down
 M-Left, M-Right
 Resize the current pane in steps of five cells
Mouse less programming with TMUX

More Related Content

Mouse less programming with TMUX

  • 2. Rakesh P DRakesh P D Ruby on Rails Developer rakeshpd.rpd @errakeshpdrakeshpd errakeshpd
  • 4. Knowldge about programming languagesKnowldge about programming languages IDEIDE
  • 5. - They Will not share the source code ? - Yeah, Windows REMOTE DESKTOP SLOW..
  • 8. DIFFERENT TASK IN ONE SCREENDIFFERENT TASK IN ONE SCREEN
  • 10. STEPSSTEPS INSTALL TMUX + VIM CUSTOMIZE VIM INSTALL TMUX : sudo apt-get install tmux INSTALL VIM : sudo apt-get install vim CUSTOMIZING VIM : 1. vimawsome.com 2. choose pluggins 3. install pluggins { add to your ~/.vimrc file } optional : Pathogen, vundle { package managers }
  • 13. CHEET SHEET The default command key bindings are: C-a Send the prefix key (C-b) through to the application. C-P/N Rotate the panes in the current window forwards. ! Break the current pane out of the window. " Split the current pane into two, top and bottom. # List all paste buffers. $ Rename the current session. % Split the current pane into two, left and right. & Kill the current window.
  • 14. ' Prompt for a window index to select. , Rename the current window. - Delete the most recently copied buffer of text. . Prompt for an index to move the current window. 0 to 9 Select windows 0 to 9. : Enter the tmux command prompt. ; Move to the previously active pane. = Choose which buffer to paste interactively from a list. ? List all key bindings. D Choose a client to detach.
  • 15. [ Enter copy mode to copy text or view the history. ] Paste the most recently copied buffer of text. c Create a new window. d Detach the current client. f Prompt to search for text in open windows. i Display some information about the current window. l Move to the previously selected window. n Change to the next window. o Select the next pane in the current window.
  • 16. p Change to the previous window. q Briefly display pane indexes. r Force redraw of the attached client. s Select a new session for the attached client interactively. L Switch the attached client back to the last session. t Show the time. w Choose the current window interactively. x Kill the current pane. { Swap the current pane with the previous pane.
  • 17. } Swap the current pane with the next pane. ~ Show previous messages from tmux, if any. Page Up Enter copy mode and scroll one page up. Up, Down Left, Right Change to the pane above, below, to the left, or to the right of the current pane. M-1 to M-5 Arrange panes in one of the five preset layouts: even-horizontal, even-vertical, main-horizontal, main-vertical, or tiled. M-n Move to the next window with a bell or activity marker. M-o Rotate the panes in the current window backwards.
  • 18. M-p Move to the previous window with a bell or activity marker. C-Up, C-Down C-Left, C-Right Resize the current pane in steps of one cell. M-Up, M-Down M-Left, M-Right Resize the current pane in steps of five cells