diff options
author | Alan Pearce | 2023-03-15 11:12:15 +0100 |
---|---|---|
committer | Alan Pearce | 2023-03-15 11:12:15 +0100 |
commit | 430c9b662fc8da9dda332f52243c5909fff7cc5d (patch) | |
tree | 2c4756eb07c8094ae4e0835f4efd1aff0f72f103 /user/emacs | |
parent | 6db9eaad8e78f882ae44a28edcc4d11d2ffd5e28 (diff) | |
download | nixfiles-430c9b662fc8da9dda332f52243c5909fff7cc5d.tar.lz nixfiles-430c9b662fc8da9dda332f52243c5909fff7cc5d.tar.zst nixfiles-430c9b662fc8da9dda332f52243c5909fff7cc5d.zip |
Emacs: use C-x C-f to complete filenames in insert mode
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index c7ac3c67..fc41c282 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -566,7 +566,8 @@ _p_rev _u_pper _=_: upper/lower _r_esolve [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 |