diff --git a/doc/DOCUMENTATION.org b/doc/DOCUMENTATION.org index 349f3e243..c1ad19750 100644 --- a/doc/DOCUMENTATION.org +++ b/doc/DOCUMENTATION.org @@ -123,6 +123,7 @@ - [[#paste-micro-state][Paste Micro-state]] - [[#auto-indent-pasted-text][Auto-indent pasted text]] - [[#text-manipulation-commands][Text manipulation commands]] + - [[#searching-and-inserting-unicode-characters][Searching and inserting unicode characters]] - [[#smartparens-strict-mode][Smartparens Strict mode]] - [[#zooming][Zooming]] - [[#text][Text]] @@ -1867,6 +1868,12 @@ Text related commands (start with ~x~): | ~SPC x w C~ | count the number of occurrences per word in the select region | | ~SPC x w d~ | show dictionary entry of word from wordnik.com | +*** Searching and inserting unicode characters + You can very easily search for and insert unicode characters into the current buffer. + | Key Binding | Description | + |-------------+------------------------------------------------------------------------------------------| + | ~SPC i u~ | Search for unicode characters using [[https://github.com/shosti/helm-unicode][helm-unicode]] and insert them into the active buffer. | + *** Smartparens Strict mode [[https://github.com/Fuco1/smartparens][Smartparens]] comes with a strict mode which prevents deletion of parenthesis if the result is unbalanced. diff --git a/spacemacs/packages.el b/spacemacs/packages.el index 08edabb2e..c6f56a898 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -68,6 +68,7 @@ helm-projectile helm-swoop helm-themes + helm-unicode highlight-indentation highlight-numbers highlight-parentheses @@ -2084,6 +2085,12 @@ Search for a search tool in the order provided by `dotspacemacs-search-tools'." (evil-leader/set-key "Th" 'helm-themes))) +(defun spacemacs/init-helm-unicode () + (use-package helm-unicode + :defer t + :init + (evil-leader/set-key "iu" 'helm-unicode))) + (defun spacemacs/init-highlight-indentation () (use-package highlight-indentation :defer t