Quantcast
Channel: Comfortable PHP editing with VIM -3-
Browsing all 37 articles
Browse latest View live

Sam Rowe at Sat, 21 May 2005 22:40:30 +0200

VIM already maps 'k' to "look up the word under the cursor with man." So if the filetype is PHP, I set keywordprg to w3m pointed at php's manual. I described it here:...

View Article


Toby at Sun, 22 May 2005 16:42:04 +0200

Having a lookup of functions only when online sounds a bit odd, since I code most of the time when being offline, so the phpm solution is more convenient. Can you point me to that script on vim.org...

View Article


Sean Coates at Sun, 22 May 2005 17:20:43 +0200

You might find these interesting: http://cvs.php.net/co.php/phpdoc/funclist.txt?r=1.35 http://cvs.php.net/co.php/phpdoc/funcsummary.txt?r=1.27 S

View Article

Wez Furlong at Mon, 23 May 2005 16:58:00 +0200

I use this in my .vim/after/plugin/php.vim file (which gets sourced after all the regular stuff): augroup WezsPHPStuff au BufEnter *.php set complete-=k~/.vim/php-funclist.txt...

View Article

Cease to Desist. at Mon, 23 May 2005 22:18:59 +0200

Comfortable PHP editing with VIM -3- - Tobias Schlitt - Weblog Toby has done it again, with an even better .vimrc for people using “the one true editor” to write their code. The addition of phpm seems...

View Article


Toby at Mon, 23 May 2005 22:58:44 +0200

Inspired by a trackback from here: noremap ; :s/\([^;]\)$/\1;/< cr > This will add a ; to the end of the current line, when there is none. This hack will definitly be part of my .vimrc 1.2.

View Article

Bryan at Tue, 24 May 2005 06:08:30 +0200

I'm having trouble using the folding.. the problem is that when I type a left brace, it automatically inserts a carriage return and creates a closing brace (which is good if I'm writing a function,...

View Article

Toby at Tue, 24 May 2005 09:03:23 +0200

Simply use CTRL-V + (/{/[/"/' to type only the opening part (as it's said in the article! :)

View Article


Bryan at Tue, 24 May 2005 17:26:48 +0200

Thanks.. I swear the CTRL-v wasn't working before.. I was just getting a visual block. It works fine now though.

View Article


Toby at Tue, 24 May 2005 17:38:10 +0200

Hmm... wired... Maybe you were in command mode (ctrl-v then indicates creating a visual block)? No matter, now it's working! :) Have fun! :)

View Article

mitjok at Tue, 21 Jun 2005 15:07:03 +0200

When I use code temlates, e.g. =cla, I get * doubled from the 2nd string: /** * * class * * @access * * @package * * @since * */

View Article

John Wellesz at Fri, 24 Jun 2005 00:22:24 +0200

If you want correct indenting for PHP with VIM you may be interested by my script: You can find a detail description of what it can do: http://www.vim.org/scripts/script.php?script_id=1120 or...

View Article

markus' blog at Tue, 26 Jul 2005 23:47:52 +0200

Tobias Schlitt has put together some really useful information how to enhance vim to you can get more productive with vim. Don't miss his articles: Comfortable PHP editing with VIM Comfortable PHP...

View Article


Will at Mon, 01 Aug 2005 12:36:17 +0200

I've downloaded the function list, and I located it on my disk two times in the .vimrc file and it doesn't work? I also seem to be getting: Error detected while processing /Users/william/.vimrc: line...

View Article

Toby at Mon, 01 Aug 2005 12:57:44 +0200

Looks like to tryed including the funclist instead of adding it to your dictionary...? The inclusion should look like this: set dictionary-=/home/dotxp/funclist.txt dictionary+=/home/dotxp/funclist.txt...

View Article


Peter Bowyer's weblog at Mon, 08 Aug 2005 22:26:20 +0200

OK, what's happened since my last post? Well, I've been busy coding, using the Zend IDE exclusively. It hasn't crashed once, although javaw.exe is taking up between 65 and 120Mb of RAM which is making...

View Article

John Wellesz at Tue, 09 Aug 2005 00:14:30 +0200

Ok, I have a good news for all PHP programmers: my script will be included by default in Vim 7 :-) http://www.vim.org/scripts/script.php?script_id=1120 John

View Article


Tobias Schlitt - a passion for php at Fri, 16 Sep 2005 16:23:51 +0200

It's nearly 4 month ago now, since I last blogged about my .vimrc (the main Vim config file) and the recent enhancements I added to it. This time, I go a step further as in the last 3 parts: I wrote my...

View Article

Adrian at Thu, 20 Oct 2005 20:05:51 +0200

Great stuff! But I think the funclist.txt of Rasmus is incomplete. I'm not sure what exactly is missing, but I grabbed all linked functions from http://php.net/manual/en and got nearly 1.500 functions...

View Article

Christian at Sat, 08 Jul 2006 18:19:38 +0200

Hey, don't you wanna upload your .vimrc again? :-) I would like it, Chris

View Article
Browsing all 37 articles
Browse latest View live