diff --git a/init.el b/init.el index b353b7b..a31f37e 100644 --- a/init.el +++ b/init.el @@ -20,6 +20,7 @@ '(inhibit-startup-screen t) '(safe-local-variable-values (quote ((TeX-master . notes\.tex) (bookmark-default-file . "./emacs.bmk")))) '(show-paren-mode t) + '(smart-tab-completion-functions-alist (quote ((emacs-lisp-mode . lisp-complete-symbol) (text-mode . dabbrev-completion) (latex-mode . TeX-complete-symbol)))) '(transient-mark-mode t) '(truncate-partial-width-windows nil) '(visible-mark-inhibit-trailing-overlay t)) @@ -254,6 +255,9 @@ (global-set-key (kbd "M-m") 'iy-go-up-to-char) (global-set-key (kbd "M-M") 'iy-go-up-to-char-backward) +(require 'smart-tab) +(global-smart-tab-mode 1) + ;; ;; ace jump mode major function ;;