blob: 04e068122eb57c76ffc7d86456315b4e9e9df572 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
(require 'yasnippet)
(setq yas-fallback-behavior nil)
(define-key yas-minor-mode-map (kbd "C-c i") 'yas-expand)
;; Remove commands with 'C-c &' prefix, which conflicts with
;; `org-mark-ring-goto' binding'
(define-key yas-minor-mode-map (kbd "C-c &") nil)
(define-key yas-minor-mode-map (kbd "<tab>") nil)
(define-key yas-minor-mode-map (kbd "TAB") nil)
(yas-global-mode)
(provide 'init-yas)
|