<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1036553" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1036553</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/can-your-editor-do#comment-1210435</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;Abhi wrote:&lt;/strong&gt; Does it store keystrokes, or the code that the keystrokes represents?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt; The keystrokes. My little vim script (like My Little Pony but not suitable for small children), pasted from it&#039;s &lt;strong&gt;register&lt;/strong&gt; (I used the wrong terminology before) looks like: -&lt;br /&gt;
&lt;code&gt;o&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;ESC&amp;gt;jA&amp;lt;/td&amp;gt;&amp;lt;ESC&amp;gt;bbbi&amp;lt;t&amp;lt;BACKSPACE&amp;gt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;ESC&amp;gt;bbbbbi&amp;lt;t&amp;lt;BACKSPACE&amp;gt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;ESC&amp;gt;bbbbbi&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;ESC&amp;gt;I&amp;lt;td&amp;gt;&amp;lt;ESC&amp;gt;&lt;/code&gt;&#039;&lt;br /&gt;
I had to replace control characters with  and . Aside from that, above is exactly how Vim stores it&#039;s scripts. There is a scripting language with Vim, but that&#039;s something different. &lt;/p&gt;
&lt;p&gt;The script works because Vim starts in something called &#039;Normal mode&#039;, which is mainly for navigation and quick editing/deletions. In Normal mode &#039;o&#039; means &#039;Insert new line below the current one and enter Insert mode (where text is entered),  takes it back to Normal mode. &#039;j&#039; moves down one line then &#039;A&#039; inserts text at the end of the current line. &#039;b&#039; moves back one word and &#039;i&#039; puts Vim into Insert mode. I could go on, but don&#039;t think that&#039;s needed! I like to think of these Vim scripts (macro seems like a better word, but I was told-off for calling them that) as being like another person using your Vim. They function the same way the user uses Vim. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Notice when I make a mistake and  Vim meticulously records it, that can be really annoying for Vim users, who&#039;ll see their mistake every time they type :registers. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;Abhi wrote:&lt;/strong&gt; It&#039;s not limited to one buffer (terminology may differ), so you can record macros over multiple buffers or files, even open/write files and run shell commands.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt; I used the wrong terminology before, sorry. I meant register, not sure whether a script can span multiple buffers. *strokes chin* must try that sometime.&lt;/p&gt;
 </description>
     <pubDate>Mon, 13 Nov 2006 19:21:39 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1210435 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/can-your-editor-do#comment-1210368</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;JeevesBond wrote:&lt;/strong&gt; can Emacs (or Ultra Edit) jump back words, or jump to the start of a line?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Sure.  I&#039;ve bound those functions to Home, End, C-, C-, etc.  Depending on your mode, you can also move between function/class/variable definitions and other blocks of text, as well as normal whitespace-delimited text.&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;JeevesBond wrote:&lt;/strong&gt; It stores scripts as a series of keystrokes within a buffer&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Does it store keystrokes, or the code that the keystrokes represents?  Emacs keyboard macros represent vanilla Emacs Lisp code, so when you save it you just get a bit of reusable Elisp code.  It&#039;s not limited to one buffer (terminology may differ), so you can record macros over multiple buffers or files, even open/write files and run shell commands.&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;JeevesBond wrote:&lt;/strong&gt; Emacs &lt;em&gt;has&lt;/em&gt; keyboard shortcuts, whereas Vim &lt;em&gt;is&lt;/em&gt; keyboard shortcuts.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I think that&#039;s a poignant observation, at least for the Emacs side.  I&#039;m fond of saying &quot;Emacs is an editor written in Emacs Lisp; Emacs Lisp runs on Emacs&quot;.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;  Keybindings, and indeed most of the user interface, are loosely coupled to the underlying Lisp, so you&#039;ve hit the nail on the head.  That&#039;s what makes it so deeply programmable.  &#039;Emacs&#039; is derived from &#039;Editor Macros&#039;, after all.&lt;/p&gt;
&lt;p&gt;Matt, the sentiment is the same: to have the machine do the tedious work for you.  What Jeeves is trying to show is how that philosophy can (and should) be part of your regular editor, rather than forcing you to invent jerry-built solutions.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 12 Nov 2006 04:33:07 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1210368 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/can-your-editor-do#comment-1210352</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;teammatt3 wrote:&lt;/strong&gt; Then just copy and paste into your site. Beat that &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Lol, that actually makes sense in a weird way. Just substitute: &#039;excel&#039; for: &#039;Open Office Calc&#039; and you&#039;ve got me sold. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Although that&#039;s a method very specific to just the task of making tables, whereas the powa(tm) of Vim extends to all tasks! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Nov 2006 19:08:38 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1210352 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/can-your-editor-do#comment-1210348</link>
    <description> &lt;p&gt;I&#039;m not as cool as you guys with your fancy text editors but I use excel to make the tables. It&#039;s a piece of cake. You take the data they give you and space it out. For example&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;Blank column | One chunk of data | Black column | Another chuck of data | Blank Column | Some more data | Blank column&lt;br /&gt;Blank column | One chunk of data | Black column | Another chuck of data | Blank Column | Some more data | Blank column&lt;br /&gt;Blank column | One chunk of data | Black column | Another chuck of data | Blank Column | Some more data | Blank column&lt;br /&gt;Blank column | One chunk of data | Black column | Another chuck of data | Blank Column | Some more data | Blank column&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Then you put a  in the first blank column, a  in the next blank, and so on until you get to the end and do . Then you use that drag tool thing, and drag each of the tags to the end of the rows. Then just copy and paste into your site. Beat that &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/tongue.png&quot; title=&quot;Sticking out tongue&quot; alt=&quot;Sticking out tongue&quot; class=&quot;smiley-content&quot; /&gt;.&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Nov 2006 18:26:03 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1210348 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/can-your-editor-do#comment-1210346</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;Abhi wrote:&lt;/strong&gt; You can record pretty much any arbitrary Emacs action.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Very good, but can Emacs (or Ultra Edit) jump back words, or jump to the start of a line? These were useful and essential as the items in the first &#039;column&#039; were all different lengths.&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;Abhi wrote:&lt;/strong&gt; Some more neat features of keyboard macros are that you can edit or append sequences to them, name and save them to file, bind them to custom/temporary shortcuts, and program them to do different things on each step or run.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt; Same for Vim, the joy being that it&#039;s so simple. It stores scripts as a series of keystrokes within a buffer, so it can be pasted, changed, then copied back to the buffer and the script is changed.&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;Greg wrote:&lt;/strong&gt; Also, if you have everything lined up as text, you can enter column mode and type things in a whole column to enter same thing for many lines.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;This is such a useful feature! Naturally Vim and Emacs can do this too, but it&#039;s definately worth mentioning!&lt;/p&gt;
&lt;p&gt;The more I think about it, the more I realise that Emacs &lt;em&gt;has&lt;/em&gt; keyboard shortcuts, whereas Vim &lt;em&gt;is&lt;/em&gt; keyboard shortcuts.&lt;/p&gt;
&lt;p&gt;To give everyone an idea of just how great, powerful and useful Vim and Emacs are I point you to: the Tetris plugins! Both editors have plugins written, under their own scripting language, to allow the user to play Tetris. That just cannot be beaten. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Nov 2006 17:56:57 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1210346 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/can-your-editor-do#comment-1210345</link>
    <description> &lt;p&gt;In ultra edit you can also record macros and play them a certain number of times (or until the end of a file, or until a search no longer is found)&lt;/p&gt;
&lt;p&gt;Also, if you have everything lined up as text, you can enter column mode and type things in a whole column to enter same thing for many lines.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Nov 2006 15:58:35 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1210345 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/can-your-editor-do#comment-1210344</link>
    <description> &lt;p&gt;Yep.  In Emacs you would use keyboard macros.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;C-x (&lt;/strong&gt; to start recording, move around and edit as normal, &lt;strong&gt;C-x )&lt;/strong&gt; to stop recording.  Then either &lt;strong&gt;C-x e&lt;/strong&gt; to repeat once, &lt;strong&gt;C-x e e e ...&lt;/strong&gt; to repeat a few times, or &lt;strong&gt;C-u &lt;em&gt;n&lt;/em&gt; C-x e&lt;/strong&gt; to repeat &lt;em&gt;n&lt;/em&gt; times.  Alternately, run &lt;strong&gt;M-x apply-macro-to-region-lines&lt;/strong&gt; etc to apply the macro to a selected area or various other ways.  You can record pretty much any arbitrary Emacs action.&lt;/p&gt;
&lt;p&gt;Some more neat features of keyboard macros are that you can edit or append sequences to them, name and save them to file, bind them to custom/temporary shortcuts, and program them to do different things on each step or run.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 11 Nov 2006 14:45:52 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1210344 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
