diff --git a/TODO.org b/TODO.org index 1059708..f3e18ab 100644 --- a/TODO.org +++ b/TODO.org @@ -10,10 +10,7 @@ SPC p g to open projectile project straight to git https://karthinks.com/software/fifteen-ways-to-use-embark/ ** Snippets *** Insert Org source block -** Disable "Enter" in company-active-map - ** g u to go to references - * Kitty ** Fine tune theme for visiblity on mac/windows ** Nix-installed kitty on Linux diff --git a/doom/config.el b/doom/config.el index 09fb246..bdc85cc 100644 --- a/doom/config.el +++ b/doom/config.el @@ -113,20 +113,11 @@ (add-to-list 'auto-mode-alist '("\\.log\\.out\\'" . display-ansi-colors)) -;; Here are some additional functions/macros that could help you configure Doom: -;; -;; - `load!' for loading external *.el files relative to this one -;; - `use-package' for configuring packages -;; - `after!' for running code after a package has loaded -;; - `add-load-path!' for adding directories to the `load-path', relative to -;; this file. Emacs searches the `load-path' when you load packages with -;; `require' or `use-package'. -;; - `map!' for binding new keys -;; -;; To get information about any of these functions/macros, move the cursor over -;; the highlighted symbol at press 'K' (non-evil users must press 'C-c g k'). -;; This will open documentation for it, including demos of how they are used. -;; -;; You can also try 'gd' (or 'C-c g d') to jump to their definition and see how -;; they are implemented. +;; Disable smartparens' insistence on inserting extraneous colons in Python +(setq sp-python-insert-colon-in-function-definitions nil) +;; Disable "Enter" as a company-mode completion trigger and replace with C-SPC +(with-eval-after-load 'company + (define-key company-active-map (kbd "") nil) + (define-key company-active-map (kbd "RET") nil) + (define-key company-active-map (kbd "C-SPC") #'company-complete-selection))