第8章 — ショートカットとコマンドライン

Last Updated: 2026-10-22 02:53 Views: 5

第8章 — ショートカットとコマンドライン

8.1 デフォルトショートカット

「ヘルプ(H) → キーボードショートカット」(F1)で全一覧を開きます:

ショートカットダイアログ

デフォルトのバインド(キーマップエディタでカスタマイズ可能 — 第7章を参照):

ファイル

ショートカット 操作
Ctrl+S 保存
Ctrl+Shift+S 名前を付けて保存
Ctrl+Alt+S すべて保存
Ctrl+W ファイルを閉じる

編集

ショートカット 操作
Ctrl+Z / Ctrl+Y 元に戻す / やり直し
Ctrl+X / Ctrl+C / Ctrl+V 切り取り / コピー / 貼り付け
Ctrl+F / Ctrl+H 検索 / 置換
Ctrl+G 行に移動
Ctrl+Shift+F フォーマット
Ctrl+/ コメントの切り替え
Ctrl+Shift+K 行を削除

選択

ショートカット 操作
Ctrl+A すべて選択
Alt+Up / Alt+Down 行を上へ / 下へ移動
Shift+Alt+Up / Shift+Alt+Down 行を上に / 下にコピー
Tab / Shift+Tab インデント / インデントを減らす
Ctrl+U / Ctrl+L 大文字 / 小文字に変換

表示

ショートカット 操作
Ctrl+B ファイルツリーの切替
Alt+Z 折り返しの切替
Ctrl+K Ctrl+0 / Ctrl+K Ctrl+J すべて折りたたむ / すべて展開
Ctrl+= / Ctrl+- / Ctrl+0 拡大 / 縮小 / リセット

オプションとヘルプ

ショートカット 操作
Ctrl+, 設定
Ctrl+Alt+T カスタムテーマエディタ
Ctrl+Alt+K キーマップエディタ
F1 ショートカットヘルプ

8.2 コマンドライン引数

wxeditor [-sid <session-id>] | [-host <host> -port <port> -authType pwd|cert
          -authUser <user> [-authPwd <password> | -authCert <certfile>]]
         [-file <path>] [-lang <code>] [-theme <name>] [-h]
引数 説明
-sid <session-id> wxtermのsessions.jsonのSSHセッションを使用して接続
-host <host> -port <port> 直接リモート接続
-authType pwd\|cert 認証タイプ:パスワードまたは証明書
-authUser <user> ログインユーザー名
-authPwd <password> パスワード(enc: プレフィックス = wxtermのマスターキーで暗号化)
-authCert <file> 秘密鍵のパス(一時的な鍵ファイルは読み取り後に削除されます)
-file <path> 起動時に開くファイル(リモート)
-lang <code> UI言語コード(例:en、zh-CN)
-theme <name> UIテーマ名
-h 使用方法を表示

例:

# Local mode (same as double-click launch)
wxeditor

# Open a local file (its directory becomes the project)
wxeditor -file ~/project/ROV/main.rs

# Connect with a wxterm session and open a remote file
wxeditor -sid abc123 -file /etc/nginx/nginx.conf

# Direct remote connection
wxeditor -host 192.168.1.90 -port 22 -authType pwd -authUser root \
         -authPwd secret -file /var/log/app.log

-sid も直接接続用の引数も指定しない場合、アプリはローカルモードで 起動します。リモート機能は無効になり、ファイルツリーはユーザーのホーム ディレクトリがデフォルトになります。

← Previous Article 第7章 — 設定とカスタマイズ Next Article → 第9章 — 設定ファイル

Comments

No comments yet