From b8e1bab1f11825b6b9471bf3e08b343e6edb241a Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 13 May 2014 01:30:56 -0400 Subject: [PATCH] Layout presentation with slide rough draft --- index.html | 241 +++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 206 insertions(+), 35 deletions(-) diff --git a/index.html b/index.html index 45187db..a3060fc 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,11 @@ Intro to Vim +
@@ -14,43 +19,210 @@

Intro to Vim

+ +
+

Why I use Vim

+
    +
  • Desired a more seamless environment
  • +
  • Might as well be Vim +
      +
    • "nerd cred"
    • +
    • server administration
    • +
    • options: terminal or gui
    • +
    • RSI prevention
    • +
    +
  • +
  • BUT...It might not be for you
  • +
+ + +
+

Everyone's first Vim session

+
+ ^C^C^X^X^X^XquitqQ!qdammit[esc]qwerty + uiopasdfghjkl;:xwhat +
+ Bash.org +
+ +
+

But how can we avoid this

+ +
+ +
+

You will probably still struggle

+
    +
  • Copy and paste
  • +
  • Not using the mouse
  • +
  • Getting to the end of the line
  • +
+
+ + +
+

Vim is a modal editor

+

WORK IN PROGRESS

+
+ + +
+

You can move around

+
    +
  • The bare minimum +
      +
    • h, j, k, l
    • +
    +
  • +
  • Do not use the arrow keys
  • +
  • get around the screen faster +
      +
    • H, M, L, gg, G, :50
    • +
    +
  • +
+
+ + +
+

And do things

+
    +
  • i - insert
  • +
  • d - delete
  • +
  • y - yank, p - paste +
      +
    • Copy and paste - sort of
    • +
    +
  • +
  • c - change +
      +
    • like selecting text and typing over it
    • +
    +
  • +
+
+ + +
+

On objects

+
    +
  • obvious +
      +
    • w - word, line
    • +
    +
  • +
  • logical +
      +
    • p - paragraph, s - sentence
    • +
    +
  • +
  • useful +
      +
    • blocks of all sorts (t - html, various symbols)
    • +
    +
  • +
+
+ + +
+

That can be modified

+
    +
  • i - inside
  • +
  • a - around
  • +
  • t - (un)till
  • +
  • f - find
  • +
+
+ + +
+

And finally combined into a language

+
    +
  • Basic things +
      +
    • 3j - down three lines
    • +
    • d3j - delete the next three liens
    • +
    • d3k - delete hte previous three lines
    • +
    +
  • +
  • And more advanced ones +
      +
    • c$ - change until the end of the line
    • +
    • das - delete around sentence
    • +
    • ci" - change inside quotes
    • +
    • dit - delete inside html blocks (test) +
    +
  • +
+
+ + +
+

Example stuff TBD

+
    +
  • sample github repo (basic config)
  • +
  • have clone; launch with -u
  • +
  • show some editing? (find video of someone much better
  • +
+
-

Resources

Other Talks

-

-

-

-

Repository

-

-

-

+ +
+ + +
+

Other

+
@@ -59,8 +231,7 @@ Reveal.initialize({ controls: false, progress: true, - history: true, - transition: 'linear' + history: true });