<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://stab.st-andrews.ac.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Hdi2u_S16</id>
		<title>Hdi2u S16 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://stab.st-andrews.ac.uk/wiki/index.php?action=history&amp;feed=atom&amp;title=Hdi2u_S16"/>
		<link rel="alternate" type="text/html" href="http://stab.st-andrews.ac.uk/wiki/index.php?title=Hdi2u_S16&amp;action=history"/>
		<updated>2026-05-28T03:03:07Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://stab.st-andrews.ac.uk/wiki/index.php?title=Hdi2u_S16&amp;diff=1405&amp;oldid=prev</id>
		<title>Rf: Created page with &quot;== Getting by in only normal mode ==  * movement keys, &quot;w&quot; jump via start of words; &quot;e&quot; jump via ends; &quot;fc&quot; jump to next c * &quot;0&quot; for start of line, &quot;A&quot; for end of line and int...&quot;</title>
		<link rel="alternate" type="text/html" href="http://stab.st-andrews.ac.uk/wiki/index.php?title=Hdi2u_S16&amp;diff=1405&amp;oldid=prev"/>
				<updated>2017-04-19T22:35:33Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Getting by in only normal mode ==  * movement keys, &amp;quot;w&amp;quot; jump via start of words; &amp;quot;e&amp;quot; jump via ends; &amp;quot;fc&amp;quot; jump to next c * &amp;quot;0&amp;quot; for start of line, &amp;quot;A&amp;quot; for end of line and int...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Getting by in only normal mode ==&lt;br /&gt;
&lt;br /&gt;
* movement keys, &amp;quot;w&amp;quot; jump via start of words; &amp;quot;e&amp;quot; jump via ends; &amp;quot;fc&amp;quot; jump to next c&lt;br /&gt;
* &amp;quot;0&amp;quot; for start of line, &amp;quot;A&amp;quot; for end of line and into insert mode&lt;br /&gt;
* &amp;quot;x&amp;quot; delete current character, &amp;quot;xp&amp;quot; switch positions of current and next character&lt;br /&gt;
* &amp;quot;yyp&amp;quot; copy current line and paste it underneath&lt;br /&gt;
* &amp;quot;dd&amp;quot; delete line, &amp;quot;2d&amp;quot; delete this and following two lines. &amp;quot;dgg&amp;quot; delete to start, &amp;quot;dG&amp;quot; delete to end&lt;br /&gt;
* &amp;quot;dw&amp;quot; delete current word&lt;br /&gt;
* Command: Activated by &amp;quot;:&amp;quot;, sub-box at the bottom open, rich command language&lt;br /&gt;
* Visual: Activated by &amp;quot;v&amp;quot; or &amp;quot;V&amp;quot; (visual block), sub-box at the bottom open, rich command language&lt;br /&gt;
&lt;br /&gt;
== Advanced but really useful commands ==&lt;br /&gt;
&lt;br /&gt;
* &amp;quot;:colorscheme desert&amp;quot; chang to the desert colour scheme, &amp;quot;morning&amp;quot; &amp;quot;delek&amp;quot; many others&lt;br /&gt;
* &amp;lt;code&amp;gt;:%s/\(sn\)oo\(ze\)/\1ee\2/gc&amp;lt;/code&amp;gt; change all instance of snooze to sneeze&lt;br /&gt;
* &amp;lt;code&amp;gt;:%s/snooze/sneeze/gc&amp;lt;/code&amp;gt; also works&lt;br /&gt;
* &amp;lt;code&amp;gt;:g/sneeze/d delete all lines without sneeze&amp;amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;:v/sneeze/d delete all lines with sneeze&amp;amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;quot;:42y[RET]p&amp;quot; paste line 42&lt;br /&gt;
* &amp;quot;d214G&amp;quot; delete to line 214&lt;br /&gt;
* &amp;quot;y214G&amp;quot; delete to line 214&lt;br /&gt;
&lt;br /&gt;
== Exercises ==&lt;br /&gt;
* Use vim to open multiseqs_1.blastx&lt;br /&gt;
 vim multiseqs_1.blastx&lt;br /&gt;
* Type &amp;lt;code&amp;gt;:set list&amp;lt;/code&amp;gt;, what extra are you seeing?&lt;br /&gt;
* Type &amp;lt;code&amp;gt;:set nu&amp;lt;/code&amp;gt; what extra are you seeing?&lt;br /&gt;
* Create a file-listing by:&lt;br /&gt;
 ls * &amp;gt; my.list&lt;br /&gt;
* use &amp;lt;code&amp;gt;v/multiple/d&amp;lt;/code&amp;gt; to delete verything that doesn&amp;#039;t say &amp;quot;multiple&amp;quot;&lt;/div&gt;</summary>
		<author><name>Rf</name></author>	</entry>

	</feed>