LoginSignup
7
7

More than 5 years have passed since last update.

SublimeText3での日本語検索設定メモ

Posted at

SublimeText3のデフォルト設定だと、日本語での検索が可能ではあるが検索ワード入力後に確定すると検索ワード入力エリアに入らず、検索自体も中断されてしまう。

自分的にはとても不便なので調べてみたところ、どうやらデフォルトキーバインドのインクリメンタルサーチ系とバッティングしている模様なので、これを無効にすれば検索ワード入力エリアに入るようになる。

具体的には
Preference->キーバインド(標準)を開いて

    // Find panel key bindings
//  { "keys": ["enter"], "command": "find_next", "context":
//      [{"key": "panel", "operand": "find"}, {"key": "panel_has_focus"}]
//  },

    // Replace panel key bindings
//  { "keys": ["enter"], "command": "find_next", "context":
//      [{"key": "panel", "operand": "replace"}, {"key": "panel_has_focus"}]
//  },
    // Incremental find panel key bindings
//  { "keys": ["enter"], "command": "hide_panel", "context":
//      [{"key": "panel", "operand": "incremental_find"}, {"key": "panel_has_focus"}]
//  },

この3カ所の3行ずつの設定をコメントアウトして無効にすれば、日本語での検索は便利になる。

ただし、インクリメンタルサーチ機能が死んでしまうので多用する人は逆に不便になってしまうかもなので、実際は使い勝手とのバランスになるので、日本語検索を結構使う人向けかなという気もします。

7
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
7