screen and tmux A comparison of the features (or more-so just a table of notes for accessing some of those features) for GNU screen and BSD-licensed tmux. The formatting here is simple enough to understand (I would hope). ^ means ctrl+, so ^x is ctrl+x. M- means meta (generally left-alt or escape)+, so M-x is left-alt+x It should be noted that this is no where near a full feature-set of either gro
この記事は ターミナルマルチプレクサ Advent Calendar 2011 : ATND の9日目です。 8日目は、matsuu さんの tmuxで複数のペインに対して一斉に同じ文字を入力する - Dマイナー志向 でした。 今日は tmux で複数のセッションを移動するための switch-client というコマンドの紹介です。 switch-client [-lnp] [-c target-client] [-t target-session] (alias: switchc) Switch the current session for client target-client to target-session. If -l, -n or -p is used, the client is moved to the last, next or previous session
# 設定リロード bind r source-file ~/.tmux.conf \; display-message "Reload Config!!" # "C-b, [" コピーモードの設定 vi #set-window-option -g mode-keys vi setw -g mode-keys vi # [?]キーバインドの確認 # [p]貼り付け bind p paste-buffer # c[Enter]コピー #bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy" bind -t vi-copy Enter copy-pipe "xclip -i -selection clipboard" # c[Space]選択 # [y]1行コピー(クリップボードとの連携がない場合) bind
screen から tmux に乗り換えて2ヶ月ほど立ちますが、不便なことが4つありました。 copy した文字列を直接ファイルやプログラムに渡せない 2ストロークの key bind が定義できない cdd が動かない copy mode で1行コピーがない (1), (2) は未だに未解決ですが、 (3) は 「cdd を tmux, bash, multi session +α に対応した」で解決、 今回は先日解決した (4) について書こうと思います。 先日 .tmux.conf を整理しようと man tmux を眺めていたんですが、どこからかコピペしてきた begin-selection や copy-selection が man に載ってないことに気づきました。どうやら key-table を指定した際に使用可能なコマンドは基本的に載っていないようです。 そこでソースを検索
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く