all repos — nixfiles @ 8da26ca226d9d1607d3479cbcf084589efd0e92c

System and user configuration, managed by nix and home-manager

Emacs: add more tabnine bindings
Alan Pearce alan@alanpearce.eu
Sun, 17 Sep 2023 18:55:48 +0200
commit

8da26ca226d9d1607d3479cbcf084589efd0e92c

parent

150411927c8e490303a6415e6d82086defaf48cc

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -561,6 +561,8 @@ (define-key tabnine-completion-map (kbd "<tab>") #'tabnine-accept-completion) 
             (define-key tabnine-completion-map (kbd "M-f") #'tabnine-accept-completion-by-word)
             (define-key tabnine-completion-map (kbd "M-<return>") #'tabnine-accept-completion-by-line)
+            (define-key tabnine-completion-map (kbd "C-e") #'tabnine-accept-completion-by-line)
+            (define-key tabnine-completion-map (kbd "<right>") #'tabnine-accept-completion-by-line)
 
             (define-key tabnine-completion-map (kbd "C-g") #'tabnine-clear-overlay)
             (define-key tabnine-completion-map (kbd "M-[") #'tabnine-next-completion)