wincent / command-t

⌨️ Fast file navigation for Neovim and Vim
BSD 2-Clause "Simplified" License
2.74k stars 317 forks source link

Can only type one letter in Popup window #407

Closed marcato15 closed 1 year ago

marcato15 commented 1 year ago

I just updated to the new version but now when the UI pops, after I type the second letter the UI disappears and the letters I type start modifying whatever is in the current buffer in insert mode. Anyone else ran into that issue?

wincent commented 1 year ago

Hi @marcato15 — if you can provide some info about your local set-up, I might be able to repro what you're seeing, but I haven't heard any reports of this kind of thing until now:

marcato15 commented 1 year ago
NVIM v0.7.2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@Monterey

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.7.2_1/share/nvim"

Run :checkhealth for more info

macOS Monterey

I'm on an M1 mac

I install Command-t using Vim-Plug

For the install and configuration

Plug 'wincent/command-t', {
\   'do': 'cd lua/wincent/commandt/lib && make'
\ }
....
let g:CommandTPreferredImplementation='lua'

autocmd VimEnter * call s:setup_commandt()
function! s:setup_commandt() abort
lua<<EOF
require('wincent.commandt').setup()

EOF
endfunction

nnoremap <leader>t :CommandTGit<CR>

I should add, everything worked great before, and the new version seems to be working even faster. It just seems something is interacting with the UI in a weird way.

Here is my plugin list for neovim

Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'danro/rename.vim'

"'sensible' defaults
Plug 'tpope/vim-sensible'

"code helpers
Plug 'editorconfig/editorconfig-vim'
Plug 'w0rp/ale'
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'zchee/deoplete-go', { 'do': 'make'}
Plug 'tpope/vim-projectionist'
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
Plug 'tobyS/pdv'
Plug 'tobys/vmustache'

"text manipulation
Plug 'tpope/vim-surround'
Plug 'mattn/emmet-vim'
Plug 'godlygeek/tabular'

"search
Plug 'tpope/vim-vinegar'
Plug 'wincent/command-t', {
\   'do': 'cd lua/wincent/commandt/lib && make'
\ }
Plug 'kshenoy/vim-signature'

"syntax highlight and colors
Plug 'styled-components/vim-styled-components'
Plug 'chrisbra/Colorizer'
Plug 'hail2u/vim-css3-syntax'
Plug 'iCyMind/NeoSolarized'
Plug 'pangloss/vim-javascript'
Plug 'maxmellon/vim-jsx-pretty'
Plug 'lunaru/vim-twig'
Plug 'gregsexton/matchtag'
Plug 'plasticboy/vim-markdown'
Plug 'rodjek/vim-puppet'
Plug 'othree/html5.vim'
Plug 'StanAngeloff/php.vim'
Plug 'fatih/vim-go'
Plug 'sebdah/vim-delve'

"git integration
Plug 'tpope/vim-fugitive'
Plug 'airblade/vim-gitgutter'
wincent commented 1 year ago

Nothing suspicious there. What other plugins do you have installed? What settings?

marcato15 commented 1 year ago

Here's my init.vim https://github.com/marcato15/dotfiles/blob/master/basics/.config/nvim/init.vim Here is a video of the issue https://user-images.githubusercontent.com/413567/190019096-6a6075d9-5616-45cb-aab6-c2bce5465eee.mov

marcato15 commented 1 year ago

I figured it out. It was my autocomplete plugin that was interfering with it. Thanks for your help. Love the update.