summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-09-15 17:19:19 +0100
committerAlan Pearce2013-09-15 17:19:19 +0100
commitcd730eb37c5dba5897682b4d588ed428759bfe28 (patch)
treeb5272d4723c54fcbc193e5294e07d7a4ccde330e
parente42f1774217ea88916344261c56b737ed2a1fade (diff)
parent270a82dbed30eb256736b11c0af54aa7d175f56a (diff)
downloaddotfiles-cd730eb37c5dba5897682b4d588ed428759bfe28.tar.lz
dotfiles-cd730eb37c5dba5897682b4d588ed428759bfe28.tar.zst
dotfiles-cd730eb37c5dba5897682b4d588ed428759bfe28.zip
Merge remote-tracking branch 'refs/remotes/origin/master'
-rw-r--r--emacs/init.el19
-rwxr-xr-xinstall5
2 files changed, 8 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
diff --git a/install b/install
index 40c134f..16d30c5 100755
--- a/install
+++ b/install
@@ -47,6 +47,11 @@ then
 	emacs --batch --eval '(batch-byte-recompile-directory 0)' ~/.emacs.d/
 fi
 
+if [[ ! -d ~/.zsh/cache ]]
+then
+	mkdir -p ~/.zsh/cache
+fi
+
 fasd_cache=~/.zsh/cache/fasd-init-zsh
 if [[ ! -s "$fasd_cache" || dotfiles/zsh/functions/fasd -nt "$fasd_cache" ]]; then
 	dotfiles/zsh/functions/fasd/fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install >! "$fasd_cache"