From c77d826079ee12936034f50264e4b30c337afc66 Mon Sep 17 00:00:00 2001 From: d12frosted Date: Wed, 26 Jul 2017 13:36:02 +0300 Subject: [PATCH] sort transpose functions and update documentation --- doc/DOCUMENTATION.org | 4 +++- layers/+distributions/spacemacs-base/keybindings.el | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/DOCUMENTATION.org b/doc/DOCUMENTATION.org index fe133c798..6c7b84709 100644 --- a/doc/DOCUMENTATION.org +++ b/doc/DOCUMENTATION.org @@ -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 | diff --git a/layers/+distributions/spacemacs-base/keybindings.el b/layers/+distributions/spacemacs-base/keybindings.el index a93c826ca..c51b77cc2 100644 --- a/layers/+distributions/spacemacs-base/keybindings.el +++ b/layers/+distributions/spacemacs-base/keybindings.el @@ -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