0
votes
0answers
71 views

Why none of the rainbow parentheses plugins work with filetype=php?

I've tried a dozen rainbow plugins. They all work, until i open a php file or set filetype=php. Then I get parentheses with the same color in that buffer. what is the reason for this? I tried ...
0
votes
1answer
166 views

SecureCRT and Nice PHP/JS Syntax Highlighting: How To Configure?

I'm running SecureCRT using Windows 7. After googling a bit the VanDyke results came up, but I want to get it so instead of just a black background with all green text (sure it's better than the ...
1
vote
1answer
94 views

VIM with Xdebug: Does the Help Window ever change?

When using VIM with Xdebug, the following Help window appears: [ Function Keys ] | <F1> resize | [ Normal Mode ] <F2> step ...
1
vote
0answers
100 views

Vim PHP ctags for $['array'] C+]

So far I have this (Which is sufficient enough for me at the moment): ctags -R --languages=php --langmap=PHP:+.tpl --tag-relative=yes --PHP-kinds=+cf However, I still can't press "C-]" when I want ...
2
votes
1answer
891 views

Vim: Context sensitive code completion for PHP

Vim gives me too much options when I use code completion. In a class, and type $class-> it gives me about a zillion options, so not only from the class itself but also from php, all globals ever ...
2
votes
2answers
124 views

Detect filetype in narrowed region

I am using the terrific NrrwRgn plugin. I often edit XML files with PHP in CDATA sections, so in the narrowed buffer I get this: <![CDATA[ $foo='bar'; doSomething($foo); ...
1
vote
3answers
2k views

How to setup VIM for php development?

I have been trying a lot (but not smartly) to figure out setting up VIM, ctags, omnicomple for PHP development. On Googling I found this file. But have no clue how to use it. What have I done until ...
0
votes
1answer
138 views

VIM: Highlight += with a background

I have been coding in PHP lately, which is weakly typed so integers are added with += but strings are concatenated with .=. That means that I wind up using += where I shouldn't and PHP actually then ...
10
votes
1answer
432 views

Different background color for multiple filetypes in vim

Is it possible to have different background colors in vim (ie. one light, one dark) when dealing with files with multiple filetypes (ie. :set ft=html.php)? In PHP code with HTML embedded, it can be ...
1
vote
1answer
156 views

How can I get the PHP linter output right in vim on Windows?

I'm using PHP linter to check syntax errors in PHP , right from vim with that command : :!PHP -l "%" when I do that, ( I'm on Windows ) , Windows open another CMD and the result of the parsing is ...
0
votes
2answers
411 views

In Vim, I'm trying to have all class methods fold automatically when I open a file

When I open a PHP file that contains a class, how can I have Vim automatically fold the document up like this?:
2
votes
1answer
108 views

Create a Vim command to add a php debug statement

I'm trying to create a vim command to easily insert a debug statement on the variable name under the cursor. I would at least like to handle some common cases so it doesn't have to be perfect but the ...
2
votes
1answer
266 views

What part of a vim color scheme file controls the dollar signs at the beginning of PHP variables?

I'm trying out a nice scheme called darkspectrum, but it seems to lack support for the dollar signs at the beginning of PHP variables. How do I control them?
1
vote
1answer
171 views

Can anybody say which plugins make this pic vim?

With descriptions and arguments for functions and variables. I need list of plugins which i need to isntall and my language is PHP.
1
vote
2answers
2k views

Vim: How to indent html code correctly in php file?

In php file : <?php ... ?> <html> </html> I could not indent the html source code with operator =. How could I indent it?
0
votes
4answers
138 views

Vim: How relieve PHP programmer's typing workload?

For example, the most common code maybe is something like this: $title = $_POST['title']; $price = $_POST['price']; $area = $_POST['area']; $property = $_POST['property']; $room = $_POST['room']; ...
2
votes
3answers
548 views

Can I run `phpunit` on an open PHP file inside vim?

Is there an easy way to run phpunit on open php test file inside vim?
0
votes
1answer
232 views

Does vim have the features to be used as an IDE?

I'm learning vim right now as I use it to quickly fix something in files on a server. Recently I've been thinking of switching from my IDE to vim, but I'm interested if all the features I need are in ...