aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-02-27 10:44:49 +0800
committerGuangxiong Lin <[email protected]>2022-02-27 10:44:49 +0800
commit1c4a8b50177becd081d7e67bc6a9757e0b735e97 (patch)
tree8f251c8d0f59c47277d1b3b86e2f0247d3c64143
parent27970b6c19f1b35a270cc32606638b777ffee50c (diff)
downloaddotfiles-1c4a8b50177becd081d7e67bc6a9757e0b735e97.tar.gz
dotfiles-1c4a8b50177becd081d7e67bc6a9757e0b735e97.tar.bz2
dotfiles-1c4a8b50177becd081d7e67bc6a9757e0b735e97.zip
Update file related keybind
-rw-r--r--.emacs.d/lisp/init-evil.el2
-rw-r--r--.emacs.d/lisp/init-misc.el6
2 files changed, 5 insertions, 3 deletions
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 "<leader>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 "<leader>fb") 'ivy-switch-buffer
- (kbd "<leader>fm") 'counsel-recentf)
+ (kbd "<leader>fm") 'counsel-recentf
+ (kbd "<leader>fc") 'counsel-M-x
+ (kbd "<leader>ff") 'counsel-find-file
+ (kbd "<leader>fl") 'swiper)
+ (global-set-key (kbd "C-c C-r") 'ivy-resume)
:config
(ivy-mode 1)
(setq ivy-use-virtual-buffers t)