-
Install cask
curl -fsSkL https://raw.github.com/cask/cask/master/go | python
-
add Cask's bin to your PATH
export PATH="$HOME/.cask/bin:$PATH"
-
Clone this gist repository and change directory
git clone https://gist.github.com/8142317.git ac-helm-sandbox cd ac-helm-sandbox
-
Install Emacs packages by cask
cask install
-
Run emacs with a minimum necessary emacs configuration for ac-helm
mv ~/.emacs.d ~/.emacs.d.back # backup your configuration ln -s . ~/.emacs.d
Last active
January 1, 2016 12:09
-
-
Save yasuyk/8142317 to your computer and use it in GitHub Desktop.
ac-helm Sandbox for https://github.com/yasuyk/ac-helm/issues/6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for gist title |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.el~ | |
*.elc | |
.cask/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(source melpa) | |
(depends-on "auto-complete") | |
(depends-on "helm") | |
(depends-on "ac-helm") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(require 'cask "~/.cask/cask.el") | |
(cask-initialize) | |
(require 'auto-complete) | |
(require 'auto-complete-config) | |
(require 'ac-helm) | |
(global-auto-complete-mode t) | |
(ac-config-default) | |
(define-key ac-mode-map (kbd "M-l") 'ac-complete-with-helm) | |
;; Local Variables: | |
;; coding: utf-8 | |
;; flycheck-disabled-checkers: (emacs-lisp-checkdoc) | |
;; End: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-k | |
(add-hook |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ln -s . ~/.emacs.d
does not work. It makes a symbolic link to~/
, not~/.cask/ac-helm-sandbox
. You need a fullpath:ln -s $(pwd) ~/.emacs.d