all repos — nixfiles @ 430c9b662fc8da9dda332f52243c5909fff7cc5d

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

Emacs: use C-x C-f to complete filenames in insert mode
Alan Pearce alan@alanpearce.eu
Wed, 15 Mar 2023 11:12:15 +0100
commit

430c9b662fc8da9dda332f52243c5909fff7cc5d

parent

6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28

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

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -566,7 +566,8 @@ "RET"               [return]))
   :general
   (:states 'insert
-           "TAB" #'company-indent-or-complete-common)
+           "TAB" #'company-indent-or-complete-common
+           "C-x C-f" #'company-files)
   (:keymaps 'company-active-map
             "TAB" #'company-complete-common-or-cycle
             "<tab>" #'company-complete-common-or-cycle