# HG changeset patch # User Anton Shestakov <engored@ya.ru> # Date 1428157550 -28800 # Node ID 8ead884b7f330c452d86941e049f2a1d905083e1 # Parent 738beeb055bc2e37cb4a18cd1bc18ad9e138a4ec rst: commas for clarity when explanation has more than one meaning diff -r 738beeb055bc -r 8ead884b7f33 python.rst --- a/python.rst Mon Sep 15 23:53:49 2014 +0900 +++ b/python.rst Sat Apr 04 22:25:50 2015 +0800 @@ -11,16 +11,16 @@ ``o`` signed octal value -``x`` ``X`` +``x``, ``X`` signed hexadecimal *lowercase*, *uppercase* -``e`` ``E`` +``e``, ``E`` floating point exponential format *lowercase*, *uppercase* ``f`` ``F`` floating point decimal format -``g`` ``G`` +``g``, ``G`` floating point format, decimal or *lowercase*, *uppercase* exponential ``c`` diff -r 738beeb055bc -r 8ead884b7f33 vim.rst --- a/vim.rst Mon Sep 15 23:53:49 2014 +0900 +++ b/vim.rst Sat Apr 04 22:25:50 2015 +0800 @@ -5,20 +5,20 @@ Moving ------ -`{` `}` +`{`, `}` beginning of *previous*, *next* paragraph -`(` `)` +`(`, `)` beginning of *previous*, *next* sentence -`0` `gm` +`0`, `gm` *beginning*, *middle* of line -`^` `$` +`^`, `$` *first*, *last* character of line -`ngg` `nG` `:n` - line n, default the *first*, *last* +`ngg`, `nG`, `:n` + line n, default the *first*, *last*, *exact* `n%` percentage n of the file @@ -29,7 +29,7 @@ `%` match of next brace, bracket, comment, #define -`nH` `nL` +`nH`, `nL` line n from *start*, *bottom* of window `M` @@ -39,16 +39,16 @@ Editing ------- -`i` `a` +`i`, `a` insert *before*, *after* cursor -`I` `A` +`I`, `A` insert at *beginning*, *end* of line `gI` insert text in first column -`o` `O` +`o`, `O` open a new line *below*, *above* the current line `cc` `S` @@ -57,7 +57,7 @@ `C` change to the end of line -`gum` `gUm` +`gum`, `gUm` *lowercase*, *uppercase* text of movement m @@ -67,7 +67,7 @@ `yy` `Y` yank current line into register -`p` `P` +`p`, `P` put register *after*, *before* cursor position `]p` `[p` @@ -80,10 +80,10 @@ Insert Mode ----------- -`^X^E` `^X^Y` +`^X^E`, `^X^Y` scroll one line *up*, *down* -`^N` `^P` +`^N`, `^P` complete text *before*, *after* cursor `^X^F` @@ -95,7 +95,7 @@ `^X^P` extend completion -`^D` `^T` +`^D`, `^T` shift *left*, *right* one shift width @@ -118,10 +118,10 @@ `^Wo` `:on` make current window one on screen -`^Wj` `^Wk` +`^Wj`, `^Wk` move to window *below*, *above* -`^Ww` `^W^W` +`^Ww`, `^W^W` move to window *below*, *above* (wrap) `^Wc` `:close` @@ -131,10 +131,10 @@ Ex Commands ----------- -`:wn` `:wN` +`:wn`, `:wN` write file and edit *next*, *previous* one -`:n` `:N` +`:n`, `:N` edit *next*, *previous* file in list `:r f` @@ -153,7 +153,7 @@ `:make` start make, read errors and jump to first -`:cn` `:cp` +`:cn`, `:cp` display the *next*, *previous* error `:cl` `:cf` @@ -188,13 +188,13 @@ `zd` `zE` delete fold at cursor, all in window -`zo` `zc` `zO` `zC` +`zo`, `zc`, `zO`, `zC` *open*, *close* one fold; *recursively* -`[z` `]z` +`[z`, `]z` move to *start*, *end* of current open fold -`zj` `zk` +`zj`, `zk` move *down*, *up* to *start*, *end* of next fold @@ -204,7 +204,7 @@ `mc` mark current position with mark c ∈[a..Z] -`\`c` `\`C` +`\`c`, `\`C` go to mark c in *current*, C in *any* file `\`0..9` @@ -216,7 +216,7 @@ `\`"` go to last edit -`\`[` `\`]` +`\`[`, `\`]` go to *start*, *end* of previously operated text `:marks` @@ -225,7 +225,7 @@ `:jumps` print the jump list -`n^O` `n^I` +`n^O`, `n^I` go to nth *older*, *newer* position in jump list