Add unicode to core spacemacs layer with SPC i u which stands for 'insert unicode' and document it
This commit is contained in:
parent
c6d033686e
commit
735384f970
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue