summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-09-17 18:55:48 +0200
committerAlan Pearce2023-09-17 18:55:48 +0200
commit8da26ca226d9d1607d3479cbcf084589efd0e92c (patch)
tree98bf99f4b87c93d795d6cfc17b6f6e4227cbf5f6 /user
parent150411927c8e490303a6415e6d82086defaf48cc (diff)
downloadnixfiles-8da26ca226d9d1607d3479cbcf084589efd0e92c.tar.lz
nixfiles-8da26ca226d9d1607d3479cbcf084589efd0e92c.tar.zst
nixfiles-8da26ca226d9d1607d3479cbcf084589efd0e92c.zip
Emacs: add more tabnine bindings
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 279fd4b0..8f18afd4 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -561,6 +561,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
 
             (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)