<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>vim &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/vim/</link>
	<description>Feed of posts on WordPress.com tagged "vim"</description>
	<pubDate>Tue, 08 Dec 2009 00:22:27 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[vim, open a file in a specific line]]></title>
<link>http://cateof.wordpress.com/2009/12/07/vim-open-a-file-in-a-specific-line/</link>
<pubDate>Mon, 07 Dec 2009 12:03:06 +0000</pubDate>
<dc:creator>cateof</dc:creator>
<guid>http://cateof.wordpress.com/2009/12/07/vim-open-a-file-in-a-specific-line/</guid>
<description><![CDATA[One of the things that if you try, then you cannot live without them. If you are spending time in th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>One of the things that if you try, then you cannot live without them. If you are spending time in the UNIX console and you are using vi as your editor, I am sure that you used grep in order to find a word in a text file. After the results came up to STDOUT you opened the file with vi and then you moved to the specific line.</p>
<p>So, go to your prompt. Use grep -n to print the line number along with the results. Then use vi -c LINE filename. This command will open the file filename at line LINE.</p>
<p>5 stars.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[ViM: View Environment Variables]]></title>
<link>http://choorucode.wordpress.com/2009/12/07/vim-view-environment-variables/</link>
<pubDate>Mon, 07 Dec 2009 02:26:18 +0000</pubDate>
<dc:creator>Ashwin Nanjappa</dc:creator>
<guid>http://choorucode.wordpress.com/2009/12/07/vim-view-environment-variables/</guid>
<description><![CDATA[ViM has its own internal environment variables, like $VIM and $VIMRUNTIME. Use the echo command to v]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>ViM has its own internal environment variables, like <code>$VIM</code> and <code>$VIMRUNTIME</code>. Use the <code>echo</code> command to view their values:</p>
<pre>:echo $VIM
:echo $VIMRUNTIME</pre>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Do You Speak Vim?]]></title>
<link>http://scottdickson.net/2009/12/06/do-you-speak-vim/</link>
<pubDate>Sun, 06 Dec 2009 14:59:44 +0000</pubDate>
<dc:creator>Scott</dc:creator>
<guid>http://scottdickson.net/2009/12/06/do-you-speak-vim/</guid>
<description><![CDATA[Every so often I get on a kick to change the text editors I use. While I have tried most of them, Em]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Every so often I get on a kick to change the text editors I use. While I have tried most of them, Emacs, Notepad ++ and a many others, the one I keep coming back to is <a href="http://www.vim.org/">Vim</a>. For most of you, this discussion is as boring as watching paint dry. However, for some geeks who spend a lot of time writing or editing code or even just plain text files the choice of text editors is a big deal.</p>
<p>I don&#8217;t write a lot of code, but I do write a lot of text. The longer I have been using computers, and the more versions of word processors I have seen come and go, the more convinced I become of the value and beauty of plain text. A good example of this is found in a recent upgrade of Microsoft Office at work. We went from Office 2003 to Office 2007 and every since, I&#8217;ve gotten complaints from the few souls left on our network that are stuck on 2003 that they can&#8217;t open the new 2007 file format.</p>
<p>I don&#8217;t seem to have that problem with plain text. The things I write now, I want to be able to open in 10 or even 20 years from now. I mean, who has a copy of Word Perfect 5.1 to open all those old documents you created nearly 20 years ago.</p>
<p>There is also a subtle beauty in working with plain text. <a href="http://www.vim.org/">Vim</a>, for all my experiments with other text editors, is the best. I don&#8217;t want to start a Emacs vs. Vi flame war but that&#8217;s my opinion. If you want to play with Vim, be warned there is a steeper learning curve than with some other programs but if you stick with it, I believe you&#8217;ll find it worth the effort. Who knows, you might even be convinced of the beauty of plain text.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[vimperator and Outlook Web Access Light]]></title>
<link>http://faltufund.wordpress.com/2009/12/03/vimperator-and-outlook-web-access-light/</link>
<pubDate>Thu, 03 Dec 2009 23:17:03 +0000</pubDate>
<dc:creator>faltufund</dc:creator>
<guid>http://faltufund.wordpress.com/2009/12/03/vimperator-and-outlook-web-access-light/</guid>
<description><![CDATA[So one feature of vimperator which has made it indispensable to me is Ctrl-I on a web form textbox. ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>So one feature of vimperator which has made it indispensable to me is Ctrl-I on a web form textbox.  When vimperator receives Ctrl-I, it opens a gvim instance on the textbox, you can edit in gvim, and then vimperator puts your result back into the textbox.  Amazingly useful; it&#8217;s let me write better emails than I did when I was just typing into a textbox and trying to send off the email without any editing ability.  Some websites use Flash or some other kind of textboxes though (such as Google Docs), but now I deal with them manually by opening gvim myself and pasting a tmpfile because I&#8217;m so used to the advantage of having gvim on textboxes.</p>
<p>Another nuisance has been editing emails using Outlook Web Access.  Since I use Firefox, it forces me into Outlook Web Access Light, which is one nuisance (I bet if I just change the browser ID using a Firefox plug-in then I could get the full Outlook Web Access).  But the main nuisance is that once I&#8217;m in OWA Light, then when I&#8217;m composing an email using Ctrl-I, then OWA Light likes to timeout after about 3 minutes and the textbox disappears, and so when I&#8217;m done composing another lovely epistle in gvim, then my writings disappear when vimperator doesn&#8217;t find the textbox that OWA Light helpfully closed.  I needed a way for gvim to save a duplicate copy whenever I&#8217;m using OWA, and gvim being the incredible machine that it is, there&#8217;s a 1-liner in .vimrc that does the trick:</p>
<p><code>
<pre>autocmd VimLeave  vimperator-exchange* :write! &#62;&#62; /home/me/vimp.exch.txt</pre>
<p></code></p>
<p>That&#8217;s it.  Whenever gvim is about to leave a file beginning with vimperator-exchange*, then it writes an extra copy to vimp.exch.txt so if OWA Light closed the box, I still have it.</p>
<p>There might be a more elegant way to do this; for a while I was trying to get a unique script id using  but it wasn&#8217;t worth it. I like this solution now anyway.  </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Python và vim.]]></title>
<link>http://projektantos.wordpress.com/2009/12/01/python-va-vim/</link>
<pubDate>Mon, 30 Nov 2009 20:38:09 +0000</pubDate>
<dc:creator>tuantub</dc:creator>
<guid>http://projektantos.wordpress.com/2009/12/01/python-va-vim/</guid>
<description><![CDATA[Bẵng đi một thời gian từ bài viết cuối cùng giờ tớ mới có thời gian viết một cái gì đó thư giãn . Đợ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Bẵng đi một thời gian từ <a href="http://projektantos.wordpress.com/2009/10/18/ph%e1%bb%a5-d%e1%bb%81-ti%e1%ba%bfng-vi%e1%bb%87t-tren-linux-v%e1%bb%9bi-mplayer/">bài viết cuối cùng</a> giờ tớ mới có thời gian viết một cái gì đó thư giãn <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br />
Đợt này có việc phải liên quan tới <a href="http://www.python.org">python</a> nên cũng chịu khó bắt đầu với nó một chút. Với một ngôn ngữ lập trình thì người lập trình viên thường bắt đầu bằng việc tìm một trình soạn thảo hoặc một<!--more--> <a href="http://en.wikipedia.org/wiki/Integrated_development_environment">IDE</a> cho ngôn ngữ mình cần sử dụng. Có rất nhiều <a href="http://wiki.python.org/moin/IntegratedDevelopmentEnvironments">IDE cho python</a> mà mọi người có thể bắt đầu và đó luôn là lựa chọn phù hợp cho những dự án lớn. Tuy nhiên, đôi khi chúng ta chỉ cần viết một vài dòng lệnh cho một script nho nhỏ và điều cần thiết chỉ là một trình soạn thảo với hỗ trợ cho ngôn ngữ đó là đủ. Cũng như rất nhiều người sử dụng linux, tớ thường dùng <a href="http://www.vim.org">vim</a> cho các công việc chỉnh sửa, tạo các tệp tin với nội dung ngắn nên quyết định tìm một vài <a href="http://en.wikipedia.org/wiki/Plug-in_%28computing%29">plugins</a> nho nhỏ cho vim để tiện sử dụng sau này.<br />
Do Python là ngôn ngữ rất chú trọng về thụt dòng trong syntax nên sau một hồi tìm hiểu, tớ quyết định theo chuẩn <a href="http://www.python.org/dev/peps/pep-0008/">PEP-8</a> và do mặc định vim sử dụng 8 ký tự trắng cho một ký tự tab nên để thay đổi cho đúng theo chuẩn và nhờ có anh bạn <a href="http://www.google.com">google</a> tớ đã tìm được bài viết <a href="http://henry.precheur.org/2008/4/18/Indenting_Python_with_VIM.html">này</a> để chỉnh được vim hỗ trợ thụt dòng theo ý muốn.<br />
Nếu ai đó tham lam, chỉnh sửa, tạo nhiều tệp tin trong một phiên làm việc với vim thì <a href="http://www.vim.org/scripts/script.php?script_id=159">plugin này</a> là một lựa chọn rất tốt, nó cho phép chuyển qua lại các tệp tin được nạp vào vim tại thời điểm chỉnh sửa như làm việc với nhiều <a href="http://en.wikipedia.org/wiki/Tab_%28GUI%29">tabs</a> trong nhiều trình soạn thảo khác.<br />
Cuối cùng, để làm việc với một tệp tin dài, với nhiều hàm con, lớp thì việc chuyển qua lại giữa những thành phần đó trong vim được một plugin hỗ trợ rất tốt, đó là <a href="http://vim-taglist.sourceforge.net/index.html">taglist</a>.<br />
Trên đây chỉ là những giới thiệu nho nhỏ về hỗ trợ của vim cho python, còn <a href="http://www.vim.org/scripts/index.php">rất rất nhiều</a> plugin hữu ích cho vim hỗ trợ các ngôn ngữ lập trình cũng như công việc nhất định khác mà mọi người có thể tham khảo <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br />
Tuần mới vui vẻ !</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[delicious and vimperator]]></title>
<link>http://faltufund.wordpress.com/2009/11/29/adding-bookmark-to-delicious-on-vimperator/</link>
<pubDate>Sun, 29 Nov 2009 08:50:14 +0000</pubDate>
<dc:creator>faltufund</dc:creator>
<guid>http://faltufund.wordpress.com/2009/11/29/adding-bookmark-to-delicious-on-vimperator/</guid>
<description><![CDATA[I&#8217;ve been trying to figure out how to use delicious with vimperator. I installed the delicious]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I&#8217;ve been trying to figure out how to use delicious with vimperator.  I installed the delicious vimperator plugin and now I have the :delicious command, which doesn&#8217;t seem to do anything as far as I can tell.  I asked a couple of times on the freenode/#vimperator channel, which is very nice, but nobody seemed to know.</p>
<p>However I recently rediscovered :set guioptions+=mTB, which shows that, indeed, the regular Firefox is back there.  And then it occured to me how to do it.  CTRL-v is the pass-through to Firefox, and so CTRL-v CTRL-d opens the delicious bookmark page, and CTRL-v CTRL-b opens the delicious sidebar (if you have the regular delicious plug-in).  This occured to me because, though I liked y for yanking the current address, I had to lookup CTRL-v CTRL-v to paste it since p doesn&#8217;t work.  So:</p>
<table border="1">
<tr>
<td>Firefox Passthrough
<td>CTRL-v</p>
<tr>
<td>Paste from Clipboard
<td>CTRL-v CTRL-v</p>
<tr>
<td>Toggle Delicious Sidebar
<td>CTRL-v CTRL-b</p>
<tr>
<td>Add Bookmark to Delicious
<td>CTRL-v CTRL-d<br />
</table>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Mengedit Teks secara Efisien Caranya VIM]]></title>
<link>http://ajooy.wordpress.com/2009/11/29/mengedit-teks-secara-efisien-caranya-vim/</link>
<pubDate>Sun, 29 Nov 2009 06:22:56 +0000</pubDate>
<dc:creator>ajooy</dc:creator>
<guid>http://ajooy.wordpress.com/2009/11/29/mengedit-teks-secara-efisien-caranya-vim/</guid>
<description><![CDATA[Saya menggunakan vim sebagai text editor saya. Kesan saya amat puas. Investasi waktu untuk mempelaja]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Saya menggunakan <a href="http://www.vim.org">vim</a> sebagai <strong>text editor</strong> saya. Kesan saya amat puas. Investasi waktu untuk mempelajari vim memang sepadan dengan hasil yang didapat. Sekarang mengedit teks tidak lagi membosankan <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
<p>Banyak yang menyarankan untuk memilih <strong>satu text editor yang powerful</strong> untuk semua kegiatan mengedit teks. Menulis email, laporan, artikel, atau program, usahakan hanya menggunakan satu text editor. Hal ini supaya familier dengan text editor tersebut. Pikiran bisa bebas berkonsentrasi dengan <em>content</em> yang ingin ditulis, sedangkan perintah-perintah text editor sudah keingat di jari-jari. Bila sudah begini, editing teks akan lebih efisien dan fun <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . Untuk pilihan text editor ini, Anda dapat menggunakan vim.</p>
<p>Salah satu fitur yang saya suka dari vim yaitu perintah-perintahnya dibangkitkan dengan karakter alfabet. Dengan kata lain, perintah di vim tidak dijalankan dengan kombinasi <em>alt+something</em> atau <em>metakey combination</em>, tetapi memang benar-benar menggunakan huruf alfabet. Misalnya, d untuk menghapus, w untuk jump ke kata selanjutnya, 0 untuk jump ke awal baris, y untuk mengcopy (istilah di vim untuk copy adalah yank) dan seterusnya. Bagi touch typist, hal ini sangat penting. Jadi, bila ingin menguasai vim, lebih baik Anda juga belajar <a href="http://ajooy.wordpress.com/2008/09/16/touch-typing-mengetik-tanpa-melihat-keyboard/">touch typing</a> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .</p>
<p>Mau tahu kehebatan vim, bisa dilihat demo yang ada di bawah ini &#8230;</p>
<p><span style='text-align:center; display: block;'><object width='425' height='350'><param name='movie' value='http://www.youtube.com/v/pCiVCiku3cM&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' /><param name='allowfullscreen' value='true' /><param name='wmode' value='transparent' /><embed src='http://www.youtube.com/v/pCiVCiku3cM&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;hd=0' type='application/x-shockwave-flash' allowfullscreen='true' width='425' height='350' wmode='transparent'></embed></object></span></p>
<p>Direct Link: <a href="http://www.youtube.com/watch?v=pCiVCiku3cM">http://www.youtube.com/watch?v=pCiVCiku3cM</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Shower catastrophe: Update]]></title>
<link>http://mynewdigs.wordpress.com/2009/11/28/shower-catastrophe-update/</link>
<pubDate>Sun, 29 Nov 2009 02:34:57 +0000</pubDate>
<dc:creator>mynewdigs</dc:creator>
<guid>http://mynewdigs.wordpress.com/2009/11/28/shower-catastrophe-update/</guid>
<description><![CDATA[I just finished cleaning the basement bathroom &#8211; very glamorous Saturday night, I know -  and ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I just finished cleaning the basement bathroom &#8211; very glamorous Saturday night, I know -  and had to come right up to blog about what just happened. I managed to get rid of the <a href="http://mynewdigs.wordpress.com/2009/10/28/oops-i-messed-up-%e2%80%93-please-help/">yellow frosted glass</a> I caused the first time I cleaned the shower!</p>
<p>It&#8217;s not completely gone, but it&#8217;s almost invisible now, and I don&#8217;t think anyone would notice if they weren&#8217;t looking for it. I&#8217;m so excited and I think it&#8217;s incredible. And it was so easy&#8230;all I used was regular old Vim cream. All I can assume is that it neutralized the acidic reaction as <a href="http://hepowers.wordpress.com/">Helen</a> suggested, and viola!</p>
<p>Thanks to everyone for all your great suggestions over the last few weeks, I really appreciate all the help.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Coding in Java using Vim]]></title>
<link>http://clustercomputing.wordpress.com/2009/11/28/coding-in-java-using-vim/</link>
<pubDate>Sat, 28 Nov 2009 02:27:21 +0000</pubDate>
<dc:creator>Srikanth Venkateswaran</dc:creator>
<guid>http://clustercomputing.wordpress.com/2009/11/28/coding-in-java-using-vim/</guid>
<description><![CDATA[This is one topic born out of necessity. I had to do it and had a discussion on the vim-use group ab]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This is one topic born out of necessity. I had to do it and had a discussion on the vim-use group about it. Since I am lazy, I just cut-paste the conversation instead of summarizing it.</p>
<div>Hi,</div>
<div id=":60">I code Java in Vim using Vjde(<a href="http://www.vim.org/scripts/script.php?script_id=1213" target="_blank">http://www.vim.org/scripts/script.php?script_id=1213</a>). But I am not able to use many of the features because the documentation is entirely in Chinese, with a brief tutorial in English.</div>
<div>1) While it recognizes standard packages ( java.* ) for code completion, it does not recognize my custom packages. I am following the ctags instructions specified in the script homepage exactly as far as I can understand them.<br />
2) The auto-import feature works for standard packages but not mine.Questions:<br />
1) Is there any other tool for coding Java in Vim other than Vjde?<br />
2) Why am I using vim to code Java instead of Eclipse? Well, I have to code java over a VPN halfway across the world and the bandwidth makes a full fledged Eclipse IDE very slow. My question is, if there was a full fledged java plugin for vim with as many features as Eclipse, wouldn&#8217;t it be even slower, since it would have to do the parsing and matching in a language-generic way?
<p>&#160;</p>
<p>Thanks,<br />
Srikanth</p>
<div>&#62; 1) Is there any other tool for coding Java in Vim other than Vjde?</div>
<p>You may want to give a try to eclim (<a href="http://eclim.org/" target="_blank">http://eclim.org/</a>) I&#8217;ve not used it by myself but some people have told me that it&#8217;s good enough.</p>
<p>It requires you to run an instance of eclipse in the background though. Not sure if this poses a problem for the OP.</p>
<div>
<h3>Marc Weber</h3>
</div>
<p>Yes, of course vim script is slower than Java. There is one plugin on<a href="http://vim.org/" target="_blank"> vim.org</a> which implements a Java parser. However it wasn&#8217;t updated within the last year. And I think there are many reasons for it. It is insane to duplicate the work which was done on Eclipse. Eclim probably won&#8217;t solve the speed issues for you.</p>
<p>Maybe you can look at your problem in a different way?<br />
Maybe you can implement kind of file caching so that accessing files is faster ?<br />
Maybe you can start using a version control system so that you can keep a local copy of the source code.</p>
<p>Why do you have to use files which are stored on a server having a slow connection to you?<br />
What is your real problem?</p>
<p>Be aware that Netbeans has very good vi keybindings. Eclipse also has a vi-plugin.</p>
<p>Maybe try only reading .java files from the remote location while linking Eclipse stuff to a local disk. Using ntfs you can create different kinds of links etc.</p>
<p>Also be aware that you can&#8217;t debug Java code as comfortable as in Eclipse or netbeans. I&#8221;d also join #eclipse and ask how others work with a setup like yours.</p>
<p>There are alternative solutions: Eg log into the server and work using a terminal. I don&#8217;t know which works best for you. You have to try.</p>
<p>Good luck.<br />
<span style="color:#888888;">Marc Weber<br />
</span></p>
<p>Hi,<br />
Thanks for all the replies. I didn&#8217;t expect so many and so quick.<br />
&#62;&#62; Eclim probably won&#8217;t solve the speed issues for you.<br />
Actually it partly did. The background eclipse runs on the server (half the world away) and doesn&#8217;t have to transport the entire GUI across the n/w since the frontend s only a terminal vi..</p>
<p>&#62;&#62; log into the server and work using  a terminal.<br />
Exactly what I do.</p>
<p>&#62;&#62;Maybe you can implement kind of file caching so that accessing files is<br />
faster ?<br />
&#62;&#62; Maybe you can start using a version control system so that you can keep<br />
a local copy of the source code.<br />
Uh Oh&#8230; This is company code so strictly no checkouts allowed locally (at home). Of course we check out a local copy in the office so there is no problem using Eclipse/Netbeans there. At home, even connecting to the local server is slow.</p>
<p>&#62;&#62;  What is your real problem?<br />
Can&#8217;t checkout code at home (officially atleast)<br />
Currently using Eclim at home is sufficient for me, so thanks for all the help. This thread can be closed.</p>
<p>Thanks,<br />
<span style="color:#888888;"> Srikanth</span></p>
</div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[CoreText rendering on MacVim]]></title>
<link>http://ayaz.wordpress.com/2009/11/27/coretext-rendering-on-macvim/</link>
<pubDate>Fri, 27 Nov 2009 08:30:31 +0000</pubDate>
<dc:creator>ayaz</dc:creator>
<guid>http://ayaz.wordpress.com/2009/11/27/coretext-rendering-on-macvim/</guid>
<description><![CDATA[On thakis&#8217;s unprecedented reply to my tweet about hating the fact of MacVim not having the sam]]></description>
<content:encoded><![CDATA[On thakis&#8217;s unprecedented reply to my tweet about hating the fact of MacVim not having the sam]]></content:encoded>
</item>
<item>
<title><![CDATA[Martes sin X "Cmus"]]></title>
<link>http://fausto23.wordpress.com/2009/11/24/martes-sin-x-cmus/</link>
<pubDate>Wed, 25 Nov 2009 01:15:45 +0000</pubDate>
<dc:creator>x_fausto</dc:creator>
<guid>http://fausto23.wordpress.com/2009/11/24/martes-sin-x-cmus/</guid>
<description><![CDATA[Otra de las cosas que he descubierto al usar aplicaciones de consola, es que Vim rlz, y no solo como]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://fausto23.wordpress.com/files/2009/11/2009-11-23-202403_648x401_scrot.png"><img class="aligncenter size-full wp-image-1488" title="Cmus" src="http://fausto23.wordpress.com/files/2009/11/2009-11-23-202403_648x401_scrot.png" alt="" width="600" height="371" /></a></p>
<p>Otra de las cosas que he descubierto al usar aplicaciones de consola, es que Vim rlz, y no solo como editor, sino como inspiración para otros programas, y el día de hoy les traigo Cmus.</p>
<p><a href="http://cmus.sourceforge.net/">Cmus</a> es un reproductor de música, pequeño y rápido, que puede reproducir formatos como Ogg, MP3, FLAC, wav, AAC, wav e inclusive MP4. La interfaz de este programa, permite la navegación entre directorios, listas de reproducción, o búsqueda en la carpetas. Pero su mayor característica es que se maneja como Vi, dando un mejor control sobre el manejo de medios. Por ejemplo, para agregar un directorio con música <code>:add /directorio</code> ademas que cuenta con auto completado con TAB, otro ejemplo seria buscar una canción en especifico <code>/nombre_de_la_canción</code>. Otras características es poder cambiar los colores, guardar listas de reproducción y soporte UTF-8.</p>
<p>Cmus se encuentra en la mayoría de los repositorios de las distribuciones.</p>
<p>Una forma mas de disfrutar de la música, sin necesidad de grandes reproductores.</p>
<p>Mata ne!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Man lär sig något nytt hela tiden]]></title>
<link>http://akeiexil.wordpress.com/2009/11/24/man-lar-sig-nagot-nytt-hela-tiden/</link>
<pubDate>Tue, 24 Nov 2009 21:19:21 +0000</pubDate>
<dc:creator>akeinexile</dc:creator>
<guid>http://akeiexil.wordpress.com/2009/11/24/man-lar-sig-nagot-nytt-hela-tiden/</guid>
<description><![CDATA[Jag använder gärna vim för att redigera text-filer som till exempel konfigurationsfiler samt källkod]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Jag använder gärna <a title="Vim" href="http://www.vim.org">vim</a> för att redigera text-filer som till exempel konfigurationsfiler samt källkodsfiler. Jag använder dock inte så mycket av vim&#8217;s avancerade funktioner utan mest den smidiga sökningen, hex-edit-funktionen samt för att programmet är så lätt att anpassa efter mina preferenser.</p>
<p>Trots att jag använt editorn i fråga i många herrans år har jag aldrig använt <a title="Sök och ersätt i Vim-wikin" href="http://vim.wikia.com/wiki/Search_and_replace">sök och ersätt funktionen</a> som i vim är väldigt trevlig.</p>
<blockquote><p>:%s/sök/ersätt</p></blockquote>
<p>Detta är det enkla fallet, vi ersätter ordet sök med ordet ersätt.  Sedan har vi möjlighet att söka med hjälp av<a title="En guide till Vims reguljära uttryck" href="http://www.softpanorama.org/Editors/Vimorama/vim_regular_expressions.shtml"> reguljära uttryck</a> och ersätta dessa. Detta ger möjlighet till massvis av fantastiska möjligheter som jag inte har hittat någon direkt bra användning för ännu men säkert kan ifall jag tränar lite mer.</p>
<p>En annan kul sak jag har lärt mig i vim är att man enkelt kan hoppa till en rad i den öppna filen genom att skriva in rad-nummret följt av G.</p>
<p>ex:</p>
<blockquote><p>268G</p></blockquote>
<p>Detta är mycket trevligt när man skriver till exempel python-script och sitter och fixar syntaxfel och följer upp felmeddelanden från python-tolken.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[po4a and vim-doc-es. Example of text format usage.]]></title>
<link>http://elric80.wordpress.com/2009/11/24/po4a-and-vim-doc-es-example-of-text-format-usage/</link>
<pubDate>Tue, 24 Nov 2009 14:56:22 +0000</pubDate>
<dc:creator>elric80</dc:creator>
<guid>http://elric80.wordpress.com/2009/11/24/po4a-and-vim-doc-es-example-of-text-format-usage/</guid>
<description><![CDATA[po4a and vim are among my favourite FOSS applications ever since I started to like GNU/Linux systems]]></description>
<content:encoded><![CDATA[po4a and vim are among my favourite FOSS applications ever since I started to like GNU/Linux systems]]></content:encoded>
</item>
<item>
<title><![CDATA[Syntax Highlighting]]></title>
<link>http://chudq.wordpress.com/2009/11/23/syntax-highlighting/</link>
<pubDate>Mon, 23 Nov 2009 20:48:19 +0000</pubDate>
<dc:creator>chudq</dc:creator>
<guid>http://chudq.wordpress.com/2009/11/23/syntax-highlighting/</guid>
<description><![CDATA[I posted a blog on code syntax hilighting last year. I have tried to add syntax hilighting for my pr]]></description>
<content:encoded><![CDATA[I posted a blog on code syntax hilighting last year. I have tried to add syntax hilighting for my pr]]></content:encoded>
</item>
<item>
<title><![CDATA[Posteando desde g/VIM en Wordpress]]></title>
<link>http://miselaneos.wordpress.com/2009/11/22/posteando-desde-gvim-en-wordpress/</link>
<pubDate>Sun, 22 Nov 2009 19:17:02 +0000</pubDate>
<dc:creator>masterloki</dc:creator>
<guid>http://miselaneos.wordpress.com/2009/11/22/posteando-desde-gvim-en-wordpress/</guid>
<description><![CDATA[Después de un tiempo de usar Awesome WM y de probar KDE 4.3 he regresado a GNOME. Al parecer KDE ya ]]></description>
<content:encoded><![CDATA[Después de un tiempo de usar Awesome WM y de probar KDE 4.3 he regresado a GNOME. Al parecer KDE ya ]]></content:encoded>
</item>
<item>
<title><![CDATA[VIM Syntax Settings]]></title>
<link>http://chudq.wordpress.com/2009/11/21/vim-syntax-settings/</link>
<pubDate>Sat, 21 Nov 2009 22:28:21 +0000</pubDate>
<dc:creator>chudq</dc:creator>
<guid>http://chudq.wordpress.com/2009/11/21/vim-syntax-settings/</guid>
<description><![CDATA[Recently I started to learn and working on Windows PowerShell scripts. PowerGUI is a nice tool as sc]]></description>
<content:encoded><![CDATA[Recently I started to learn and working on Windows PowerShell scripts. PowerGUI is a nice tool as sc]]></content:encoded>
</item>
<item>
<title><![CDATA[Highlight e vim - anche su Mac OSX]]></title>
<link>http://toastedtech.wordpress.com/2009/11/21/highlight-e-vim-anche-su-mac-osx/</link>
<pubDate>Sat, 21 Nov 2009 13:46:18 +0000</pubDate>
<dc:creator>lespeol</dc:creator>
<guid>http://toastedtech.wordpress.com/2009/11/21/highlight-e-vim-anche-su-mac-osx/</guid>
<description><![CDATA[Sono molto legato ai colori della bash di linux. Con i file colorati in base al loro tipo. In oltre ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Sono molto legato ai colori della bash di linux. Con i file colorati in base al loro tipo.</p>
<p>In oltre programmando spesso via <a href="http://it.wikipedia.org/wiki/Secure_shell">ssh</a> con <a href="http://www.vim.org/">vim</a>, ormai mi sono affezionato a questo semplice e free editor.</p>
<p>Quindi ho voluto mettere anche sul mio mac le stesse caratteristiche.</p>
<p><a href="http://toastedtech.wordpress.com/files/2009/11/immagine-2.png"><img class="aligncenter size-medium wp-image-1935" title="Immagine 2" src="http://toastedtech.wordpress.com/files/2009/11/immagine-2.png?w=300" alt="" width="300" height="176" /></a></p>
<p><!--more--></p>
<p>Iniziamo dal principio:</p>
<p><strong>Come colorare la nostra bash</strong></p>
<p>il file in questione è</p>
<pre>/private/etc/bashrc</pre>
<p>Questo file è il file base che viene letto ogni volta che apriamo una shell.</p>
<p>E le caratteristiche che troviamo al suo interno vengono applicate ad ogni utente.</p>
<p>A meno di creare un file ~/.bash_profile all&#8217;interno della home dell&#8217;utente che vuole delle caratteristiche aggiuntive o comunque diverse da quelle di default.</p>
<p>Se non esiste (di default non c&#8217;è) creiamolo:</p>
<pre>touch ~/.bash_profile</pre>
<p>e all&#8217;interno mettiamo:</p>
<pre>LSCOLORS='ExFxCxDxBxegedabagacad'
export LSCOLORS
export CLICOLOR=1</pre>
<p>(NB: se avessimo voluto applicare gli highlight a tutti gli utenti, sarebbe bastato aggiungere queste righe al file /private/etc/bashrc)</p>
<p>Adesso riavviamo bashrc:</p>
<pre>. ~/.bash_profile</pre>
<p>C&#8217;è differenza? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>PS: se volete cambiare i colori consultate il manuale di &#8220;ls&#8221; con il comando &#8220;man ls&#8221; e cercate CLICOLOR</p>
<p><strong>Andiamo ora ad aggiungere qualche funzionalità a vim</strong></p>
<p>Come per bashrc c&#8217;è un file base anche per vim:</p>
<pre>/usr/share/vim/vimrc</pre>
<p>e un file che appartiene ad un utente specifico (che di default non esiste, ma lo sappiamo creare con il comando touch):</p>
<pre>~/.vimrc</pre>
<p>Noi modificheremo quest&#8217;ultimo, creandolo e aggiungendo al suo interno:</p>
<pre>set tabstop=4           " spazi del tab
set number              " mostra i numeri di riga
set cindent shiftwidth=4    "indenta in automatico
                            "dopo una parentesi
                            "graffa di 4 spazi
set background=dark     " così si vede meglio il colore
set ai                  " auto indenting
set history=100         " tiene 100 linee di history
set ruler               " mostra la posizione del cursore
syntax on               " highlighting per la sintassi
set hlsearch            " illumina l'ultima parola cercata
filetype plugin on      " use the file type plugins</pre>
<pre>
" Quando editiamo un file, salta sempre all'ultima
" posizione del cursore
autocmd BufReadPost *
\ if ! exists("g:leave_my_cursor_position_alone") &#124;
\ if line("'\"") &#62; 0 &#38;&#38; line ("'\"") &#60;= line("$") &#124;
\ exe "normal g'\"" &#124;
\ endif &#124;
\ endif</pre>
<p>Provate ora ad aprire un file sorgente con vim&#8230; notate differenze?</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Dijo A e hicieron B.]]></title>
<link>http://delhicatessen.wordpress.com/2009/11/20/dijo-a-e-hicieron-b/</link>
<pubDate>Fri, 20 Nov 2009 00:01:20 +0000</pubDate>
<dc:creator>Enric</dc:creator>
<guid>http://delhicatessen.wordpress.com/2009/11/20/dijo-a-e-hicieron-b/</guid>
<description><![CDATA[A costumer is the most important visitor on our premises He is not dependent on us. We are dependent]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;">A costumer is the most important visitor on our premises<br />
He is not dependent on us. We are dependent on him.<br />
He is not an interruption in our work, he is the purpose of it.<br />
We are not doing him a favor by serving him.<br />
He is doing us a favour by giving us the opportunity to serve him</p>
<p style="text-align:center;">¿Adivina de quien es?</p>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-1079" title="Dijo Gandhi...  y nadie le hizo caso." src="http://delhicatessen.wordpress.com/files/2009/11/vim-gandhiji.jpg" alt="Dijo Gandhi...  y nadie le hizo caso." width="480" height="360" /></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[[Tip] GoLang, syntax highlighting para VIM]]></title>
<link>http://robleshermoso.wordpress.com/2009/11/19/tip-golang-syntax-highlighting/</link>
<pubDate>Thu, 19 Nov 2009 12:43:25 +0000</pubDate>
<dc:creator>Chema</dc:creator>
<guid>http://robleshermoso.wordpress.com/2009/11/19/tip-golang-syntax-highlighting/</guid>
<description><![CDATA[GoLang logo Translate to:English Un truco rápido. Si estais acostumbrados a usar VIM, es casi seguro]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><div id="attachment_128" class="wp-caption alignnone" style="width: 230px"><a href="http://robleshermoso.wordpress.com/files/2009/11/go-logo-black.png"><img class="size-full wp-image-128" title="GoLang logo" src="http://robleshermoso.wordpress.com/files/2009/11/go-logo-black.png" alt="GoLang logo" width="220" height="77" /></a><p class="wp-caption-text">GoLang logo</p></div>
<p><strong>Translate to</strong>:<a href="http://www.google.com/translate_c?hl=en&#38;langpair=es%7Cen&#38;u= http://robleshermoso.wordpress.com/2009/11/19/tip-golang-syntax-highlighting/">English</a></p>
<p>Un truco rápido. Si estais acostumbrados a usar VIM, es casi seguro que tengais activo el resalto de sintaxis según el tipo de fichero.</p>
<p>Como <a href="http://golang.org" target="_blank">GoLang</a> está todavía en fase experimental, tu copia de VIM no reconocerá el formato *.go, y por tanto no te resaltará su sintaxis.</p>
<p>Los chicos de <strong>GoLang</strong> piensan en todo y han creado un fichero de sintaxis para VIM, Kate, Xcode y Emacs.</p>
<p>Para activarlo en VIM, hay que hacer lo siguiente:</p>
<ol>
<li>Crear/modificar el archivo ~/.vimrc y añadir las siguientes líneas:
<div style="background-color:lightyellow;width:500px;border:solid #ffff80 1px;margin:5px;padding:4px;"><code>au BufRead,BufNewFile *.go set filetype=go<br />
au! Syntax go source &#60;ruta-raiz-de-golang&#62;/misc/vim/go.vim</code></div>
</li>
<li>Modificamos &#8220;&#60;ruta-raiz-de-golang&#62;&#8221; con la ruta de GOROOT.</li>
<li>Guardamos y listo.</li>
</ol>
<p>Ya os costará menos echarle un vistazo a los ficheros .go</p>
<p>Que aproveche!</p>
<p><strong>Actualización</strong>: para Kate es muy fácil, basta con copiar el fichero &#8216;$(GOROOT)/misc/kate/go.xml&#8217; a /usr/share/apps/katepart/syntax<br />
<strong>Translate to</strong>:<a href="http://www.google.com/translate_c?hl=en&#38;langpair=es%7Cen&#38;u= http://robleshermoso.wordpress.com/2009/11/19/tip-golang-syntax-highlighting/">English</a><br />
<img class="alignleft size-full wp-image-74" title="Menefante" src="http://robleshermoso.wordpress.com/files/2009/11/menefante.gif" alt="Menefante" width="16" height="16" /><a title="GoLang, syntax highlighting para VIM" href="http://meneame.net/submit.php?url=http://robleshermoso.wordpress.com/2009/11/19/tip-golang-syntax-highlighting/">Menéame</a> <img title="Twitter" src="http://robleshermoso.wordpress.com/files/2009/11/icn_twitter.png" alt="Twitter" width="16" height="16" /><a title="http://robleshermoso.wordpress.com/2009/11/19/tip-golang-syntax-highlighting/" href="http://twitthat.com/go?title=GoLang, syntax highlighting para VIM&#38;url=http://robleshermoso.wordpress.com/2009/11/19/tip-golang-syntax-highlighting/">Twitter</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[«Перегрузка» конфирурационного файла Vim'а.]]></title>
<link>http://archernotes.wordpress.com/2009/11/18/%c2%ab%d0%bf%d0%b5%d1%80%d0%b5%d0%b3%d1%80%d1%83%d0%b7%d0%ba%d0%b0%c2%bb-%d0%ba%d0%be%d0%bd%d1%84%d0%b8%d1%80%d1%83%d1%80%d0%b0%d1%86%d0%b8%d0%be%d0%bd%d0%bd%d0%be%d0%b3%d0%be-%d1%84%d0%b0%d0%b9%d0%bb/</link>
<pubDate>Wed, 18 Nov 2009 22:46:26 +0000</pubDate>
<dc:creator>Ferhiord</dc:creator>
<guid>http://archernotes.wordpress.com/2009/11/18/%c2%ab%d0%bf%d0%b5%d1%80%d0%b5%d0%b3%d1%80%d1%83%d0%b7%d0%ba%d0%b0%c2%bb-%d0%ba%d0%be%d0%bd%d1%84%d0%b8%d1%80%d1%83%d1%80%d0%b0%d1%86%d0%b8%d0%be%d0%bd%d0%bd%d0%be%d0%b3%d0%be-%d1%84%d0%b0%d0%b9%d0%bb/</guid>
<description><![CDATA[Меня вполне устраивает мой конфиг Вима (быть может, в ближайшем будущем я поделюсь его второй версие]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Меня вполне устраивает мой конфиг Вима (быть может, в ближайшем будущем я поделюсь его второй версией), но иногда для конкретного файла нужно «перегрузить» (как в C++) настройки. К примеру, вместо двухпробельного таба вставлять четырёхпробельный, или жёстко указать подсветку синтаксиса. Собственно, последнее мне сейчас и понадобилось, поэтому я, чтобы не забыть, и решил написать этот пост.</p>
<p>Суть проста: в начале или в конце файла в комментариях указываем следующего вида строку:</p>
<p><code><em>[символ комментария]</em>  vim <em>[опции, разделённые «:» или пробелом]</em></code></p>
<p>«:» — значит <strong>set</strong>.</p>
<p>К примеру для файла с ассеблерным кодом (NASM):</p>
<p><code>; vim:syntax=nasm:expandtab</code></p>
<p>А вообще читать <strong>:help modeline</strong>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Making viper mode in emacs use C-[ for escape rather than escape]]></title>
<link>http://argandgahandapandpa.wordpress.com/2009/11/18/making-viper-mode-in-emacs-use-c-for-escape-rather-than-escape/</link>
<pubDate>Wed, 18 Nov 2009 14:59:13 +0000</pubDate>
<dc:creator>existentiality</dc:creator>
<guid>http://argandgahandapandpa.wordpress.com/2009/11/18/making-viper-mode-in-emacs-use-c-for-escape-rather-than-escape/</guid>
<description><![CDATA[Pressing the actual escape button is far too much effort, so my brain seems to have decided to learn]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Pressing the actual escape button is far too much effort, so my brain seems to have decided to learn to us C-[ in vim in preference to escape.</p>
<p>To get this working in viper add the following line:</p>
<p>(setq viper-ESC-key &#8220;\C-[&#8220;)</p>
<p>To your emacs init file <strong>before</strong> you have required viper. Note that this variable cannot be set in your .viper file or changed after you have loaded viper, or rather it can but it has no effect.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[viper-want-ctl-h broken when set in .viper]]></title>
<link>http://argandgahandapandpa.wordpress.com/2009/11/18/viper-want-ctl-h-broken-when-set-in-viper/</link>
<pubDate>Wed, 18 Nov 2009 13:15:51 +0000</pubDate>
<dc:creator>existentiality</dc:creator>
<guid>http://argandgahandapandpa.wordpress.com/2009/11/18/viper-want-ctl-h-broken-when-set-in-viper/</guid>
<description><![CDATA[This happens in the emacs viper vim emulation mode shipped with ubuntu 9.10 in November 2009. There ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>This happens in the emacs viper vim emulation mode shipped with ubuntu 9.10 in November 2009. </p>
<p>There is a work around by setting viper-want-ctl-help-h in your emacs init file after viper has been imported.</p>
<p>This bug occurs because viper-set-expert-level which is called as part of loading viper tramples on various viper settings. However it does need to set those settings which have not been overwritten in your .viper file.</p>
<p>As a workaround in viper one could do one of the following:</p>
<p> i) Make viper-set-expert-level only set those settings which are not already set if dont-change&#8230; is set to true<br />
 ii) Load the .viper file twice once after calling set-expert-level (hackish but it works)<br />
 iii) Do something crazy so as to have shadowed variables, where the set-expert-level only sets the value that is shadowed.</p>
<p>However, I am not going to change any of this at the moment. </p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Martes sin X "Vifm"]]></title>
<link>http://fausto23.wordpress.com/2009/11/17/martes-sin-x-vifm/</link>
<pubDate>Wed, 18 Nov 2009 02:34:30 +0000</pubDate>
<dc:creator>x_fausto</dc:creator>
<guid>http://fausto23.wordpress.com/2009/11/17/martes-sin-x-vifm/</guid>
<description><![CDATA[Durante este tiempo que he hecho esta serie de post me he dado cuenta de 2 cosas, las aplicaciones s]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><img class="aligncenter size-full wp-image-1454" title="Vifm" src="http://fausto23.wordpress.com/files/2009/11/captura-de-pantalla-51.png" alt="" width="600" height="371" /></p>
<p>Durante este tiempo que he hecho esta serie de post me he dado cuenta de 2 cosas, las aplicaciones son tan funcionales como las de GUI y que la mayoria de los que comentan usan Vim <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> , asi que hoy les traigo esta util aplicacion.</p>
<p><a href="http://vifm.sourceforge.net/">Vifm</a> o vi file manager, es un explorador de archivos basado en ncurses, que se maneja a traves del teclado y comandos que recuerdan a Vi, la interfaz es de 2 paneles o si solo queremos uno ejecutamos la orden <strong><code> <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> nly</code></strong> y para regresar a la vista predeterminada <strong><code>:split</code></strong>. Otros comandos utiles en este programa son la busqueda de archivos (<strong><code>/expresion de busqueda</code></strong>), colocar marcadores a las carpetas para su pronta navegacion(<strong><code>m[0-9][a-z][A-Z] y los podemos ver con :marks</code></strong>), ejecutar archivos, usar sesiones de screen, y claro que no puede faltar la edicion de texto con Vim.</p>
<p>Vifm solo depende de Python y puede encontrarse en la mayoria de las distribuciones. En Ubuntu se encuentra en los repositorios universe y en Arch Linux en AUR.</p>
<p>Espero que les sirva esta aplicacion.</p>
<p>Mata ne!</p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
