Skip to content

Commit 8d092a3

Browse files
committed
adds TODO and comments for yas and AC conflict resolution..
1 parent 1381de6 commit 8d092a3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

init.el

+18
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,22 @@
4444
(load (concat dotfiles-dir "initializers.el"))
4545
(ini-load-all)
4646

47+
48+
;; TODO: figure this out so I can use TAB with AC and yas...
49+
;; http://iany.me/2012/03/fix-tab-binding-for-yasnippet-and-auto-complete/
50+
;; (custom-set-variables
51+
;; '(ac-trigger-key "TAB")
52+
;; '(ac-auto-start nil)
53+
;; '(ac-use-menu-map t))
54+
55+
;; (defun iy-tab-noconflict ()
56+
;; (let ((command (key-binding [tab]))) ; remember command
57+
;; (local-unset-key [tab]) ; unset from (kbd "<tab>")
58+
;; (local-set-key (kbd "TAB") command))) ; bind to (kbd "TAB")
59+
60+
;; (add-hook 'ruby-mode-hook 'iy-ac-tab-noconflict)
61+
;; (add-hook 'markdown-mode-hook 'iy-ac-tab-noconflict)
62+
;; (add-hook 'org-mode-hook 'iy-ac-tab-noconflict)
63+
;; (add-hook 'clojure-mode-hook 'iy-ac-tab-noconflict)
64+
4765
(server-start)

0 commit comments

Comments
 (0)