Add ‘insert-char-preview’
This package exposes a function ‘insert-char-preview’ that does the same thing as ‘insert-char’ except that it shows a preview of the character in the completion.
This commit is contained in:
parent
21bd7564f5
commit
869c3073b3
1 changed files with 3 additions and 2 deletions
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2021.0227.150537
|
;; Version: 2021.0227.153915
|
||||||
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key)
|
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
;; it under the terms of the GNU General Public License as published by
|
;; it under the terms of the GNU General Public License as published by
|
||||||
|
@ -166,6 +166,7 @@ _s_: String list"
|
||||||
(global-set-key (kbd "C-x C-b") 'ibuffer-jump)
|
(global-set-key (kbd "C-x C-b") 'ibuffer-jump)
|
||||||
(global-set-key (kbd "C-x M-f") 'ffap)
|
(global-set-key (kbd "C-x M-f") 'ffap)
|
||||||
(global-set-key (kbd "M-+") 'mc/mark-next-like-this)
|
(global-set-key (kbd "M-+") 'mc/mark-next-like-this)
|
||||||
|
(global-set-key [remap insert-char] 'insert-char-preview)
|
||||||
(global-set-key [remap move-beginning-of-line] #'oni-core-move-beginning-of-dwim)
|
(global-set-key [remap move-beginning-of-line] #'oni-core-move-beginning-of-dwim)
|
||||||
(global-set-key [remap move-end-of-line] #'oni-core-move-end-of-dwim)
|
(global-set-key [remap move-end-of-line] #'oni-core-move-end-of-dwim)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue