From 1c4a8b50177becd081d7e67bc6a9757e0b735e97 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 27 Feb 2022 10:44:49 +0800 Subject: Update file related keybind --- .emacs.d/lisp/init-evil.el | 2 -- .emacs.d/lisp/init-misc.el | 6 +++++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to '.emacs.d/lisp') diff --git a/.emacs.d/lisp/init-evil.el b/.emacs.d/lisp/init-evil.el index c0ceb48..5bdd621 100644 --- a/.emacs.d/lisp/init-evil.el +++ b/.emacs.d/lisp/init-evil.el @@ -11,8 +11,6 @@ :config (evil-set-leader 'normal ",") (evil-set-undo-system 'undo-tree) - (evil-define-key 'normal 'global - (kbd "fc") 'execute-extended-command) (evil-define-key 'insert 'global (kbd "C-【") 'evil-normal-state)) diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el index e2ed462..a8ac5a2 100644 --- a/.emacs.d/lisp/init-misc.el +++ b/.emacs.d/lisp/init-misc.el @@ -56,7 +56,11 @@ :init (evil-define-key 'normal ivy-mode-map (kbd "fb") 'ivy-switch-buffer - (kbd "fm") 'counsel-recentf) + (kbd "fm") 'counsel-recentf + (kbd "fc") 'counsel-M-x + (kbd "ff") 'counsel-find-file + (kbd "fl") 'swiper) + (global-set-key (kbd "C-c C-r") 'ivy-resume) :config (ivy-mode 1) (setq ivy-use-virtual-buffers t) -- cgit v1.2.3