Sazzadur Rahman
Sazzadur Rahman

Reputation: 2940

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 file enter image description here

and here it's working for .gitignore file enter image description here

This is my CtrlP specific configuration from .vimrc

let g:ctrlp_extensions = ['buffertag']

nmap <c-R> :CtrlPBufTag<cr>

set wildignore+=*/vendor/**,*/node_modules/**
set wildignore+=*/public/forum/**
let g:ctrlp_user_command = ['.git/', 'git --git-dir=%s/.git ls-files -oc --exclude-standard']
let g:ctrlp_match_window='order:ttb,min:1,max:15,result:15'

Upvotes: 0

Views: 305

Answers (0)

Related Questions