summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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"