ctrlpvim / ctrlp.vim

Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder.
ctrlpvim.github.com/ctrlp.vim
Other
5.57k stars 259 forks source link

Browsing between files with arrow keys #534

Closed kviktor closed 2 years ago

kviktor commented 4 years ago

I'm using VIM 8.2 and I have these to open ctrlp

:map <c-t> :tabnew \| CtrlP<CR>
let g:ctrlp_map = '<c-f>'

However when I try to browse between the results with the arrow keys Vim simply inserts A/B/C/D (depending on which arrow key) into the existing/new empty tab and closes Ctrlp. Technically using Ctrl+J/K still works but arrow keys used to work too.

tacahiroy commented 4 years ago

I'm guessing is that is caused by your terminal settings. Which OS and terminal emulator are you using?

kviktor commented 4 years ago

Oh, you are right, it works in gnome-terminal but not in alacritty.

StephenTurley commented 3 years ago

I've been having a similar issue with using arrow keys to browse the ctrlp file list. if I launch vim with TERM=xterm vim then I don't have the issue.