diff options
author | Matthew Kosarek <mattkae@protonmail.com> | 2022-10-13 08:48:33 -0400 |
---|---|---|
committer | Matthew Kosarek <mattkae@protonmail.com> | 2022-10-13 08:48:33 -0400 |
commit | 6cfff196388e98ae18590f19d68dddac473c31c1 (patch) | |
tree | a4fa1542f3e91ab584a94dca81c7da1e35ef3091 /lisp/general.el | |
parent | 9dac3758bf6602fab36bcf2c145725bfa6c40e14 (diff) |
better keybindings overall for renaming and file searching
Diffstat (limited to 'lisp/general.el')
-rw-r--r-- | lisp/general.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/general.el b/lisp/general.el index 1ee912c..5d992bf 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -53,11 +53,9 @@ ;; Ido mode text matching (require 'ivy) (ivy-mode 1) -(global-set-key (kbd "C-x C-f") 'counsel-find-file) ;; Tree (require 'neotree) -(global-set-key (kbd "C-;") 'neotree-toggle) (setq neo-smart-open t) ;;(setq projectile-switch-project-action 'neotree-projectile-action) (setq neo-theme (if (display-graphic-p) 'icons 'arrow)) @@ -97,6 +95,12 @@ (setq emojify-emoji-styles '(unicode)) (bind-key* (kbd "C-c e") #'emojify-insert-emoji)) ; override binding in any mode +;; Global key binds +(bind-key* (kbd "<f2>") #'eglot-rename) +(bind-key* (kbd "C-x C-f") 'counsel-find-file) +(bind-key* (kbd "C-;") 'neotree-toggle) +(bind-key* (kbd "M-F") 'projectile-grep) + ;; Company mode for code completion (use-package company :ensure t |