LoginSignup
8
4

More than 5 years have passed since last update.

Atomのautocomplate-plusでTabで次候補、Shift+Tabで前候補に移動しEnterで確定するようにする

Posted at

atom.gif

Settings>Packages>autocomplate-plus>SettingsのUse Core Movement Commandsでチェックを外す。

Settings>Keybindings>your keymap fileにて以下を記述。

'body atom-text-editor.autocomplete-active':
  'ctrl-p': 'autocomplete-plus:move-up'
  'ctrl-n': 'autocomplete-plus:move-down'
  'tab': 'autocomplete-plus:move-down'
  'shift-tab': 'autocomplete-plus:move-up'
  'enter': 'autocomplete-plus:confirm'

ついでに自分は文字入力中の手動で補完に行く場合はctrl+spaceがMac自体で設定しているショートカットとかぶるので、以下のようにTabに変更している。

'atom-text-editor':
  'tab': 'autocomplete-plus:activate'
8
4
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
8
4