Home  >  Q&A  >  body text

How to set vim's ctrlp plug-in to search files like sublime

For example, in a rail project, how to use app con rb to search for the file app/controllers/application.rb

淡淡烟草味淡淡烟草味2711 days ago656

reply all(2)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-16 16:45:09

    I usually look like this:

    :e **/app*.rb

    Then tab

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-16 16:45:09

    well, this is an old post.
    First of all, if it is rails, I recommend using this plug-in. Bundle 'tpope/vim-rails' If it is not rails, it is recommended to use
    Bundle 'kien/ctrlp.vim.git'

    reply
    0
  • Cancelreply