Browse Source

Company Mode updates; MultiCursor updates

master
Levi Olson 5 years ago
parent
commit
554536cdf4
3 changed files with 8 additions and 7 deletions
  1. +4
    -3
      init.el
  2. BIN
      init.elc
  3. +4
    -4
      init.org

+ 4
- 3
init.el View File

@ -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-<backspace>")'delete-backward-to-boundary)
(global-set-key (kbd "C-S-<down>") '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-<up>") '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)

BIN
init.elc View File


+ 4
- 4
init.org View File

@ -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-<backspace>")'delete-backward-to-boundary)
(global-set-key (kbd "C-S-<down>") '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-<up>") '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)

Loading…
Cancel
Save