Re: VIM PHP

2014-12-15 Thread LCD 47
On 15 December 2014, Joydeep Chakrabarty chalao.a...@gmail.com wrote: LCD 47 wrote: Since you're on Linux: replace firefox above with a script that looks like this: #! /bin/sh PATH=/usr/local/bin:/bin/usr/bin firefox -newtab $@ || firefox $@

Re: VIM PHP

2014-12-14 Thread Joydeep Chakrabarty
LCD 47 wrote: Since you're on Linux: replace firefox above with a script that looks like this: #! /bin/sh PATH=/usr/local/bin:/bin/usr/bin firefox -newtab $@ || firefox $@ /lcd As you mentioned, I created a script with executable permission. But

Re: VIM PHP

2014-12-12 Thread Joydeep Chakrabarty
On Thu, 11 Dec 2014 16:24:42 -0500, David Fishburn wrote: On Thu, Dec 11, 2014 at 12:10 PM, Joydeep Chakrabarty chalao.a...@gmail.com wrote: ... Thanks for your interesting tips. I forgot to mention I am working on Linux Mint 64-bit laptop. So I just changed iexplorer.exe to

Re: VIM PHP

2014-12-12 Thread Павлов Николай Александрович
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On December 12, 2014 5:04:24 PM EAT, Joydeep Chakrabarty chalao.a...@gmail.com wrote: On Thu, 11 Dec 2014 16:24:42 -0500, David Fishburn wrote: On Thu, Dec 11, 2014 at 12:10 PM, Joydeep Chakrabarty chalao.a...@gmail.com wrote: ... Thanks

Re: VIM PHP

2014-12-12 Thread LCD 47
On 12 December 2014, Joydeep Chakrabarty chalao.a...@gmail.com wrote: Thanks David, It finally worked. I used - nmap F2 :wCR:exec !firefox . substitute(expand('%:p'),\/home\/ username\/public_html,http\:\/\/localhost,)CR Thanks again. BTW, is there any way I can run this in background?

Re: VIM PHP

2014-12-11 Thread Joydeep Chakrabarty
David Fishburn wrote: On Wed, Dec 10, 2014 at 2:47 PM, Joydeep Chakrabarty chalao.a...@gmail.com wrote: Hello, I am writing Php programs in Vim. My programs are in ~/public_html/test directory. When I run the program from web server, I write http://localhost/test/program1.php. I need a

Re: VIM PHP

2014-12-11 Thread David Fishburn
On Thu, Dec 11, 2014 at 12:10 PM, Joydeep Chakrabarty chalao.a...@gmail.com wrote: ... Thanks for your interesting tips. I forgot to mention I am working on Linux Mint 64-bit laptop. So I just changed iexplorer.exe to firefox. But when I used the tip - nnoremap silent C-F5 :if

Re: VIM PHP

2014-12-11 Thread Benji Fisher
On Thu, Dec 11, 2014 at 4:24 PM, David Fishburn dfishburn@gmail.com wrote: On Thu, Dec 11, 2014 at 12:10 PM, Joydeep Chakrabarty chalao.a...@gmail.com wrote: ... Thanks for your interesting tips. I forgot to mention I am working on Linux Mint 64-bit laptop. So I just changed

VIM PHP

2014-12-10 Thread chalao.a...@gmail.com
Hello, I am running PHP programs in Vim. I have Apache installed in my Linux Mint box. localhost is configured to my ~/public_html directory. I have created another directory test in it. In it I am writing my php programs. Now whenever I need to run the program, I open the browser and type

VIM PHP

2014-12-10 Thread Joydeep Chakrabarty
Hello, I am writing Php programs in Vim. My programs are in ~/public_html/test directory. When I run the program from web server, I write http://localhost/test/program1.php. I need a short cut so that it opens Firefox and replaces ~/public_html/current_directory/filename to

Re: VIM PHP

2014-12-10 Thread David Fishburn
On Wed, Dec 10, 2014 at 2:47 PM, Joydeep Chakrabarty chalao.a...@gmail.com wrote: Hello, I am writing Php programs in Vim. My programs are in ~/public_html/test directory. When I run the program from web server, I write http://localhost/test/program1.php. I need a short cut so that it opens

Re: newbie for Vim PHP

2012-04-10 Thread Marc Weber
for debugging give vim-addon-xdebug a try, requires X (due to vim-addon-async which requires client-server feature). Its not perfect - but since I wrote it I no longer startup Eclipse for debugging .. You need tags for completions, so learn / google for exuberant ctags. Use any snippet engine:

Re: newbie for Vim PHP

2012-04-08 Thread Alejandro Exojo
El Domingo, 8 de abril de 2012, stardiviner escribió: I'm learning PHP and Drupal, I hope to get some suggest on Vim PHP. For example: 1. famous Vim PHP Drupal plugin scripts. 2. some settings for PHP Drupal. 3. some internal help in Vim about PHP Drupal. Thanks in advance

Re: newbie for Vim PHP

2012-04-08 Thread stardiviner
I'm not new to Vim. I just want to build up a awesome PHP Vim development environment. = On [2012-04-08 11:18:16 +0200]: Alejandro Exojo Said: El Domingo, 8 de abril de 2012, stardiviner escribió: I'm learning PHP and Drupal, I hope to get some suggest on Vim PHP. For example: 1

newbie for Vim PHP

2012-04-07 Thread stardiviner
I'm learning PHP and Drupal, I hope to get some suggest on Vim PHP. For example: 1. famous Vim PHP Drupal plugin scripts. 2. some settings for PHP Drupal. 3. some internal help in Vim about PHP Drupal. Thanks in advance. -- [stardiviner] fuck you, world! GPG key ID

Vim php highlighting

2010-06-20 Thread Joyce Tipping
a picture: http://old.nabble.com/file/p28944617/vim-php.png vim-php.png Thanks a ton to anyone who can help!! Joyce -- View this message in context: http://old.nabble.com/Vim-php-highlighting-tp28944617p28944617.html Sent from the Vim - General mailing list archive at Nabble.com. -- You

Re: Vim php highlighting

2010-06-20 Thread aleCodd
be certain to find the error either in your code or in the syntax file. cheers alex -- View this message in context: http://old.nabble.com/Vim-php-highlighting-tp28944617p28944664.html Sent from the Vim - General mailing list archive at Nabble.com. -- You received this message from the vim_use

Re: Vim php highlighting

2010-06-20 Thread Joyce Tipping
this will show the highlight group for that syntax item. by try and error, you'll be certain to find the error either in your code or in the syntax file. cheers alex -- View this message in context: http://old.nabble.com/Vim-php-highlighting-tp28944617p28944690.html Sent from the Vim

Re: Vim php highlighting

2010-06-20 Thread aleCodd
the ?php tag at the beginning. :) cheers Alex -- View this message in context: http://old.nabble.com/Vim-php-highlighting-tp28944617p28944756.html Sent from the Vim - General mailing list archive at Nabble.com. -- You received this message from the vim_use maillist. Do not top-post! Type your

Re: Vim php highlighting

2010-06-20 Thread Joyce Tipping
manged something without realizing it. http://old.nabble.com/file/p28944690/wp_link_pages.php wp_link_pages.php Joyce Just add the ?php tag at the beginning. :) cheers Alex -- View this message in context: http://old.nabble.com/Vim-php-highlighting-tp28944617p28944803.html