vim – get names of the scripts and the details from the command line

2010-05-19 1 min read Learning Linux Vim Tips
For the below commands either you can set the two variables in bold and then run the scripts or change the following in the commands and run the scripts. If you have html2text installed then you can use this: wget -o /dev/null -O $script_id_file &#8217;http://www.vim.org/scripts/script.php?script_id=&#8217;$script_id |html2text If you dont have html2text installed then you can use: wget -o /dev/null -O $script_id_file &#8217;http://www.vim.org/scripts/script.php?script_id=&#8217;$script_id<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

vi – the powerful Linux/Unix text editor

2010-05-12 1 min read Linux Vim Tips
We will talk about some vi stuff today: Some fun first–> 1) <a href="http://www.vim.org/tips/tip.php?tip_id=664">http://www.vim.org/tips/tip.php?tip_id=664 2) help 42 Ok, coming to serious things- References: 3) Linux cheat sheet: <a href="http://www.lagmonster.org/docs/vi2.html">http://www.lagmonster.org/docs/vi2.html 4) <a href="http://www.venukb.com/2007/01/28/vivim-graphical-cheat-sheet/">http://www.venukb.com/2007/01/28/vivim-graphical-cheat-sheet/ 5) <a href="http://www.eng.hawaii.edu/Tutor/vi.html#commands">http://www.eng.hawaii.edu/Tutor/vi.html#commands Commands and tips: 6) Something that is difficult to find on the net is : how to create a numbered list in vi/vim? Simple, we will use macro's To do this: a> type number and terminatory ex: 1) 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

using paragraph seperator in vi – the easy way

2010-04-07 1 min read Vim Tips
imap aa 80i-io Just put this in the vimrc or in a vi session with a : in normal mode. Explanation: This will map the key &#8221;aa&#8221; to the sequence which will add &#8221;-&#8221; 80 times in the current line and then go to new line in insert mode. This is quite simple so any changes required should be simple enough to make.

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
Older posts Newer posts