<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>tag:www.local-guru.net,2005:/blog/tag/vim</id>
  <link type="text/html" href="http://www.local-guru.net" rel="alternate"/>
  <link type="application/atom+xml" href="http://www.local-guru.net/blog/tag/vim.atom" rel="self"/>
  <title>GuruBlog : Articles about vim</title>
  <subtitle>local-guru.net</subtitle>
  <updated>2009-03-28T08:14:00+01:00</updated>
  <generator>GuruBlog engine</generator>
  <entry>
    <id>tag:www.local-guru.net,2005:Article/144</id>
    <published>2009-03-28T08:14:00+01:00</published>
    <updated>2009-03-28T08:14:00+01:00</updated>
    <link type="text/html" href="http://www.local-guru.net//blog/2009/3/28/formating-xml-in-vim" rel="alternate"/>
    <author>
      <name>Nikolaus Gradwohl</name>
    </author>
    <title type="html">formating xml in vim</title>
    <category term="vim" scheme="http://www.local-guru.net/blog/tag/vim"/>
    <content type="html">&lt;p&gt;i often have to work with xml files that are autogenerated and look very ugly
i defined a short keymapping in my .vimrc file that calls &lt;em&gt;xmllint --format -&lt;/em&gt;
on the current buffer&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;map xf &amp;lt;ESC&amp;gt;:%!xmllint --format -&amp;lt;CR&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;open any xml file and press 'xf' in command mode.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>tag:www.local-guru.net,2005:Article/99</id>
    <published>2008-12-09T16:27:00+01:00</published>
    <updated>2008-12-09T16:27:00+01:00</updated>
    <link type="text/html" href="http://www.local-guru.net//blog/2008/12/9/ascii-flower-with-bee" rel="alternate"/>
    <author>
      <name>Nikolaus Gradwohl</name>
    </author>
    <title type="html">ascii flower with bee</title>
    <category term="asciiart" scheme="http://www.local-guru.net/blog/tag/asciiart"/>
    <category term="vim" scheme="http://www.local-guru.net/blog/tag/vim"/>
    <category term="flower" scheme="http://www.local-guru.net/blog/tag/flower"/>
    <content type="html">&lt;pre&gt;
      __
   __/  \__
  /  \__/  \     ()
  \__/  \__/    O//)-
  /  \__/  \     ()
  \__/  \__/
     \__/
      ||   __
      ||  / /|
      || / / |
      ||/ / /
      || / /
      ||/_/
&lt;/pre&gt;

</content>
  </entry>
  <entry>
    <id>tag:www.local-guru.net,2005:Article/78</id>
    <published>2008-10-11T09:51:00+02:00</published>
    <updated>2008-10-11T09:51:00+02:00</updated>
    <link type="text/html" href="http://www.local-guru.net//blog/2008/10/11/ascii-art-robot" rel="alternate"/>
    <author>
      <name>Nikolaus Gradwohl</name>
    </author>
    <title type="html">Ascii-art robot</title>
    <category term="robot" scheme="http://www.local-guru.net/blog/tag/robot"/>
    <category term="asciiart" scheme="http://www.local-guru.net/blog/tag/asciiart"/>
    <category term="vim" scheme="http://www.local-guru.net/blog/tag/vim"/>
    <content type="html">&lt;pre&gt;
          ()               ()
            \             /
           __\___________/__
          /                 \
         /     ___    ___    \
         |    /   \  /   \   |
         |    |  H || H  |   |
         |    \___/  \___/   |
         |                   |
         |  \             /  |
         |   \___________/   |
         \                   /
          \_________________/
         _________|__|_______
       _|                    |_
      / |                    | \
     /  |            O O O   |  \
     |  |                    |  |
     |  |            O O O   |  |
     |  |                    |  |
     /  |                    |  \
    |  /|                    |\  |
     \| |                    | |/
        |____________________|
           |  |        |  |
           |__|        |__|
          / __ \      / __ \
          OO  OO      OO  OO
&lt;/pre&gt;

</content>
  </entry>
  <entry>
    <id>tag:www.local-guru.net,2005:Article/63</id>
    <published>2008-08-17T09:35:00+02:00</published>
    <updated>2008-08-17T09:35:00+02:00</updated>
    <link type="text/html" href="http://www.local-guru.net//blog/2008/8/17/supercollider-on-linux" rel="alternate"/>
    <author>
      <name>Nikolaus Gradwohl</name>
    </author>
    <title type="html">SuperCollider on Linux</title>
    <category term="osc" scheme="http://www.local-guru.net/blog/tag/osc"/>
    <category term="vim" scheme="http://www.local-guru.net/blog/tag/vim"/>
    <category term="supercollider" scheme="http://www.local-guru.net/blog/tag/supercollider"/>
    <content type="html">&lt;p&gt;Today i have installed &lt;a href="http://supercollider.sourceforge.net/"&gt;supercollider&lt;/a&gt; on my ubutu system following &lt;a href="http://swiki.hfbk-hamburg.de:8888/MusicTechnology/847"&gt;this instructions&lt;/a&gt;. SuperCollider is a environment and programming language
for audio synthesis simliar to chuck. SuperCollider can run on a network and uses OSC events for comunication.&lt;/p&gt;

&lt;p&gt;After looking around in the source tree i found a plugin for vim :-)&lt;/p&gt;

&lt;p&gt;Installations is a bit quirky (the folders 'ftpplugin', 'syntax' and 'intend' needed to be copied to ~/.vim by hand) but now
i can edit my sc code using my vim - veeeery cool :-)&lt;/p&gt;

&lt;p&gt;single lines of code can be sent to the server using F6 codeblocks are sent to the server using F5.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;s.boot
(
c = { arg f=900;
    var x;
    x = SinOsc.ar(f);
    x * 0.1
}.play;
)

c.set(, 400);
c.set(, 670);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;to start te server the first line has to be sent to sclang (using F6). Then the code block
starting line 2 is sent to the server (using F5)... tata - a sine wave.&lt;/p&gt;

&lt;p&gt;sending the last 2 lines (F6 again) change the frequency of the running synth.&lt;/p&gt;

&lt;p&gt;F12 can be used to turn all sounds off.&lt;/p&gt;
</content>
  </entry>
</feed>

