The Neovim inside Windows Terminal is a bit laggy when working with large files #14884

Open
opened 2026-01-31 04:22:17 +00:00 by claunia · 0 comments
Owner

Originally created by @momiforgotthesemicolon on GitHub (Aug 17, 2021).

Windows Terminal version (or Windows build number)

1.7.1033.0

Other Software

Hardware Configuration:

CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz  
RAM: 16,0 GB (15,8 GB usable)

Windows specifications:

Edition	Windows 10 Enterprise
Version	20H2
Installed on	‎15.‎06.‎2021
OS build	19042.1110
Experience	Windows Feature Experience Pack 120.2212.3530.0

Software Configuration:
Native neovim installed on windows.

init.vim:

set exrc

let &t_SI.="\e[5 q"
let &t_SR.="\e[4 q"
let &t_EI.="\e41 q"

set relativenumber
set nohlsearch
set hidden
set noerrorbells
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set nu
set nowrap
set noswapfile
set nobackup
set undodir=C:\Users\mateusz.janik\AppData\Local\nvim\undodir
set undofile
set incsearch
set termguicolors
set scrolloff=8
set noshowmode
set completeopt=menuone,noinsert,noselect
set colorcolumn=120
set signcolumn=yes

" use system clipboard
set clipboard+=unnamedplus

" Give more space for displaying messages
set cmdheight=2
set timeoutlen=1000
set ttimeoutlen=0

set updatetime=50
set shortmess+=c
set cul!

call plug#begin('~/.vim/plugged')
Plug 'nvim-lua/popup.nvim'
Plug 'neovim/nvim-lspconfig'
Plug 'gruvbox-community/gruvbox'

" telescope requirements...
Plug 'nvim-lua/popup.nvim'
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'nvim-telescope/telescope-fzy-native.nvim'

"cmake
"Plug 'cdelledonne/vim-cmake'
call plug#end()

colorscheme gruvbox
highlight Normal guibg=none
highlight LineNr guifg=#16bdc9

let mapleader = " "
" telescope macros
nnoremap <leader>ps :lua require('telescope.builtin').grep_string({ search = vim.fn.input("Grep For > ")})<CR>
nnoremap <leader>pf :lua require('telescope.builtin').find_files()<CR>

Steps to reproduce

  • configure Short Repeat delay in Keyboard properties
  • take a large files (mine is somewhat 6k lines long)
  • Go to the middle of the file in nvim (press :3000)
  • Hold k or j in normal mode

Expected Behavior

text scrolling works smoothly, there is no lag like in Linux or MacOs terminal.

Actual Behavior

Text is stuttering, it doesn't render text smoothly. Now vim experience in terminal is worse then vim extension experience in VSCode :C

Originally created by @momiforgotthesemicolon on GitHub (Aug 17, 2021). ### Windows Terminal version (or Windows build number) 1.7.1033.0 ### Other Software Hardware Configuration: ``` CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz RAM: 16,0 GB (15,8 GB usable) ``` Windows specifications: ``` Edition Windows 10 Enterprise Version 20H2 Installed on ‎15.‎06.‎2021 OS build 19042.1110 Experience Windows Feature Experience Pack 120.2212.3530.0 ``` Software Configuration: Native neovim installed on windows. init.vim: ``` set exrc let &t_SI.="\e[5 q" let &t_SR.="\e[4 q" let &t_EI.="\e41 q" set relativenumber set nohlsearch set hidden set noerrorbells set tabstop=4 softtabstop=4 set shiftwidth=4 set expandtab set smartindent set nu set nowrap set noswapfile set nobackup set undodir=C:\Users\mateusz.janik\AppData\Local\nvim\undodir set undofile set incsearch set termguicolors set scrolloff=8 set noshowmode set completeopt=menuone,noinsert,noselect set colorcolumn=120 set signcolumn=yes " use system clipboard set clipboard+=unnamedplus " Give more space for displaying messages set cmdheight=2 set timeoutlen=1000 set ttimeoutlen=0 set updatetime=50 set shortmess+=c set cul! call plug#begin('~/.vim/plugged') Plug 'nvim-lua/popup.nvim' Plug 'neovim/nvim-lspconfig' Plug 'gruvbox-community/gruvbox' " telescope requirements... Plug 'nvim-lua/popup.nvim' Plug 'nvim-lua/plenary.nvim' Plug 'nvim-telescope/telescope.nvim' Plug 'nvim-telescope/telescope-fzy-native.nvim' "cmake "Plug 'cdelledonne/vim-cmake' call plug#end() colorscheme gruvbox highlight Normal guibg=none highlight LineNr guifg=#16bdc9 let mapleader = " " " telescope macros nnoremap <leader>ps :lua require('telescope.builtin').grep_string({ search = vim.fn.input("Grep For > ")})<CR> nnoremap <leader>pf :lua require('telescope.builtin').find_files()<CR> ``` ### Steps to reproduce - configure Short Repeat delay in Keyboard properties - take a large files (mine is somewhat 6k lines long) - Go to the middle of the file in nvim (press ```:3000```) - Hold ```k``` or ```j``` in ```normal mode``` ### Expected Behavior text scrolling works smoothly, there is no lag like in Linux or MacOs terminal. ### Actual Behavior Text is stuttering, it doesn't render text smoothly. Now vim experience in terminal is worse then vim extension experience in VSCode :C
claunia added the Needs-TriageNeeds-Tag-FixResolution-No-ReproNeeds-Attention labels 2026-01-31 04:22:17 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#14884