Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix CursorHold Performance.

License

NotificationsYou must be signed in to change notification settings

antoinemadec/FixCursorHold.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Fix CursorHold Performance

Rationale

This plugin exists for two reasons:

  1. fix neovimCursorHold andCursorHoldI autocmd eventsperformance bug
  2. decoupleupdatetime fromCursorHold andCursorHoldI (works for Vim and Neovim)

1., fixes slowdowns and untriggered events

2., you can now use small delays forCursorHold without writing the swap file 10x/sec (see :help updatetime)

This will result in more snappiness for plugins using those events, such as:coc.nvim,vim-gitgutter,tagbar,vim-devicons,vim-polyglot, etc.

Installation

Make sure to have the following plugins in yourvimrc:

Plug'antoinemadec/FixCursorHold.nvim'

Configuration

" in millisecond, used for both CursorHold and CursorHoldI," use updatetime instead if not definedletg:cursorhold_updatetime=100

License

MIT

About

Fix CursorHold Performance.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors6


[8]ページ先頭

©2009-2025 Movatter.jp