diff options
author | Alan Pearce | 2013-09-15 17:19:19 +0100 |
---|---|---|
committer | Alan Pearce | 2013-09-15 17:19:19 +0100 |
commit | cd730eb37c5dba5897682b4d588ed428759bfe28 (patch) | |
tree | b5272d4723c54fcbc193e5294e07d7a4ccde330e /emacs | |
parent | e42f1774217ea88916344261c56b737ed2a1fade (diff) | |
parent | 270a82dbed30eb256736b11c0af54aa7d175f56a (diff) | |
download | dotfiles-cd730eb37c5dba5897682b4d588ed428759bfe28.tar.lz dotfiles-cd730eb37c5dba5897682b4d588ed428759bfe28.tar.zst dotfiles-cd730eb37c5dba5897682b4d588ed428759bfe28.zip |
Merge remote-tracking branch 'refs/remotes/origin/master'
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/emacs/init.el b/emacs/init.el index 337d663..c26f3e2 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -311,7 +311,8 @@ Values: `desktop', `server', `laptop'") :bind (("C-<tab>" . company-complete)) :init (progn (add-hook 'prog-mode-hook #'company-mode) - (setq company-idle-delay .3))) + (setq company-idle-delay .3 + company-begin-commands '(self-insert-command)))) ;;;; Dates & Times @@ -497,12 +498,12 @@ Values: `desktop', `server', `laptop'") (unbind-key "C-x C-c") (bind-key "C-c i" #'ucs-insert) +(bind-key "M-/" #'hippie-expand) (unbind-key "s-h") (unbind-key "s-n") (unbind-key "s-p") (unbind-key "s-w") -(unbind-key "s-m") (bind-key "s-x" (define-prefix-command 'super-x-map)) @@ -1139,20 +1140,6 @@ Works with: arglist-cont-nonempty, arglist-close." :ensure t :mode (("\\.j2\\'" . jinja2-mode))) -(use-package nxhtml-mode - :defer t - :if (eq env/system-type 'laptop) - :load-path "nxhtml" - :config (progn - (when (and (equal emacs-major-version 24) - (> emacs-minor-version 1)) - (setq mumamo-per-buffer-local-vars - (delq 'buffer-file-name mumamo-per-buffer-local-vars))) - (setq mumamo-chunk-coloring 4 - nxhtml-skip-welcome t - nxhtml-autoload-web nil) - (nxhtml-menu-mode -1))) - (use-package php-mode :mode ("\\.php\\'" . php-mode) :config (progn |