Add keybinding to align by percent
This commit is contained in:
parent
502a62a640
commit
857f6304c7
2 changed files with 2 additions and 0 deletions
|
@ -893,6 +893,7 @@ the right."
|
||||||
(spacemacs|create-align-repeat-x "colon" ":" nil t)
|
(spacemacs|create-align-repeat-x "colon" ":" nil t)
|
||||||
(spacemacs|create-align-repeat-x "equal" "=")
|
(spacemacs|create-align-repeat-x "equal" "=")
|
||||||
(spacemacs|create-align-repeat-x "math-oper" "[+\\-*/]")
|
(spacemacs|create-align-repeat-x "math-oper" "[+\\-*/]")
|
||||||
|
(spacemacs|create-align-repeat-x "percent" "%")
|
||||||
(spacemacs|create-align-repeat-x "ampersand" "&")
|
(spacemacs|create-align-repeat-x "ampersand" "&")
|
||||||
(spacemacs|create-align-repeat-x "bar" "|")
|
(spacemacs|create-align-repeat-x "bar" "|")
|
||||||
(spacemacs|create-align-repeat-x "left-paren" "(")
|
(spacemacs|create-align-repeat-x "left-paren" "(")
|
||||||
|
|
|
@ -447,6 +447,7 @@
|
||||||
(defalias 'count-region 'count-words-region)
|
(defalias 'count-region 'count-words-region)
|
||||||
|
|
||||||
(spacemacs/set-leader-keys
|
(spacemacs/set-leader-keys
|
||||||
|
"xa%" 'spacemacs/align-repeat-percent
|
||||||
"xa&" 'spacemacs/align-repeat-ampersand
|
"xa&" 'spacemacs/align-repeat-ampersand
|
||||||
"xa(" 'spacemacs/align-repeat-left-paren
|
"xa(" 'spacemacs/align-repeat-left-paren
|
||||||
"xa)" 'spacemacs/align-repeat-right-paren
|
"xa)" 'spacemacs/align-repeat-right-paren
|
||||||
|
|
Reference in a new issue