markonm / traces.vim

Range, pattern and substitute preview for Vim
MIT License
742 stars 13 forks source link

vim freezes with `:g/^` and `:v/^` #43

Closed Matt-A-Bennett closed 2 years ago

Matt-A-Bennett commented 2 years ago

When using the following minimal vimrc:

if &compatible
    set nocompatible " don't try to be compatible with Vi
endif
set runtimepath+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'markonm/traces.vim'

let g:traces_preview_window = "below 5new"

and I try and use :g/^ (or :v/^) on a non-empty file, vim completely freezes until I hit ctrl+c (escape doesn't work).

vim version info:

:version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Apr 15 2020 06:40:31)
Included patches: 1-2269
Modified by team+vim@tracker.debian.org
Compiled by team+vim@tracker.debian.org
Huge version with GTK3 GUI.  Features included (+) or not (-):
Matt-A-Bennett commented 2 years ago

This actually behaviour only occurs immediately after doing :PluginInstall (I use Vundle). After I add some more text into the buffer everything seems to work normally. Maybe this is triggered by some setting in one of my config files somewhere...