Skip to content

Commit

Permalink
Fix tags and references in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrivereshchagin authored and marijnh committed Apr 11, 2016
1 parent 426a295 commit 633b4c8
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions doc/tern.txt
Expand Up @@ -34,7 +34,7 @@ USAGE *tern-usage*


After installation vim will use the tern supplied omnifunc to handle After installation vim will use the tern supplied omnifunc to handle
omnicomplete calls for javascript files. In order to set up tern for omnicomplete calls for javascript files. In order to set up tern for
use with your project you should create a '.tern-project' file in the root use with your project you should create a ".tern-project" file in the root
directory of your project. The following is just an example: directory of your project. The following is just an example:
> >
{ {
Expand All @@ -55,7 +55,7 @@ directory of your project. The following is just an example:
> >


This will tell the tern server to load definitions for jquery and the This will tell the tern server to load definitions for jquery and the
browser environment. Furthermore it will parse 'importantfile.js' on start up browser environment. Furthermore it will parse "importantfile.js" on start up
and register the requirejs plugin. and register the requirejs plugin.


For more detailed description of this configuration please refer to the online For more detailed description of this configuration please refer to the online
Expand All @@ -66,51 +66,51 @@ COMMANDS *tern-commands*


The following commands are available: The following commands are available:


|TernDoc|....................... Look up Documentation |:TernDoc|...................... Look up Documentation
|TernDocBrowse|................. Browse the Documentation |:TernDocBrowse|................ Browse the Documentation
|TernType|...................... Perform a type look up |:TernType|..................... Perform a type look up
|TernDef|....................... Look up definition |:TernDef|...................... Look up definition
|TernDefPreview|................ Look up definition in preview |:TernDefPreview|............... Look up definition in preview
|TernDefSplit|.................. Look up definition in new split |:TernDefSplit|................. Look up definition in new split
|TernDefTab|.................... Look up definition in new tab |:TernDefTab|................... Look up definition in new tab
|TernRefs|...................... Look up references |:TernRefs|..................... Look up references
|TernRename|.................... Rename identifier |:TernRename|................... Rename identifier


------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*TernDoc* *:TernDoc*
Look up the documentation of something. Look up the documentation of something.


------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*TernDocBrowse* *:TernDocBrowse*
Open the documentation in an external browser. Open the documentation in an external browser.


------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*TernType* *:TernType*
Find the type of the identifier under the cursor. Find the type of the identifier under the cursor.


------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*TernDef* *:TernDef*
Jump to the definition of the identifier under the cursor. Jump to the definition of the identifier under the cursor.


------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*TernDefPreview* *:TernDefPreview*
Jump to the definition of the identifier under the cursor inside Jump to the definition of the identifier under the cursor inside
the preview window. the preview window.


------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*TernDefSplit* *:TernDefSplit*
Jump to the definition of the identifier under the cursor in a new split. Jump to the definition of the identifier under the cursor in a new split.


------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*TernDefTab* *:TernDefTab*
Jump to the definition of the identifier under the cursor in a new tab. Jump to the definition of the identifier under the cursor in a new tab.


------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*TernRefs* *:TernRefs*
List all references of the identifier under the cursor. List all references of the identifier under the cursor.


------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*TernRename* *:TernRename*
Rename the variable under the cursor. Rename the variable under the cursor.


============================================================================== ==============================================================================
Expand All @@ -130,15 +130,15 @@ Defaults to 0. Can be set to 1 to enable the following key mappings. By default
these mappings are prefixed with |<LocalLeader>|. You can change this prefix these mappings are prefixed with |<LocalLeader>|. You can change this prefix
with |tern_map_prefix| option. with |tern_map_prefix| option.


*<LocalLeader>tD* |TernDoc| *<LocalLeader>tD* |:TernDoc|
*<LocalLeader>tb* |TernDocBrowse| *<LocalLeader>tb* |:TernDocBrowse|
*<LocalLeader>tt* |TernType| *<LocalLeader>tt* |:TernType|
*<LocalLeader>td* |TernDef| *<LocalLeader>td* |:TernDef|
*<LocalLeader>tpd* |TernDefPreview| *<LocalLeader>tpd* |:TernDefPreview|
*<LocalLeader>tsd* |TernDefSplit| *<LocalLeader>tsd* |:TernDefSplit|
*<LocalLeader>ttd* |TernDefTab| *<LocalLeader>ttd* |:TernDefTab|
*<LocalLeader>tr* |TernRefs| *<LocalLeader>tr* |:TernRefs|
*<LocalLeader>tR* |TernRename| *<LocalLeader>tR* |:TernRename|


------------------------------------------------------------------------------- -------------------------------------------------------------------------------
*tern_map_prefix* *tern_map_prefix*
Expand All @@ -149,16 +149,16 @@ key mappings.
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
*tern_show_argument_hints* *tern_show_argument_hints*


Defaults to |'no'|. Can be set to |'on_move'| to update the argument Defaults to "no". Can be set to "on_move" to update the argument
hints whenever the cursor moves, or |'on_hold'| to do it whenever the hints whenever the cursor moves, or "on_hold" to do it whenever the
cursor is held still for a period that depends on the |updatetime| cursor is held still for a period that depends on the 'updatetime'
setting. |'on_move'| can reduce responsiveness on slow systems or big setting. "on_move" can reduce responsiveness on slow systems or big
codebases. |'on_hold'| probably requires you to set |updatetime| to codebases. "on_hold" probably requires you to set 'updatetime' to
something smaller than the default of 4 seconds. something smaller than the default of 4 seconds.


If you do not see argument hints while in insert mode you might If you do not see argument hints while in insert mode you might
have to disable the mode indication (:set noshowmode). For more have to disable the mode indication (:set noshowmode). For more
information see |'noshowmode'|. information see 'noshowmode'.


------------------------------------------------------------------------------- -------------------------------------------------------------------------------
*tern_show_signature_in_pum* *tern_show_signature_in_pum*
Expand Down

0 comments on commit 633b4c8

Please sign in to comment.