A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/antoinemadec/FixCursorHold.nvim below:

GitHub - antoinemadec/FixCursorHold.nvim: Fix CursorHold Performance.

Fix CursorHold Performance

This plugin exists for two reasons:

  1. fix neovim CursorHold and CursorHoldI autocmd events performance bug
  2. decouple updatetime from CursorHold and CursorHoldI (works for Vim and Neovim)

1., fixes slowdowns and untriggered events

2., you can now use small delays for CursorHold 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.

Make sure to have the following plugins in your vimrc:

Plug 'antoinemadec/FixCursorHold.nvim'
" in millisecond, used for both CursorHold and CursorHoldI,
" use updatetime instead if not defined
let g:cursorhold_updatetime = 100

MIT


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4