My name is Henrik and I'm an emacs addict. (Hello Henrik)

This commit is contained in:
Henrik Lissner
2015-05-20 22:28:41 -04:00
parent eafb74110f
commit 7d44ea4db4
50 changed files with 1154 additions and 2571 deletions

View File

@@ -16,8 +16,8 @@
(ido-everywhere 1)
(use-package ido-vertical-mode :config (ido-vertical-mode 1))
(use-package ido-ubiquitous :config (ido-ubiquitous-mode 1))
(use-package flx-ido :config (flx-ido-mode 1))
(use-package ido-ubiquitous :config (ido-ubiquitous-mode 1))
(setq ido-use-faces nil
ido-confirm-unique-completion t
@@ -50,6 +50,18 @@
(lambda (x) (and (char-equal (string-to-char x) ?.) x))
ido-temp-list))))
;; Press ~ to go to $HOME in ido
(add-hook 'ido-setup-hook
(lambda ()
;; Go straight home
(define-key ido-file-completion-map
(kbd "~")
(lambda ()
(interactive)
(if (looking-back "/")
(insert "~/")
(call-interactively 'self-insert-command))))))
(provide 'init-ido)
;;; init-ido.el ends here