[Emacs] Disable electric operator mode by default

This commit is contained in:
Ivan Malison 2023-08-01 22:30:08 -06:00
parent d632ce7d88
commit 86b582b4f9

View File

@ -1828,9 +1828,10 @@ bind-key and global-set-key forms.
(define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map) (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map)
(projectile-global-mode) (projectile-global-mode)
(setq projectile-require-project-root nil) (setq projectile-require-project-root nil
(setq projectile-enable-caching nil) projectile-enable-caching nil
(setq projectile-git-submodule-command nil) projectile-git-submodule-command nil
project-vc-merge-submodules nil)
(diminish 'projectile-mode) (diminish 'projectile-mode)
(bind-key* "C-c p s" 'imalison:do-rg) (bind-key* "C-c p s" 'imalison:do-rg)
(bind-key* "C-c p f" 'imalison:projectile-find-file))) (bind-key* "C-c p f" 'imalison:projectile-find-file)))
@ -2203,9 +2204,7 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
** electric-operator-mode ** electric-operator-mode
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package electric-operator (use-package electric-operator
:commands electric-operator-mode :commands electric-operator-mode)
:init
(add-hook 'python-mode-hook #'electric-operator-mode))
#+END_SRC #+END_SRC
** string-inflection ** string-inflection
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp