Skip to content

Commit 355c213

Browse files
committed
Document new OmniSharpGotoDefinition argument
1 parent 4c17087 commit 355c213

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

doc/omnisharp-vim.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,9 +464,16 @@ convenient user re-mapping. These can be used like so: >
464464
<
465465
*:OmniSharpGotoDefinition*
466466
*<Plug>(omnisharp_go_to_definition)*
467-
:OmniSharpGotoDefinition
468-
Navigates to the definition of the symbol under the cursor
467+
:OmniSharpGotoDefinition [{cmd}]
468+
Navigates to the definition of the symbol under the cursor.
469+
By default the definition is opened in the current window. To open it in a
470+
new window or tab, pass a relevant command to use to open the buffer: >
469471

472+
:OmniSharpGotoDefinition
473+
:OmniSharpGotoDefinition split
474+
:OmniSharpGotoDefinition vsplit
475+
:OmniSharpGotoDefinition tabedit
476+
<
470477
*:OmniSharpFindImplementations*
471478
*<Plug>(omnisharp_find_implementations)*
472479
:OmniSharpFindImplementations

0 commit comments

Comments
 (0)