From 7af8847a631e3abc7fe9bf2d706ca4c549d61258 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 27 Feb 2015 20:29:14 -0500 Subject: Rework some file-map bindings --- lisp/init-files.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lisp/init-files.el') diff --git a/lisp/init-files.el b/lisp/init-files.el index 64d30f9..33e391d 100644 --- a/lisp/init-files.el +++ b/lisp/init-files.el @@ -49,8 +49,6 @@ Use the current file name as initial input of prompt." init-file))) (write-file new-file t))) -(global-set-key (kbd "C-x C-r") 'km/rename-current-buffer-file) -(global-set-key (kbd "C-x F") 'km/find-file-as-root) (global-set-key (kbd "C-x C-w") 'km/write-file) (key-chord-define-global "jc" 'find-file) @@ -59,6 +57,10 @@ Use the current file name as initial input of prompt." (define-prefix-command 'km/file-map) (global-set-key (kbd "C-c f") 'km/file-map) + +(define-key km/file-map "R" 'km/find-file-as-root) +(define-key km/file-map "n" 'km/rename-current-buffer-file) +(define-key km/file-map "l" 'nlines-run-command) (define-key km/file-map "v" 'view-file) -- cgit v1.2.3