Download:
child 10:8ead884b7f33
parent 8:9d27d58afcbb
9:738beeb055bc
Anton Shestakov <engored@ya.ru>, Mon, 15 Sep 2014 23:53:49 +0900
Minor edits and reordering.

2 файлов изменено, 87 вставок(+), 53 удалений(-) [+]
python.rst file | annotate | diff | comparison | revisions
vim.rst file | annotate | diff | comparison | revisions
--- a/python.rst Mon Sep 15 20:51:49 2014 +0900
+++ b/python.rst Mon Sep 15 23:53:49 2014 +0900
@@ -68,7 +68,7 @@
align to right (default for numbers)
``=``
- padding between sign and digits (``+000000120``, valid only for numbers)
+ padding between sign and digits (``+000120``, valid only for numbers)
``^``
align to center
@@ -114,8 +114,7 @@
name
``(?P=name)``
- matches whatever text was matched by the earlier named group named
- (backreference)
+ backreference: matches whatever text was matched by the earlier named group
``(?#...)``
the contents of the parentheses are simply ignored
--- a/vim.rst Mon Sep 15 20:51:49 2014 +0900
+++ b/vim.rst Mon Sep 15 23:53:49 2014 +0900
@@ -36,28 +36,6 @@
middle line of window
-Folding
--------
-
-`zfm`
- create fold of movement m
-
-`:rfo`
- create fold for range r
-
-`zd` `zE`
- delete fold at cursor, all in window
-
-`zo` `zc` `zO` `zC`
- *open*, *close* one fold; *recursively*
-
-`[z` `]z`
- move to *start*, *end* of current open fold
-
-`zj` `zk`
- move *down*, *up* to *start*, *end* of next fold
-
-
Editing
-------
@@ -99,24 +77,30 @@
like `p`, `P` leaving cursor after new text
-Column 2
-========
-
-
-Ex Commands
+Insert Mode
-----------
-`:wn` `:wN`
- write file and edit *next*, *previous* one
+`^X^E` `^X^Y`
+ scroll one line *up*, *down*
-`:n` `:N`
- edit *next*, *previous* file in list
+`^N` `^P`
+ complete text *before*, *after* cursor
+
+`^X^F`
+ complete filename
-`:r f`
- insert content of file f below cursor
+`^X^L`
+ complete line
+
+`^X^P`
+ extend completion
-`:r! c`
- insert output of command c below cursor
+`^D` `^T`
+ shift *left*, *right* one shift width
+
+
+Column 2
+========
Multiwindowing
@@ -144,6 +128,22 @@
close current window
+Ex Commands
+-----------
+
+`:wn` `:wN`
+ write file and edit *next*, *previous* one
+
+`:n` `:N`
+ edit *next*, *previous* file in list
+
+`:r f`
+ insert content of file f below cursor
+
+`:r! c`
+ insert output of command c below cursor
+
+
Misc
----
@@ -172,29 +172,64 @@
open file which filename is under cursor
-Insert Mode
------------
+Column 3
+========
+
-`^X^E` `^X^Y`
- scroll one line *up*, *down*
+Folding
+-------
-`^N` `^P`
- complete text *before*, *after* cursor
+`zfm`
+ create fold of movement m
-`^X^F`
- complete filename
+`:rfo`
+ create fold for range r
-`^X^L`
- complete line
+`zd` `zE`
+ delete fold at cursor, all in window
-`^X^P`
- extend completion
+`zo` `zc` `zO` `zC`
+ *open*, *close* one fold; *recursively*
-`^D` `^T`
- shift *left*, *right* one shift width
+`[z` `]z`
+ move to *start*, *end* of current open fold
+
+`zj` `zk`
+ move *down*, *up* to *start*, *end* of next fold
-Column 3
+Marks
+-----
+
+`mc`
+ mark current position with mark c ∈[a..Z]
+
+`\`c` `\`C`
+ go to mark c in *current*, C in *any* file
+
+`\`0..9`
+ go to last exit position
+
+`\`\``
+ go to position before jump
+
+`\`"`
+ go to last edit
+
+`\`[` `\`]`
+ go to *start*, *end* of previously operated text
+
+`:marks`
+ print the active marks list
+
+`:jumps`
+ print the jump list
+
+`n^O` `n^I`
+ go to nth *older*, *newer* position in jump list
+
+
+Column 4
========