Tmux Shell Vim

Source: Internet
Author: User

Robbyrussell/oh-my-zsh GitHub has ended my Shell configuration;
Spf13/spf13-vim Road GitHub ended my vim configuration

Session related Operations
Operation shortcut Keys
View/Toggle Session Prefix s
Leave session Prefix D
Rename current session Prefix $
Window related actions
Operation shortcut Keys
New Window Prefix c
Switch to the previous active window Prefix space
Close a window Prefix &
Switch using the window number Prefix window number
Pane related Operations
Operation shortcut Keys
Switch to the next pane Prefix o
View the numbering of all panes Prefix q
Splits a new pane vertically Prefix "
Split a new pane horizontally Prefix%
Temporarily put a form to the maximum Prefix Z

Roll screen

Roll screen to enter the Copy-mode, that is, the prefix +[, and then you can use the up and down keys to scroll the screen, the configuration of the VI shortcut key mode, you can like the operation of the VI to scroll the screen, very convenient. Exit directly by pressing ' Q ' key.

Quick Start Tmux

If you think you should open tmux every time, and then open a few windows and panels is very troublesome, then the following script you will love. Refer here

Maximizes the current pane

#命名会话

#会话

Replication Mode Copy-mode

    • prefix [Enter copy mode
    • Start copying by space, move cursor Select Copy Area
    • Press Enter to copy and exit Copy-mode.
    • Move the cursor to the specified position, press Preifx] to paste

    • C-b? Show shortcut keys Help
    • C-b c-o Swap window position, similar to the c-w in vim
    • C-b space key with next built-in layout
    • C-b! Change the current window to a new window
    • C-b "Horizontal Divider window
    • C-b% Vertical Divider window
    • C-b Q Displays the number of the separator window
    • C-b o jumps to the next separator window
    • C-b the previous and next separated windows of the upper and lower keys
    • C-b C-direction key to resize a delimited window
    • C-b c Creating a new window
    • C-b 0~9 Select the window
    • C-b c Creating a new window
    • C-b n Select the next window
    • C-b L switch to the last used window
    • C-b P Select Previous window
    • C-b w display and select window in menu mode
    • C-b t Display clock
    • C-b; Switch to the last used panel
    • C-b x Close Panel
    • C-b & Close Window
    • C-b s display and select sessions in menu mode
    • C-b D exits tumx and saves the current session, at which point the Tmux is still running in the background and can be entered into the specified session via Tmux attach

Tmux Shell Vim

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.