Trying to insert two or more letters into the search closes Telescope and opens the selected file.
This happens for find_files and any other picker and sorter I've tried.
Expected Behavior
I expect to be able to continue to type characters while previewing and deciding which file to open.
Actual Behavior
Instead of inserting additional characters to find files by, the currently selected file opens.
Reproduce
1. nvim
2. `:Telescope find_files`
3. You'll be in insert mode, insert any two letters (other keys and combos don't repro this)
Environment
- nvim --version output: `NVIM v0.5.0-dev+1231-g48e805728`
- Operating system: `Manjaro, rolling` Arch, up to date as of this week
- Telescope commit: Latest I suppose, whatever vim-plug currently resolves to
Configuration
```viml
" - Config -
"" Encoding
" - Config -
"" Encoding
set encoding=utf8
"" Disable modeline
set nomodeline
"" System undo levels
set undofile
set undolevels=100
"" Indenting
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
"" Disable error sounds
set noerrorbells
"" Stop word wrapping
set nowrap
"" Show invisible characters
set conceallevel=1
"" Enable search highlighting
set hlsearch
"" Line Numbers
set number relativenumber
"" Top/Bottom scroll padding
set scrolloff=3
set sidescrolloff=5
"" Enable autoread if file changes
set autoread
"" Hide Buffers
set hidden
"" Statusline
set laststatus=0
" - Mappings -
"" Map Leader to spacebar
let mapleader=" "
"" Shortcut to save
nnoremap w :w
"" Moving current lines up/down
nnoremap k :execute 'move -1-'. v:count1
nnoremap j :execute 'move +'. v:count1
"" Buffers Next/Previous
nnoremap :bnext
nnoremap :bprev
"" Shortcut to close buffer
nnoremap :bd
"" Shortcut to reopen closed buffer
nmap
" auto-install vim-plug
if empty(glob('~/.config/nvim/autoload/plug.vim'))
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
"autocmd VimEnter * PlugInstall
"autocmd VimEnter * PlugInstall | source $MYVIMRC
endif
" ale before
let g:ale_completion_enabled = 1
let g:ale_completion_autoimport = 1
call plug#begin('~/.config/nvim/autoload/plugged')
Plug 'dracula/vim'
Plug 'ojroques/vim-oscyank'
Plug 'sjl/vitality.vim'
Plug 'dense-analysis/ale'
Plug 'tpope/vim-commentary'
Plug 'prettier/vim-prettier', { 'do': 'yarn install' }
Plug 'lifepillar/vim-mucomplete'
Plug 'wellle/context.vim'
Plug 'airblade/vim-gitgutter'
Plug 'Yggdroot/indentLine'
Plug 'lambdalisue/fern.vim'
Plug 'nvim-lua/popup.nvim'
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'sharkdp/bat'
Plug 'sharkdp/fd'
Plug 'BurntSushi/ripgrep'
Plug 'nvim-treesitter/nvim-treesitter'
Plug 'kyazdani42/nvim-web-devicons'
if executable('ctags')
Plug 'ludovicchabant/vim-gutentags'
endif
Plug 'pangloss/vim-javascript'
Plug 'vim-ruby/vim-ruby'
call plug#end()
" dracula colorscheme
let g:dracula_colorterm = 0 " Set background as transparent
colorscheme dracula
" ale
let b:ale_fixers = ['prettier', 'eslint']
let g:ale_fix_on_save = 1
" prettier
let g:prettier#autoformat_config_present = 1
" javascript
let g:javascript_plugin_jsdoc = 1
let g:javascript_conceal_function = "ƒ"
" mucomplete
set completeopt+=menuone
set completeopt+=noselect
set shortmess+=c " Shut off completion messages
set belloff+=ctrlg " If Vim beeps during completion
let g:mucomplete#enable_auto_at_startup = 1
" indentLine
let g:indentLine_char_list = ['|', '¦', '┆', '┊']
" fern
nnoremap ` :Fern . -reveal=%
" oscyank
autocmd TextYankPost * if v:event.operator is 'y' && v:event.regname is '+' | OSCYankReg + | endif
" Find files using Telescope command-line sugar.
nnoremap ff Telescope find_files
nnoremap fg Telescope live_grep
nnoremap fb Telescope buffers
nnoremap fh Telescope help_tags
```
Huh, closing this I suppose. It has to do with some kind of conflict in my config with mucomplete, likely that plugin was trying to open a similar popup window to tab complete.
Description
Trying to insert two or more letters into the search closes Telescope and opens the selected file. This happens for
find_files
and any other picker and sorter I've tried.Expected Behavior I expect to be able to continue to type characters while previewing and deciding which file to open.
Actual Behavior Instead of inserting additional characters to find files by, the currently selected file opens.
https://user-images.githubusercontent.com/1664093/114256867-f11d6b00-9981-11eb-98d8-d314096b1b4d.mp4
Details
Reproduce
1. nvim 2. `:Telescope find_files`Environment
- nvim --version output: `NVIM v0.5.0-dev+1231-g48e805728` - Operating system: `Manjaro, rolling` Arch, up to date as of this week - Telescope commit: Latest I suppose, whatever vim-plug currently resolves toConfiguration
```viml " - Config - "" Encoding " - Config - "" Encoding set encoding=utf8 "" Disable modeline set nomodeline "" System undo levels set undofile set undolevels=100 "" Indenting set tabstop=2 set softtabstop=2 set shiftwidth=2 set expandtab "" Disable error sounds set noerrorbells "" Stop word wrapping set nowrap "" Show invisible characters set conceallevel=1 "" Enable search highlighting set hlsearch "" Line Numbers set number relativenumber "" Top/Bottom scroll padding set scrolloff=3 set sidescrolloff=5 "" Enable autoread if file changes set autoread "" Hide Buffers set hidden "" Statusline set laststatus=0 " - Mappings - "" Map Leader to spacebar let mapleader=" " "" Shortcut to save nnoremapw :w
"" Moving current lines up/down
nnoremap k :execute 'move -1-'. v:count1
nnoremap j :execute 'move +'. v:count1
"" Buffers Next/Previous
nnoremap :bnext
nnoremap :bprev
"" Shortcut to close buffer
nnoremap :bd
"" Shortcut to reopen closed buffer
nmap
" auto-install vim-plug
if empty(glob('~/.config/nvim/autoload/plug.vim'))
silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
"autocmd VimEnter * PlugInstall
"autocmd VimEnter * PlugInstall | source $MYVIMRC
endif
" ale before
let g:ale_completion_enabled = 1
let g:ale_completion_autoimport = 1
call plug#begin('~/.config/nvim/autoload/plugged')
Plug 'dracula/vim'
Plug 'ojroques/vim-oscyank'
Plug 'sjl/vitality.vim'
Plug 'dense-analysis/ale'
Plug 'tpope/vim-commentary'
Plug 'prettier/vim-prettier', { 'do': 'yarn install' }
Plug 'lifepillar/vim-mucomplete'
Plug 'wellle/context.vim'
Plug 'airblade/vim-gitgutter'
Plug 'Yggdroot/indentLine'
Plug 'lambdalisue/fern.vim'
Plug 'nvim-lua/popup.nvim'
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'sharkdp/bat'
Plug 'sharkdp/fd'
Plug 'BurntSushi/ripgrep'
Plug 'nvim-treesitter/nvim-treesitter'
Plug 'kyazdani42/nvim-web-devicons'
if executable('ctags')
Plug 'ludovicchabant/vim-gutentags'
endif
Plug 'pangloss/vim-javascript'
Plug 'vim-ruby/vim-ruby'
call plug#end()
" dracula colorscheme
let g:dracula_colorterm = 0 " Set background as transparent
colorscheme dracula
" ale
let b:ale_fixers = ['prettier', 'eslint']
let g:ale_fix_on_save = 1
" prettier
let g:prettier#autoformat_config_present = 1
" javascript
let g:javascript_plugin_jsdoc = 1
let g:javascript_conceal_function = "ƒ"
" mucomplete
set completeopt+=menuone
set completeopt+=noselect
set shortmess+=c " Shut off completion messages
set belloff+=ctrlg " If Vim beeps during completion
let g:mucomplete#enable_auto_at_startup = 1
" indentLine
let g:indentLine_char_list = ['|', '¦', '┆', '┊']
" fern
nnoremap ` :Fern . -reveal=%
" oscyank
autocmd TextYankPost * if v:event.operator is 'y' && v:event.regname is '+' | OSCYankReg + | endif
" Find files using Telescope command-line sugar.
nnoremap ff Telescope find_files
nnoremap fg Telescope live_grep
nnoremap fb Telescope buffers
nnoremap fh Telescope help_tags
```