commit: c02db6ca1e4ade962c3b8176e70475e77f939672
parent 927e3cf43f001c468d2d3184192ccc7d1224e6bb
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 31 Dec 2016 02:16:47 +0100
notes/editors: Create it with notes about vim
Diffstat:
1 file changed, 34 insertions(+), 0 deletions(-)
diff --git a/notes/editors.shtml b/notes/editors.shtml
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html>
+ <head>
+<!--#include file="/templates/head.shtml" -->
+ <title>vim — lanodan’s cyber-home</title>
+ </head>
+ <body>
+<!--#set var="feedUrl" value='http://gitlab.com/lanodan/blog/commits/master.atom?utf8=%E2%9C%93&search=notes%2F' --><!--#include file="/templates/en/nav.shtml" -->
+ <main>
+ Few notes for nice but not well-know usages of ed and ed-based editors
+ <h2>Vim</h2>
+<ul>
+<li>^a → iterate</li>
+<li>^x → de-iterate</li>
+<li>% → next (curly/square) bracket</li>
+<li>^ → start of the line</li>
+<li>$ → end of the line</li>
+<li>window-related<ul>
+ <li>^w = → tile window</li>
+ <li>^w j/k → previous/next</li>
+ <li>^w c → close window</li>
+ <li>^w f → edit cursor-selected file</li>
+</ul></li>
+<li>spelling (variables: spell & spellang)<ul>
+ <li>]s → next misspelled word</li>
+ <li>[s → previous misspelled word</li>
+ <li>z= → find suggestions</li>
+ <li>zg → add to wordlist</li>
+</ul></li>
+</ul>
+ </main>
+<!--#include file="/templates/en/footer.html" -->
+ </body>
+</html>