diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-09-01 23:24:44 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-09-01 23:24:44 +0100 |
commit | d76098587da0f7aba5e269cbc1aa13eb348e8fdf (patch) | |
tree | e86d41f9e7ce75e1e274275206e98d8ad5dce3c4 /Emacs/.config | |
parent | dccc15686703f438b22a2c0ef7355f394a6bac81 (diff) | |
download | dotfiles-d76098587da0f7aba5e269cbc1aa13eb348e8fdf.tar.gz dotfiles-d76098587da0f7aba5e269cbc1aa13eb348e8fdf.tar.bz2 dotfiles-d76098587da0f7aba5e269cbc1aa13eb348e8fdf.zip |
~:bind -> :general for bindings
Diffstat (limited to 'Emacs/.config')
-rw-r--r-- | Emacs/.config/emacs/config.org | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index be6dff9..a2dc036 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -640,15 +640,21 @@ freely. #+end_src ** Company Company is the auto complete system I use. I don't like having heavy -setups for company, as it only makes it worse to use. In this case, -just setup some evil binds for company +setups for company as it only makes it slower to use. In this case, +just setup some evil binds for company. #+begin_src emacs-lisp (use-package company - :hook (prog-mode-hook . company-mode) - :bind (("C-SPC" . company-complete) - :map company-active-map - ("M-j" . company-select-next) - ("M-k" . company-select-previous))) + :hook + (prog-mode-hook . company-mode) + (eshell-mode-hook . company-mode) + :general + (general-def + :states '(normal insert) + (kbd "C-SPC") #'company-complete) + (general-def + :states '(normal insert) + "M-j" #'company-select-next + "M-k" #'company-select-previous)) #+end_src ** Pretty symbols Prettify symbols mode allows for users to declare 'symbols' that |