vim-ctrlp-switcher icon indicating copy to clipboard operation
vim-ctrlp-switcher copied to clipboard

full mode shows the same file as currently open

Open kirstein opened this issue 11 years ago • 3 comments

kirstein avatar Apr 20 '14 16:04 kirstein

Can you post a minimal working example where it fails? Whether there are any symlinks and so on.

ivan-cukic avatar Apr 21 '14 06:04 ivan-cukic

steps to reproduce:

  1. mkdir test && cd $_
  2. touch test.js
  3. vim test.js
  4. :CtrlPSwitchFull

kirstein avatar Apr 21 '14 20:04 kirstein

Unfortunately, I can not reproduce the issue - it gets me '== NO ENTRIES =='

You can try adding the related variables to the results variable in order to debug.

Add the following line to autoload/ctrlp/switcher.vim, line 173

result += [ ">>>" + current_file]

ivan-cukic avatar Apr 22 '14 11:04 ivan-cukic