Skip to content

Key Binding Configuration

Till Toenshoff edited this page Sep 30, 2019 · 6 revisions

Customize your own key bindings via Preferences > Package Settings > RTagsComplete > Key Bindings > User

Default

[
  # Find usages.
  {"keys": ["ctrl+shift+u"], "command": "rtags_location", "args": {"switches": ["--absolute-path", "-r"]} },

  # Rename symbol.
  {"keys": ["ctrl+shift+alt+u"], "command": "rtags_symbol_rename", "args": {"switches": ["--absolute-path", "--rename", "-e", "-r"]} },

  # Find virtual function re-implementations.
  {"keys": ["ctrl+shift+x"], "command": "rtags_location", "args": {"switches": ["--absolute-path", "-k", "-r"]} },

  # Symbol information - needs RTags version 2.5 or higher.
  {"keys": ["ctrl+shift+i"], "command": "rtags_symbol_info", "args": {"switches": ["--absolute-path", "--json", "--symbol-info"]} },

  # Get include file.
  { "keys": ["ctrl+i"], "command": "rtags_get_include" },

  # Jump to definition.
  {"keys": ["f2"], "command": "rtags_location", "args": {"switches": ["--absolute-path", "-f"]} },

  # Backwards in history.
  {"keys": ["ctrl+shift+b"], "command": "rtags_go_backward" },

  # Show navigation history.
  {"keys": ["ctrl+shift+h"], "command": "rtags_show_history" },

  # Show errors, warnings and fixits.
  {"keys": ["ctrl+shift+e"], "command": "rtags_show_fixits" },

  # Find unused / dead functions - needs RTags version 2.19 or higher.
  {"keys": ["alt+super+shift+d"], "command": "rtags_file", "args": {"switches": ["--absolute-path", "--find-dead-functions"]} },

  # Auto expand.
  {"keys": ["ctrl+shift+a"], "command": "rtags_auto_expand" }
]

Clone this wiki locally