Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (6) </ 1 2 3 4 5 [6] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Vim tips< Next Oldest | Next Newest >
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Dec. 21 2007,03:30 QUOTE

Quote (^thehatsrule^ @ Dec. 20 2007,21:46)
You have to escape the + with a \
The * wildcard stands for zero or more instances of a group.

EDIT: that link you posted explains that as well

I just wanted to make sure you read it!

Well, here it is:  

\1\@<=,\([a-z]\+\) ",abc" in "abc,abc"

Once again, you nailed it!  I just created 5,346 array variables.
Thanks, Hats.  (I'll dance at your wedding!)  :D
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Feb. 12 2008,04:24 QUOTE

I was just playing with GVIM; this sure makes exploring vim's power more accessible.  Split with "explorer," convert to HTML, etc, etc.  This surely isn't Notepad!!
Back to top
Profile PM 
lucky13 Offline





Group: Members
Posts: 1478
Joined: Feb. 2007
Posted: May 28 2008,23:46 QUOTE

This thread has been dormant too long. Here are a couple vim plugins that other DSL users might find useful. I don't know if anyone's tried them or remarked on them before in the forums.

lua-support: This adds a separate menu to turn vim into a lua IDE. Included in the menu are sections for comments, conditional statements, regex options, run, etc. The run menu includes syntax check.
vim script site:
http://www.vim.org/scripts/script.php?script_id=1763
plugin homepage screenshots:
http://lug.fh-swf.de/vim/vim-lua/

bash-support: This does the same as the above but for BASH.
http://vim.sourceforge.net/scripts/script.php?script_id=365
shots: http://lug.fh-swf.de/vim/vim-bash/screenshots-en.html

There's also a perl version:
http://vim.sourceforge.net/scripts/script.php?script_id=556
...and C/C++:
http://vim.sourceforge.net/scripts/script.php?script_id=213

These aren't too terribly large, especially compared to the size of the full/normal install of vim 7.1-current.
Code Sample
% du -h --max-depth=1 | grep support
152K    ./bash-support
112K    ./lua-support


Here's my own screenshot with part of the lua menu opened:
http://lucky13linux.files.wordpress.com/2008/05/screen-lua-menu.png


--------------
"It felt kind of like having a pitbull terrier on my rear end."
-- meo (copyright(c)2008, all rights reserved)
Back to top
Profile PM WEB 
27 replies since Dec. 10 2007,08:11 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (6) </ 1 2 3 4 5 [6] >/
reply to topic new topic new poll
Quick Reply: Vim tips

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code