nvimdev

Outline

Usage #

Run :Lspsaga outline.

Outline

In Float Window #

Outline in float window

Default Options #

Enable the breadcrumbs feature (symbols_in_winbar.enable = true) or this module would not work.

Default options of outline section:

  • win_position = 'right' window position
  • win_width = 30 window width
  • auto_preview = true auto preview when cursor moved in outline window
  • detail = true show detail
  • auto_close = true auto close itself when outline window is last window
  • close_after_jump = false close after jump
  • layout = 'normal' float or normal default is normal when is float above options will ignored
  • max_height = 0.5 height of outline float layout
  • left_width = 0.3 width of outline float layout left window

Default Keymaps #

Default keymaps in outline.keys section:

  • toggle_or_jump = 'o' toggle or jump
  • quit = 'q' quit outline window
  • jump = 'e' jump to pos even on a expand/collapse node