Skip to content
Grzegorz Adam Hankiewicz edited this page Apr 29, 2019 · 1 revision

This plugin provides several convience mapping which could be used to create your preferred custom mapping:

  • <Plug>NimGoToDefBuf: Go to definition using the current buffer.
  • <Plug>NimGoToDefSplit: Open the definition in a horizontal split.
  • <Plug>NimGoToDefVSplit: Open the definition in a vertical split.

For example, if you prefer having a mapping to split the window vertically, add this to your init.vim file:

nmap gV <Plug>NimGoToDefVSplit

Which will map gV to the desired function.

Clone this wiki locally