sort transpose functions and update documentation

This commit is contained in:
d12frosted 2017-07-26 13:36:02 +03:00
parent e2105b3f33
commit c77d826079
No known key found for this signature in database
GPG Key ID: 8F60E862D6F5CE8F
2 changed files with 5 additions and 3 deletions

View File

@ -2757,8 +2757,10 @@ Text related commands (start with ~x~):
| ~SPC x o~ | use avy to select a link in the frame and open it |
| ~SPC x O~ | use avy to select multiple links in the frame and open them |
| ~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 t p~ | swap (transpose) the current paragraph with the previous one |
| ~SPC x t s~ | swap (transpose) the current sentence with the previous one |
| ~SPC x t w~ | swap (transpose) the current word with the previous one |
| ~SPC x u~ | set the selected text to lower case |
| ~SPC x U~ | set the selected text to upper case |
| ~SPC x w c~ | count the number of occurrences per word in the select region |

View File

@ -467,9 +467,9 @@
"xlu" 'spacemacs/uniquify-lines
"xtc" 'transpose-chars
"xtl" 'transpose-lines
"xtw" 'transpose-words
"xts" 'transpose-sentences
"xtp" 'transpose-paragraphs
"xts" 'transpose-sentences
"xtw" 'transpose-words
"xU" 'upcase-region
"xu" 'downcase-region
"xwc" 'spacemacs/count-words-analysis