Comments for phpslacker http://phpslacker.com yet another g33k blog *sigh* Fri, 06 Feb 2009 20:23:32 +0000 http://wordpress.org/?v=MU hourly 1 Comment on MySQL 5.1 fixes prepared statements by MySQL 5.1 fixes prepared statements | PHP-Blog.com http://phpslacker.com/2009/02/06/mysql-51-fixes-prepared-statements/#comment-50 MySQL 5.1 fixes prepared statements | PHP-Blog.com Fri, 06 Feb 2009 14:45:29 +0000 http://phpslacker.com/?p=120#comment-50 [...] the rest here: MySQL 5.1 fixes prepared statements Related ArticlesBookmarksTags Using PHP and MySQL to Develop a Simple CMS - Version 1 In [...] [...] the rest here: MySQL 5.1 fixes prepared statements Related ArticlesBookmarksTags Using PHP and MySQL to Develop a Simple CMS - Version 1 In [...]

]]>
Comment on vim tips for php programmers by Sven http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/#comment-49 Sven Fri, 06 Feb 2009 09:51:05 +0000 http://phpslacker.com/?p=84#comment-49 I should add that when you've got auto indent or smartindent on, pasting code can be messy as it just keep indenting each line. You can prevent this with set paste and then go back to normal with set nopaste I have these mapped to keys for convenience I should add that when you’ve got auto indent or smartindent on, pasting code can be messy as it just keep indenting each line. You can prevent this with
set paste
and then go back to normal with
set nopaste

I have these mapped to keys for convenience

]]>
Comment on vim tips for php programmers by phpslacker http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/#comment-48 phpslacker Fri, 06 Feb 2009 06:21:14 +0000 http://phpslacker.com/?p=84#comment-48 Brilliant. Thanks for the link. Looks like good stuff there. One of the links in my post does in fact point to one of Andrei's VIM for PHP Programmer's presentations :-) Brilliant. Thanks for the link. Looks like good stuff there. One of the links in my post does in fact point to one of Andrei’s VIM for PHP Programmer’s presentations :-)

]]>
Comment on vim tips for php programmers by terry chay http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/#comment-47 terry chay Fri, 06 Feb 2009 00:20:31 +0000 http://phpslacker.com/?p=84#comment-47 Can't let a post on VIM and PHP go by without mentioning Andrei’s VIM for (PHP) Developers talks http://gravitonic.com/talks Can’t let a post on VIM and PHP go by without mentioning Andrei’s VIM for (PHP) Developers talks

http://gravitonic.com/talks

]]>
Comment on vim tips for php programmers by Jon Molesa http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/#comment-46 Jon Molesa Thu, 05 Feb 2009 19:57:12 +0000 http://phpslacker.com/?p=84#comment-46 vim rules! Everyone at work thinks I'm an old geezer that's not aware that a gui exists for all things now. But I love the shell, vim, and screen. Anyway, take a look at this http://notvincenz.blogspot.com/2007/03/vim-sessions.html, bad to the bone. Also check this out http://www.cipherdyne.org/blog/2008/02/interfacing-vim-with-gnupg-encrypted-files.html. These are good to have: set backup " make a backup file set backupdir=$HOME/.vim/backup " where to put backup file set directory=$HOME/.vim/temp " directory is the directory for temp files Also if you want run time debugging with code breaks and all check out my list here http://blog.rjmolesa.com/archives/2008/02/06/php-vim-ubuntu-xdebug/ especially this one http://tech.blog.box.net/2007/06/20/how-to-debug-php-with-vim-and-xdebug-on-linux/ vim rules!

Everyone at work thinks I’m an old geezer that’s not aware that a gui exists for all things now. But I love the shell, vim, and screen. Anyway, take a look at this http://notvincenz.blogspot.com/2007/03/vim-sessions.html, bad to the bone. Also check this out http://www.cipherdyne.org/blog/2008/02/interfacing-vim-with-gnupg-encrypted-files.html.

These are good to have:
set backup ” make a backup file
set backupdir=$HOME/.vim/backup ” where to put backup file
set directory=$HOME/.vim/temp ” directory is the directory for temp files

Also if you want run time debugging with code breaks and all check out my list here http://blog.rjmolesa.com/archives/2008/02/06/php-vim-ubuntu-xdebug/ especially this one http://tech.blog.box.net/2007/06/20/how-to-debug-php-with-vim-and-xdebug-on-linux/

]]>
Comment on vim tips for php programmers by Paul http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/#comment-44 Paul Thu, 05 Feb 2009 19:08:47 +0000 http://phpslacker.com/?p=84#comment-44 Great post. Thanks. Just in the past few days I've been wishing for code completion/function signatures in VIM. Simply awesome. I really should put my .vimrc online. I've been using GVIM on Windows for a long time. Since it's availible for both platforms makes it easy to switch between Windows & Linux. I have the Windows cut/copy/paste/undo shortcuts mapped into my Linux .vimrc. Now if I could only get them to work in the terminal window. Great post. Thanks. Just in the past few days I’ve been wishing for code completion/function signatures in VIM. Simply awesome. I really should put my .vimrc online. I’ve been using GVIM on Windows for a long time. Since it’s availible for both platforms makes it easy to switch between Windows & Linux. I have the Windows cut/copy/paste/undo shortcuts mapped into my Linux .vimrc. Now if I could only get them to work in the terminal window.

]]>
Comment on Smarty. Solving the wrong problem since 2001 by phpslacker http://phpslacker.com/2009/02/05/smarty-solving-the-wrong-problem-since-2001/#comment-43 phpslacker Thu, 05 Feb 2009 17:06:02 +0000 http://phpslacker.com/?p=110#comment-43 hah. anytime! hah. anytime!

]]>
Comment on Smarty. Solving the wrong problem since 2001 by Paul M. Jones http://phpslacker.com/2009/02/05/smarty-solving-the-wrong-problem-since-2001/#comment-42 Paul M. Jones Thu, 05 Feb 2009 16:54:11 +0000 http://phpslacker.com/?p=110#comment-42 Thanks for the support, Slacker. :-) Thanks for the support, Slacker. :-)

]]>
Comment on vim tips for php programmers by phpslacker http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/#comment-41 phpslacker Thu, 05 Feb 2009 16:38:34 +0000 http://phpslacker.com/?p=84#comment-41 Hey Sven, you're welcome. Thanks for the smartindent tip And hey anyone else please drop me your VIM tips. I know there's thousands more that I haven't listed on this post Hey Sven, you’re welcome. Thanks for the smartindent tip

And hey anyone else please drop me your VIM tips. I know there’s thousands more that I haven’t listed on this post

]]>
Comment on vim tips for php programmers by Sven http://phpslacker.com/2009/02/05/vim-tips-for-php-programmers/#comment-40 Sven Thu, 05 Feb 2009 16:08:10 +0000 http://phpslacker.com/?p=84#comment-40 Nice write up. Good to see I'm not the only one still using (g)vim To add to this: set smartindent - indents on function bodies, loops etc. rather than to same level as previous line Nice write up. Good to see I’m not the only one still using (g)vim

To add to this:
set smartindent - indents on function bodies, loops etc. rather than to same level as previous line

]]>