diff --git a/init.el b/init.el index a1b01b2..195d04c 100644 --- a/init.el +++ b/init.el @@ -155,6 +155,9 @@ (require 'company) (add-hook 'after-init-hook 'global-company-mode) +(setq company-dabbrev-downcase nil) +(setq company-idle-delay 0.1) + (require 'diminish) (diminish 'auto-revert-mode) (eval-after-load "company" '(diminish 'company-mode)) @@ -274,7 +277,6 @@ (comint-send-string "*ansi-term*" "make\n"))) (set (make-local-variable 'company-backends) '(company-go)) (setq company-tooltip-limit 20 - company-idle-delay .3 company-echo-delay 0 company-begin-commands '(self-insert-command)) (gorepl-mode))) @@ -318,7 +320,6 @@ '(lambda () (set (make-local-variable 'company-backends) '(company-tide)) (setq company-tooltip-limit 20 - company-idle-delay .3 company-echo-delay 0 company-begin-commands '(self-insert-command) tide-format-options '(:insertSpaceAfterFunctionKeywordForAnonymousFunctions t :placeOpenBraceOnNewLineForFunctions nil)) @@ -572,7 +573,7 @@ (define-key global-map (kbd "C-")'delete-backward-to-boundary) (global-set-key (kbd "C-S-") 'mc/mark-next-like-this) -(global-set-key (kbd "C->") 'mc/mark-next-like-this) +(global-set-key (kbd "C->") 'mc/mark-next-like-this-symbol) (global-set-key (kbd "C-S-") 'mc/mark-previous-like-this) (global-set-key (kbd "C-<") 'mc/mark-previous-like-this) (global-set-key (kbd "C-c C->") 'mc/mark-all-like-this) diff --git a/init.elc b/init.elc index f62b8b1..0f317f0 100644 Binary files a/init.elc and b/init.elc differ diff --git a/init.org b/init.org index 6337fc3..b3d9447 100644 --- a/init.org +++ b/init.org @@ -40,7 +40,6 @@ #+END_SRC * Config - ** Packages #+BEGIN_SRC emacs-lisp :results silent (require 'package) @@ -198,6 +197,9 @@ #+BEGIN_SRC emacs-lisp :results silent (require 'company) (add-hook 'after-init-hook 'global-company-mode) + + (setq company-dabbrev-downcase nil) + (setq company-idle-delay 0.1) #+END_SRC *** Diminish @@ -342,7 +344,6 @@ (comint-send-string "*ansi-term*" "make\n"))) (set (make-local-variable 'company-backends) '(company-go)) (setq company-tooltip-limit 20 - company-idle-delay .3 company-echo-delay 0 company-begin-commands '(self-insert-command)) (gorepl-mode))) @@ -389,7 +390,6 @@ '(lambda () (set (make-local-variable 'company-backends) '(company-tide)) (setq company-tooltip-limit 20 - company-idle-delay .3 company-echo-delay 0 company-begin-commands '(self-insert-command) tide-format-options '(:insertSpaceAfterFunctionKeywordForAnonymousFunctions t :placeOpenBraceOnNewLineForFunctions nil)) @@ -654,7 +654,7 @@ (define-key global-map (kbd "C-")'delete-backward-to-boundary) (global-set-key (kbd "C-S-") 'mc/mark-next-like-this) - (global-set-key (kbd "C->") 'mc/mark-next-like-this) + (global-set-key (kbd "C->") 'mc/mark-next-like-this-symbol) (global-set-key (kbd "C-S-") 'mc/mark-previous-like-this) (global-set-key (kbd "C-<") 'mc/mark-previous-like-this) (global-set-key (kbd "C-c C->") 'mc/mark-all-like-this)