Swap key-bindings in Dabbrev
This commit is contained in:
parent
028ceca3e2
commit
166d46c4cb
2 changed files with 24 additions and 16 deletions
|
@ -1662,6 +1662,10 @@ static, user-defined abbreviations ([[#h:fd84b79a-351e-40f0-b383-bf520d77834b][S
|
||||||
(use-package dabbrev
|
(use-package dabbrev
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:commands (dabbrev-expand dabbrev-completion)
|
:commands (dabbrev-expand dabbrev-completion)
|
||||||
|
:bind
|
||||||
|
;; Swap the default key-bindings
|
||||||
|
(("M-/" . dabbrev-completion)
|
||||||
|
("C-M-/" . dabbrev-expand))
|
||||||
:config
|
:config
|
||||||
;;;; `dabbrev' (dynamic word completion (dynamic abbreviations))
|
;;;; `dabbrev' (dynamic word completion (dynamic abbreviations))
|
||||||
(setq dabbrev-abbrev-char-regexp "\\sw\\|\\s_")
|
(setq dabbrev-abbrev-char-regexp "\\sw\\|\\s_")
|
||||||
|
|
|
@ -168,6 +168,10 @@
|
||||||
(use-package dabbrev
|
(use-package dabbrev
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:commands (dabbrev-expand dabbrev-completion)
|
:commands (dabbrev-expand dabbrev-completion)
|
||||||
|
:bind
|
||||||
|
;; Swap the default key-bindings
|
||||||
|
(("M-/" . dabbrev-completion)
|
||||||
|
("C-M-/" . dabbrev-expand))
|
||||||
:config
|
:config
|
||||||
;;;; `dabbrev' (dynamic word completion (dynamic abbreviations))
|
;;;; `dabbrev' (dynamic word completion (dynamic abbreviations))
|
||||||
(setq dabbrev-abbrev-char-regexp "\\sw\\|\\s_")
|
(setq dabbrev-abbrev-char-regexp "\\sw\\|\\s_")
|
||||||
|
|
Loading…
Reference in a new issue