Questions tagged [ctrlp]

CtrlP is a vim plugin which allows fast switching of buffers and files.

87 questions
1
vote
0 answers

vim not drawn correctly in tmux

I've got some issues with vim in tmux. It is not drawn correctly. I think that the statusbar introduced by tmux messes with the way vim draws its layout. When I create two windows, open vim in one of them and switch to the other one and then back to…
nschagen
  • 31
  • 2
1
vote
1 answer

How to have CtrlP find my file

I have problems configuring the vim plugin CtrlP. I usually work with files in 3 different directories say C:/A,C:/B/D,J:/A When I start vim and try to find the file CtrlP do not find any So how can I say CtrlP to look in those directories first…
statquant
  • 13,672
  • 21
  • 91
  • 162
0
votes
1 answer

How to debug change in key binding / command behavior ( / ctrl-p for ctrlp.vim vim plugin)?

I'm using the vim ctrlp plugin, and the (Ctrl+p) key binding / command (which invokes :CtrlP) often goes back to the vim default of moving the cursor up a line. I can't figure out why this is happening. How can I debug this? (I've been using…
Rob Bednark
  • 25,981
  • 23
  • 80
  • 125
0
votes
1 answer

Vim ctrlp only works with a git repo

The vim plugin ctrl p only works for me into git repo. Why does it need a .git file? Be work i mean it is searching my entire machine when no .git file is found. my settings let g:ctrlp_working_path_mode = 'ra' let g:ctrlp_match_window =…
0
votes
0 answers

Trigger a keypress event manually for a combination like Ctrl+P in angular/javascript

How to trigger a keypress event manually for a combination like Ctrl+P in angular/javascript? I have tried using the window.print() method. But unfortunately, I have some css styles to be applied for the document to be printed in the @media print{}…
ps_dev
  • 69
  • 1
  • 9
0
votes
1 answer

How do I open ctrlp plugin file suggestions in Insert mode?

I'm using CtrlP plugin to switch to other files in Vim by pressing Ctrl-p. But this only works in normal mode. I want to trigger it by pressing the same set of keys in insert mode as well. How can I do that? I couldn't find any mapping for insert…
Kartik Chauhan
  • 2,779
  • 5
  • 28
  • 39
0
votes
1 answer

ctrlp only searching lines in ag.1.md file?

:CtrlPBuffer and :CtrlPMRU work normally, but when I use :CtrlP, the listing is always empty, and if I type -- inside the prompt, it matches these lines: > --ackmate Print results in AckMate-parseable…
Saxt
  • 27
  • 5
0
votes
1 answer

How to let CtrlP (vim plugin) ignore pdf files?

I am working under ubuntu on a latex document in vim and want to use the CtrlP-Plugin to open different files quickly. When I press the small window opens as expected but showing the generated thesis.pdf file as a first hit before the…
Sparkofska
  • 1,280
  • 2
  • 11
  • 34
0
votes
0 answers

How to open laravel .env file with Vim CtrlP plugin?

I am using vim with CtrlP plugin for browsing laravel application. The problem is that CtrlP working fine for browsing other .(dot) such as .env.example or .gitignore files except for .env file of laravel. Here CtrlP working for .env.example…
Sazzadur Rahman
  • 2,650
  • 1
  • 18
  • 34
0
votes
0 answers

Ctrlp is not finding any files

I just added the ctrlp bundle to vim. My system is running OSX 10. In my .vimrc I have: set runtimepath^=~/.vim/bundle/ctrlp.vim set wildignore+=*/tmp/*,*.so,*.swp,*.zip let g:ctrlp_working_path_mode = 'ra' When I load vim in one of my git…
unflores
  • 1,764
  • 2
  • 15
  • 35
0
votes
2 answers

How to white list a directory for ctrlp in vim

Ctrlp currently searches/indexes my entire home directory, how can I tell it to only index ~/code?
hermancain
  • 1,452
  • 2
  • 18
  • 24
0
votes
1 answer

Can not open file in Quickfix when Using CtrlP

When I pressed enter in the vimgrep quickfix window on a filename entry , the ctrlp search result window would pop up automatically even if I didn't call it and the file would not be opened. vim-Ack and Ag had the same situation. But when I disabled…
Rosin
  • 683
  • 6
  • 9
0
votes
1 answer

ctrlp does not search any more in wild mode

I updated ctrlp today, and it does not search any more. For example, I have a list like this after I press ctrl+p > a/b/c/d.js > a/b/c/e.js > a/b/c/f.js then i entered af, it gave me nothing, it should give me a/b/c/f.js in previous version. Did I…
Sato
  • 8,192
  • 17
  • 60
  • 115
0
votes
0 answers

vim plugin ctrlp cant find some file

OSX 10.11.5 Vim 7.4 CtrlP https://github.com/ctrlpvim/ctrlp.vim.git I'm trying to use ctrlp to find App.cs in my project, but I can't find it using CtrlP. My only vim config about ctrlp is let g:ctrlp_max_files = 0
mingchaoyan
  • 8,096
  • 3
  • 23
  • 31
0
votes
1 answer

extend ctrlp without setting `g:ctrlp_extensions`

I am trying to write my own CtrlP extension. The document shows that, we have to set g:ctrlp_extensions as follow to make our extension working. let g:ctrlp_extensions = ['extensionname'] But it seems these two extension:ctrlp-funky,…
guorongfei
  • 309
  • 2
  • 10