18

GitHub - dstein64/vim-startuptime: ⏲️ A Vim plugin for profiling Vim's s...

 4 years ago
source link: https://github.com/dstein64/vim-startuptime
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

vim-startuptime

vim-startuptime is a Vim plugin for viewing vim and nvim startup event timing information. The plugin is customizable (see :help startuptime-configuration).

screenshot.png?raw=true

Requirements

  • vim>=8.0.1453 or nvim>=0.2.2
    • The plugin may work on earlier versions, but has not been tested.
    • The plugin depends on compile-time features for vim (not applicable for nvim).
      • +startuptime is required.
      • +timers is recommended, to capture all startup events.
      • +terminal is required.

Installation

A package manager can be used to install vim-startuptime.

Examples

Usage

  • Launch vim-startuptime with :StartupTime.
  • Press <space> on events to get additional information.
  • Press <enter> on sourcing events to load the corresponding file in a new split.
  • The key sequences above can be customized (:help startuptime-configuration).
  • Times are in milliseconds.

Documentation

Documentation can be accessed with either:

:help vim-startuptime
:StartupTime --help

The underlying markup is in startuptime.txt.

There is documentation on the following topics.

Topic :help {subject}
Arguments startuptime-arguments
Modifiers startuptime-modifiers
Vim Options startuptime-vim-options
Configuration startuptime-configuration
Color Customization startuptime-color-customization

License

The source code has an MIT License.

See LICENSE.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK