2016-08-12 3 views
2

tmux에서 명령 프롬프트를 여는 일반적인 방법은 prefix + :입니다. 시퀀스 prefix + ;을 바인드하여 명령 프롬프트를 열고 싶습니다. 나는 shift 키를 누르기에는 너무 게으른 편이다.바인드 키 접두사 +; tmux에서 명령 프롬프트를 열려면

나는 나의 tmux.conf이를 넣었을 때 : bind-key -T prefix : command-prompt : 나는 prefix + ? (tmux list-keys 별칭)을 수행 할 때,이 나열되어 있기 때문에, 재미 /Users/skilbjo/.tmux.conf:19: usage: bind-key [-cnr] [-t mode-table] [-T key-table] key command [arguments]

: bind-key ; command-prompt, 나는이 오류가 발생합니다. 이 마법은 어떻게 작동합니까? 나도 시도해도 bind-key -T prefix ; command-prompt 같은 오류 메시지

답변

3

tmux 명령 구분 기호로 세미콜론을 사용합니다.

Multiple commands may be specified together as part of a command sequence. Each command should be separated by spaces and a semicolon; commands are executed sequentially from left to right and lines ending with a backslash continue on to the next line, except when escaped by another backslash. A literal semicolon may be included by escaping it with a backslash (for example, when specifying a command sequence to bind-key).

싶은 것 것은 :

unbind-key \; 
bind-key \; command-prompt 
TMUX 남자 페이지에서

관련 문제