mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 11:30:28 +01:00
Add TagbarJump (#515)
Co-authored-by: Sundström Valter <mail@valter.nu> Co-authored-by: David Hegland <david.hegland@broadcom.com>
This commit is contained in:
@@ -318,6 +318,13 @@ COMMANDS *tagbar-commands*
|
||||
the file size limit. So if the file is written and needs to be processed
|
||||
again, this command will need to be re-executed.
|
||||
|
||||
:TagbarJump *:TagbarJump*
|
||||
Jump to the tag under the cursor. This only works while the cursor is in
|
||||
the tagbar window. This will leave the cursor in the tagbar window. It is
|
||||
the same behavior as the |p| key mapping.
|
||||
|
||||
This command will call the |tagbar#jump()| function.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
FUNCTIONS *tagbar-functions*
|
||||
|
||||
@@ -360,6 +367,13 @@ FUNCTIONS *tagbar-functions*
|
||||
This function will return 1 if the tagbar window is open, else it will
|
||||
return 0.
|
||||
|
||||
*tagbar#jump()*
|
||||
Jump to the tag under the cursor. This only works while the cursor is in
|
||||
the tagbar window. This will leave the cursor in the tagbar window. It is
|
||||
the same behavior as the |p| key mapping.
|
||||
|
||||
This is the function called when using the |:TagbarJump| command.
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
KEY MAPPINGS *tagbar-keys*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user