From 24f355ee04994c12c6bee2b276aab8c1ff4c0748 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 5 Jan 2009 19:13:46 +0000 Subject: [PATCH] host vim sheet page primarily at sheet.shiar.net/vim With the increasing number of other pages, sheet.shiar.nl makes more sense than the previous vi(m).shiar.net. The root still redirects to the vim page for now (until there's enough to offer to support a proper index). --- digraphs.plp | 2 +- digraphs.vim.plp | 2 +- index.plp | 268 +---------------------------------------------- unicode.plp | 2 +- vim.plp | 266 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 274 insertions(+), 266 deletions(-) create mode 100644 vim.plp diff --git a/digraphs.plp b/digraphs.plp index cec6406..be33d63 100644 --- a/digraphs.plp +++ b/digraphs.plp @@ -118,7 +118,7 @@ print "\n";

vi/vim cheat sheet

- -

normal mode (default)

- - - -
- -
-
-
-
info -
Info command: shows/does something without altering anything. -
motion -
Moves the cursor, or defines the range for an operator (<:= $sign{motion} :>). -
positioning -
Other movement (jumps, window (re)positioning). -
command -
Direct action command. -
ins mode -
Enters Insert or Replace mode. -
mode -
Enters a different mode. -
vis mode -
Enters Visual or Select mode. -
key cmd -
Additional key commands (click for overview). -
-
- -
-
-
key<:= $sign{arg} :> -
Commands with a dot need a char argument afterwards. -
key<:= $sign{motion} :> -
Requires a motion afterwards, operates between cursor and destination. -
vim -
Not in original Vi (assessment incomplete). -
vim7 -
New in vim version 7.x. -
- -
    -
  • keyboard map is - <:= $get{map} ? 'set to ' : '' :><:= $map :> -
  • ascii mode is - <:= exists $get{ascii} && 'forced ' :><:= - $ascii ? 'on' : 'off' :> -
  • keys are - <:= $showkeys ? 'always shown' : 'hidden if unassigned' :><:= - !exists $get{keys} && ' by default' :> -
  • default style is - <:= defined $get{style} && 'set to ' :><:= $style :> -
-
-
- -
- +

Mainly just the Vim sheet so far...

+ diff --git a/unicode.plp b/unicode.plp index da5b6e8..fc9461e 100644 --- a/unicode.plp +++ b/unicode.plp @@ -280,7 +280,7 @@ print_glyph_tables(

vi/vim cheat sheet

+ +

normal mode (default)

+ + + +
+ +
+
+
+
info +
Info command: shows/does something without altering anything. +
motion +
Moves the cursor, or defines the range for an operator (<:= $sign{motion} :>). +
positioning +
Other movement (jumps, window (re)positioning). +
command +
Direct action command. +
ins mode +
Enters Insert or Replace mode. +
mode +
Enters a different mode. +
vis mode +
Enters Visual or Select mode. +
key cmd +
Additional key commands (click for overview). +
+
+ +
+
+
key<:= $sign{arg} :> +
Commands with a dot need a char argument afterwards. +
key<:= $sign{motion} :> +
Requires a motion afterwards, operates between cursor and destination. +
vim +
Not in original Vi (assessment incomplete). +
vim7 +
New in vim version 7.x. +
+ +
    +
  • keyboard map is + <:= $get{map} ? 'set to ' : '' :><:= $map :> +
  • ascii mode is + <:= exists $get{ascii} && 'forced ' :><:= + $ascii ? 'on' : 'off' :> +
  • keys are + <:= $showkeys ? 'always shown' : 'hidden if unassigned' :><:= + !exists $get{keys} && ' by default' :> +
  • default style is + <:= defined $get{style} && 'set to ' :><:= $style :> +
+
+
+ +
+ + -- 2.30.0