From ef84f917af9caae66a41c3603e93c6d2beb5f9cd Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Wed, 3 Dec 2014 00:19:14 -0500 Subject: [PATCH] Align tables in documentation --- DOCUMENTATION.md | 200 +++++++++++++++++++++++------------------------ 1 file changed, 100 insertions(+), 100 deletions(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 8253d43ad..b79211e05 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -629,13 +629,13 @@ Some UI indicators can be toggled on and off (toggles start with `t`): Key Binding | Description ----------------------|------------------------------------------------------------ -SPC t 8 | display a mark on the 80th column -SPC t F | toggle frame fullscreen -SPC t f | toggle display of the fringe -SPC t l | toggle truncate lines -SPC t L | toggle visual lines -SPC t M | toggle frame maximize -SPC t n | show the absolute line numbers +SPC t 8 | display a mark on the 80th column +SPC t F | toggle frame fullscreen +SPC t f | toggle display of the fringe +SPC t l | toggle truncate lines +SPC t L | toggle visual lines +SPC t M | toggle frame maximize +SPC t n | show the absolute line numbers ## Mode-line @@ -663,9 +663,9 @@ Some elements can be dynamically toggled: Key Binding | Description -----------------------|------------------------------------------------------------ -SPC t m m | toggle the minor mode lighters -SPC t m b | toggle the battery status -SPC t m f | toggle the flycheck info +SPC t m m | toggle the minor mode lighters +SPC t m b | toggle the battery status +SPC t m f | toggle the flycheck info ### Flycheck integration @@ -836,9 +836,9 @@ Key Binding | Description `l` | move cursor right `H` | move quickly up (10 lines at a time) `L` | move quickly down (10 lines at a time) -SPC j h | go to the beginning of line (and set a mark at the previous location in the line) -SPC j l | go to the end of line (and set a mark at the previous location in the line) -SPC z z | lock the cursor at the center of the screen +SPC j h | go to the beginning of line (and set a mark at the previous location in the line) +SPC j l | go to the end of line (and set a mark at the previous location in the line) +SPC z z | lock the cursor at the center of the screen #### Smooth scrolling @@ -868,9 +868,9 @@ in a buffer containing some text: d l -Key Binding | Description ------------------------|------------------------------------------------------------------ -SPC SPC | initiate ace jump word mode +Key Binding | Description +---------------------|------------------------------------------------------------------ +SPC SPC | initiate ace jump word mode SPC l | initiate ace jump line mode SPC ` | go back to the previous location (before the jump) @@ -937,32 +937,32 @@ Buffer manipulation commands (start with `b`): Key Binding | Description -----------------------|---------------------------------------------------------------- -SPC b d | delete the current buffer **and** file (ask for confirmation) -SPC b e | erase the content of the buffer (ask for confirmation) -SPC b k | kill the current buffer -SPC b K | kill all buffers except the current one -SPC b C-K | kill all buffers matching the regexp -SPC b m h | move a buffer to the left -SPC b m j | move a buffer to the bottom -SPC b m k | move a buffer to the top -SPC b m l | move a buffer to the right -SPC b n | switch to next buffer -SPC b p | switch to previous buffer -SPC b r | rename the current buffer -SPC b R | revert the current buffer (reload from disk) -SPC b s | switch to a buffer using `helm` -SPC b w | toggle read-only (writable state) +SPC b d | delete the current buffer **and** file (ask for confirmation) +SPC b e | erase the content of the buffer (ask for confirmation) +SPC b k | kill the current buffer +SPC b K | kill all buffers except the current one +SPC b C-K | kill all buffers matching the regexp +SPC b m h | move a buffer to the left +SPC b m j | move a buffer to the bottom +SPC b m k | move a buffer to the top +SPC b m l | move a buffer to the right +SPC b n | switch to next buffer +SPC b p | switch to previous buffer +SPC b r | rename the current buffer +SPC b R | revert the current buffer (reload from disk) +SPC b s | switch to a buffer using `helm` +SPC b w | toggle read-only (writable state) Files manipulation commands (start with `f`): Key Binding | Description -----------------------|---------------------------------------------------------------- -SPC f f | open a file using `ido` -SPC f i | open your `init.el` file -SPC f s | save a file -SPC f S | save all files -SPC f t | toggle file tree side bar using [NeoTree][neotree] -SPC f y | show current file absolute path in the minibuffer +SPC f f | open a file using `ido` +SPC f i | open your `init.el` file +SPC f s | save a file +SPC f S | save all files +SPC f t | toggle file tree side bar using [NeoTree][neotree] +SPC f y | show current file absolute path in the minibuffer ### Ido @@ -1167,9 +1167,9 @@ the modifications to the buffer. Key Binding | Description -----------------------|---------------------------------------------------------------- -SPC s s | execute `helm-swoop` -SPC s S | execute `helm-multi-swoop` -SPC s C-s | execute `helm-multi-swoop-all` +SPC s s | execute `helm-swoop` +SPC s S | execute `helm-multi-swoop` +SPC s C-s | execute `helm-multi-swoop-all` ## Editing @@ -1179,19 +1179,19 @@ Text related commands (start with `x`): Key Binding | Description -----------------------|------------------------------------------------------------ -SPC x u | set the selected text to lower case -SPC x U | set the selected text to upper case -SPC x d w | delete trailing whitespaces -SPC x g l | set languages used by translate commands -SPC x g t | translate current word using Google Translate -SPC x g T | reverse source and target languages -SPC x m j | move down a line of text -SPC x m k | move up a line of text -SPC x t c | swap (transpose) the current character with the previous one -SPC x t w | swap (transpose) the current word with the previous one -SPC x t l | swap (transpose) the current line with the previous one -SPC x w c | count the number of words in the selection region -SPC x w C | count the number of occurrences per word in the select region +SPC x u | set the selected text to lower case +SPC x U | set the selected text to upper case +SPC x d w | delete trailing whitespaces +SPC x g l | set languages used by translate commands +SPC x g t | translate current word using Google Translate +SPC x g T | reverse source and target languages +SPC x m j | move down a line of text +SPC x m k | move up a line of text +SPC x t c | swap (transpose) the current character with the previous one +SPC x t w | swap (transpose) the current word with the previous one +SPC x t l | swap (transpose) the current line with the previous one +SPC x w c | count the number of words in the selection region +SPC x w C | count the number of occurrences per word in the select region ### Change font size @@ -1199,9 +1199,9 @@ The font size of the current buffer can be adjusted with the commands: Key Binding | Description ---------------------|------------------------------------------------------------ -SPC x + | scale up the font and initiate the font scaling micro-state -SPC x - | scale down the font and initiate the font scaling micro-state -SPC x = | reset the font size (no scaling) and initiate the font scaling micro-state +SPC x + | scale up the font and initiate the font scaling micro-state +SPC x - | scale down the font and initiate the font scaling micro-state +SPC x = | reset the font size (no scaling) and initiate the font scaling micro-state + | increase the font size - | decrease the font size = | reset the font size @@ -1213,8 +1213,8 @@ Any other key | leave the font scaling micro-state Key Binding | Description -----------------------|------------------------------------------------------------ -SPC n + | increase the number under point by one and initiate micro-state -SPC n - | decrease the number under point by one and initiate micro-state +SPC n + | increase the number under point by one and initiate micro-state +SPC n - | decrease the number under point by one and initiate micro-state In micro-state: @@ -1233,9 +1233,9 @@ Spell checking commands start with `S`: Key Binding | Description ---------------------|------------------------------------------------------------ -SPC S c | list of corrections in a `helm` buffer -SPC S d | change dictionary language -SPC S n | go to the next spell check error +SPC S c | list of corrections in a `helm` buffer +SPC S d | change dictionary language +SPC S n | go to the next spell check error ### Region selection @@ -1245,7 +1245,7 @@ Vi `Visual` modes are all supported by `evil`, `Spacemacs` adds another Key Binding | Description -------------------|---------------------------------------------------------------- -SPC v | initiate expand-region mode then... +SPC v | initiate expand-region mode then... v | expand the region by one semantic unit V | contract the region by one semantic unit r | reset the region to initial selection @@ -1258,10 +1258,10 @@ The displayed text of a buffer can be narrowed with the commands Key Binding | Description -----------------------|---------------------------------------------------------------- -SPC n f | narrow the buffer to the current function -SPC n p | narrow the buffer to the visible page -SPC n r | narrow the buffer to the selected text -SPC n w | widen, i.e show the whole buffer again +SPC n f | narrow the buffer to the current function +SPC n p | narrow the buffer to the visible page +SPC n r | narrow the buffer to the selected text +SPC n w | widen, i.e show the whole buffer again ### Line formatting @@ -1274,10 +1274,10 @@ Line formatting commands start with `j`: Key Binding | Description ---------------------------|------------------------------------------------------------ J | join the current line with the next line -SPC j j | same as SPC j k but will split the current line at point -SPC J | split a quoted string or s-expression in place -SPC j J | split a quoted string or s-expression and auto-indent -SPC j k | go to next line and indent it using auto-indent rules +SPC j j | same as SPC j k but will split the current line at point +SPC J | split a quoted string or s-expression in place +SPC j J | split a quoted string or s-expression and auto-indent +SPC j k | go to next line and indent it using auto-indent rules Used together these key bindings are very powerful to quickly reformat the code. @@ -1299,13 +1299,13 @@ Comments are handled by [evil-nerd-commenter][], it's bound to the following key Key Binding | Description ---------------------|------------------------------------------------------------ -SPC ; | comment operator -SPC c i | comment invert -SPC c l | comment lines -SPC c p | comment paragraphs -SPC c r | comment region -SPC c t | comment to line -SPC c y | comment and yank +SPC ; | comment operator +SPC c i | comment invert +SPC c l | comment lines +SPC c p | comment paragraphs +SPC c r | comment region +SPC c t | comment to line +SPC c y | comment and yank **Tips:** To comment efficiently a block of line use the combo: @@ -1467,12 +1467,12 @@ Git commands (start with `g`): Key Binding | Description ---------------------------|------------------------------------------------------------ -SPC g c c | highlight regions by age of commits -SPC g c C | clear highlights -SPC g c t | highlight regions by last updated time -SPC g s | open a `magit` status window -SPC g m | display the last commit message of the current line -SPC g t | launch the git time machine +SPC g c c | highlight regions by age of commits +SPC g c C | clear highlights +SPC g c t | highlight regions by last updated time +SPC g s | open a `magit` status window +SPC g m | display the last commit message of the current line +SPC g t | launch the git time machine - Highlight by age of commit or last update time is provided by [smeargle][smeargle]. @@ -1575,10 +1575,10 @@ Access commands to the various registers start with `r`: Key Binding | Description ---------------------|------------------------------------------------------------ -SPC r e | show evil yank and named registers -SPC r m | show marks register -SPC r r | show helm register -SPC r y | show kill ring +SPC r e | show evil yank and named registers +SPC r m | show marks register +SPC r r | show helm register +SPC r y | show kill ring ## Errors handling @@ -1589,10 +1589,10 @@ Errors management commands (star with `f` for `flycheck`): Key Binding | Description ---------------------|------------------------------------------------------------ -SPC f c | clear all errors -SPC f l | display the `flycheck` list of errors/warnings -SPC f n | go to the next `flycheck` error -SPC f p | go to the previous flycheck error +SPC f c | clear all errors +SPC f l | display the `flycheck` list of errors/warnings +SPC f n | go to the next `flycheck` error +SPC f p | go to the previous flycheck error Custom fringe bitmaps: @@ -1644,10 +1644,10 @@ Key Binding | Description ### Ledger - Key Binding | Description -------------------|------------------------------------------------------------ -SPC m a | add a transaction -SPC m d | delete current transaction + Key Binding | Description +-------------------|------------------------------------------------------------ +SPC m a | add a transaction +SPC m d | delete current transaction ### Org @@ -1655,11 +1655,11 @@ In `org`, [evil-org-mode][] is activated. Key Binding | Description ----------------------|------------------------------------------------------------ -SPC m a | org-agenda -SPC m A | org-archive-subtree -SPC m C | evil-org-recompute-clocks -SPC m t | org-show-todo-tree -SPC m l | evil-org-open-links +SPC m a | org-agenda +SPC m A | org-archive-subtree +SPC m C | evil-org-recompute-clocks +SPC m t | org-show-todo-tree +SPC m l | evil-org-open-links gh | outline-up-heading gj | org-forward-heading-same-level gk | org-backward-heading-same-level