美文网首页
tmux使用技巧(1):查看快捷键说明

tmux使用技巧(1):查看快捷键说明

作者: 湘港记者 | 来源:发表于2020-06-29 17:38 被阅读0次

bind-key,然后按?,会出现快捷键说明:
bind-key默认是control^+b,我修改成了control^+a

C-a C-o     Rotate through the panes                                                                                                                                                                 
C-a C-z     Suspend the current client
C-a Space   Select next layout
C-a !       Break pane to a new window
C-a #       List all paste buffers
C-a $       Rename current session
C-a &       Kill current window
C-a '       Prompt for window index to select
C-a (       Switch to previous client
C-a )       Switch to next client
C-a ,       Rename current window
C-a .       Move the current window
C-a /       Describe key binding
C-a 0       Select window 0
C-a 1       Select window 1
C-a 2       Select window 2
C-a 3       Select window 3
C-a 4       Select window 4
C-a 5       Select window 5
C-a 6       Select window 6
C-a 7       Select window 7
C-a 8       Select window 8
C-a 9       Select window 9
C-a :       Prompt for a command
C-a ;       Move to the previously active pane
C-a =       Choose a paste buffer from a list
C-a ?       List key bindings
C-a D       Choose a client from a list
C-a E       Spread panes out evenly
C-a L       Switch to the last client
C-a M       Clear the marked pane
C-a [       Enter copy mode                                                                                                                                                                           
C-a ]       Paste the most recent paste buffer
C-a c       Create a new window
C-a d       Detach the current client
C-a f       Search for a pane
C-a i       Display window information
C-a m       Toggle the marked pane
C-a n       Select the next window
C-a o       Select the next pane
C-a p       Select the previous pane
C-a q       Display pane numbers
C-a s       Choose a session from a list
C-a t       Show a clock
C-a w       Choose a window from a list
C-a x       Kill the active pane
C-a z       Zoom the active pane
C-a {       Swap the active pane with the pane above
C-a }       Swap the active pane with the pane below
C-a ~       Show messages
C-a DC      Reset so the visible part of the window follows the cursor
C-a PPage   Enter copy mode and scroll up
C-a Up      Select the pane above the active pane
C-a Down    Select the pane below the active pane
C-a Left    Select the pane to the left of the active pane
C-a Right   Select the pane to the right of the active pane
C-a M-1     Set the even-horizontal layout
C-a M-2     Set the even-vertical layout
C-a M-3     Set the main-horizontal layout
C-a M-4     Set the main-vertical layout
C-a M-5     Select the tiled layout
C-a M-n     Select the next window with an alert
C-a M-o     Rotate through the panes in reverse
C-a M-p     Select the previous window with an alert
C-a M-Up    Resize the pane up by 5
C-a M-Down  Resize the pane down by 5
C-a M-Left  Resize the pane left by 5
C-a M-Right Resize the pane right by 5
C-a C-Up    Resize the pane up
C-a C-Down  Resize the pane down
C-a C-Left  Resize the pane left
C-a C-Right Resize the pane right
C-a S-Up    Move the visible part of the window up
C-a S-Down  Move the visible part of the window down
C-a S-Left  Move the visible part of the window left
C-a S-Right Move the visible part of the window right

其中C-a替换为自己的bind-key即可。

从此告别tmux的各种cheatsheet。

相关文章

  • tmux使用技巧(1):查看快捷键说明

    按bind-key,然后按?,会出现快捷键说明:bind-key默认是control^+b,我修改成了contro...

  • Tmux 使用笔记

    Tmux 速成教程:技巧和调整Tmux 入门介绍多终端管理器TMUX使用详解 查看tmux版本 tmux -V 会...

  • tmux和vim很配哦:使用vim风格的快捷键

    tmux快捷键 tmux默认使用emacs模式的快捷键,这对我们使用vim的用户其实很不友好,而且我们认为tmux...

  • Linux总结

    Linux中编写Shell脚本 Ubuntu下使用tmux实现分屏,以及tmux快捷键

  • PyCharm教程/技巧大全

    PyCharm技巧: #1 常用快捷键 #2 查看使用库源码 Mac: Command+B 或Command+单击...

  • tmux

    1 新建 tmux new -s ccc 2查看tmux窗口tmux ls 3进入一个tmux窗口tmux a -...

  • Tmux 快捷键及自定义配置

    1. 查看 Tmux 会话状态 tmux ls 2. tmux 下获取现有 session 列表 prefix s...

  • tmux的分屏功能、会话不中断功能

    1)安装工具 在ubuntu系统中安装tmux工具 (2)使用tmux 分屏命令 1. 输入命令 tmux 使用...

  • tmux基本用法

    安装tmux tmux相关概念和操作前缀键tmux窗口有很多快捷键,所有的快捷键都通过前缀键唤起,默认的前缀键是 ...

  • IDEA 快捷键大全

    1、在IDEA中直接查看自己对应使用的是哪个KeyMap,会有详细的快捷键说明文档。 2、为什么不上快捷键,是因为...

网友评论

      本文标题:tmux使用技巧(1):查看快捷键说明

      本文链接:https://www.haomeiwen.com/subject/ignofktx.html