vim – get the list of all the scripts available.

2010-05-27 1 min read Learning Linux Vim Tips
To get a list of all the scripts in the vim.sf.net project, you can run the following command. This will list all the scripts with the script id. wget -O – &#8217;http://www.vim.org/scripts/script_search_results.php?&show_me=4000&result_ptr=0&#8217; -o /dev/null | <a class="zem_slink freebase/en/grep" title="Grep" rel="wikipedia" href="http://en.wikipedia.org/wiki/Grep">grep width| grep script_id= |<a class="zem_slink freebase/en/sed" title="Sed" rel="wikipedia" href="http://en.wikipedia.org/wiki/Sed">sed &#8217;s/.*script_id=//&#8217;|tr -d &#8221;&#8221;&#8221;|tr &#8221;>&#8221; &#8221; &#8221;|sed &#8217;s/< .*//&#8217; | tr -d &#8217;\001&#8217;-&#8217;\011&#8217;&#8217;\013&#8217;&#8217;\014&#8217;&#8217;\016&#8217;-&#8217;\037&#8217;&#8217;\200&#8217;-&#8217;\377&#8217; |sort -n<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www. Continue reading

Craeating a sequence in OpenOffice.org calc.

2010-05-06 1 min read Linux
Creating a numberd list in the calc with alphabets can be really tiresome sometimes. I found a simple solution to this. Create the numbered list in vim and then paste it into Openoffice.org calc. Here&#8217;s how I do it: Open vim type the first in sequence (ex Amit_aga_001) Follow the below sequence to create a macro: Esc [Atl]+q+(any alphabet say &#8217;a&#8217;) — this will start recording the macro yy – yank the current line Continue reading

change the window in split screen.

2010-04-11 1 min read Firefox Linux Vim Tips
I use the split screen in vim very in-frequently, so I did not really know how to move from one screen to the other. There is also very little or no documentation that I found on this on the first page of google, so here it is : press &#8221;ctrl+w and ctrl + w&#8221; to change to other window. If you are not sure how to get the split screen, then you can type help split in vim to get the help on split screen. Continue reading

vim scripts and tips

2010-03-29 1 min read Linux Vim Tips
Here are few of the links for vim that you can use. It consists of the link to vimrc, colorscheme, syntaxcomplete and zzsplash. <a href="http://vim.wikia.com/wiki/User:Tonymec/vimrc">http://vim.wikia.com/wiki/User:Tonymec/vimrc <a href="http://vim.wikia.com/wiki/User:Tonymec/almost-default.vim">http://vim.wikia.com/wiki/User:Tonymec/almost-default.vim <a href="http://vim.wikia.com/wiki/User:Tonymec/syntaxcomplete.vim">http://vim.wikia.com/wiki/User:Tonymec/syntaxcomplete.vim <a href="http://vim.wikia.com/wiki/User:Tonymec/zzsplash.vim">http://vim.wikia.com/wiki/User:Tonymec/zzsplash.vim<table cellspacing="0" cellpadding="0" width="100%"> <h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://blog.amit-agarwal.co.in/2010/02/02/bash-script-to-change-the-vim-colorscheme-from-the-list-of-locally-available-schemes/">bash script to change the vim colorscheme from the list of locally available schemes (amit-agarwal.co.in) <li class="zemanta-article-ul-li"><a href="http://www.prweb.com/releases/2010/03/prweb3740684.htm">Wikia Introduces New Tools For People to Create Wiki Answer Sites on Any Topic (prweb. Continue reading

eclim for Fedora – Leonidas – installation.

2010-03-08 1 min read Linux Vim Tips
Here is the installation instruction for Eclim for vim. I have not tried it as I did not require it, but if you need it. http://downloads.sourceforge.net/project/eclim/eclim/1.4.8/eclim_1.4.8.tar.gz?use_mirror=biznetnetworks sudo ant -Declipse.home=/usr/lib/eclipse -Dvim.files=/home/amitag/.vim -Dplugins=cdt create ctgs using ctags -R /usr/include/<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://spf13.com/post/vim-crash-course">VIM Crash Course (spf13.com) <li class="zemanta-article-ul-li"><a href="http://go.theregister.com/feed/www.theregister.co.uk/2010/01/26/sourceforge_ip_address_filtering/">SourceForge bars 5 nations from open source downloads (go.theregister.com) <li class="zemanta-article-ul-li"><a href="http://blog.amit-agarwal.co.in/2010/01/22/my-project-in-sourceforgenet-gnomedesktopwal/">My project in sourceforge.net gnomedesktopwal (amit-agarwal.co.in) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog. Continue reading
Older posts Newer posts