diff --git a/emacs/.emacs b/emacs/.emacs index 802d597..4592918 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -30,7 +30,7 @@ '(menu-bar-mode nil) '(package-selected-packages (quote - (evil-surround org evil-magit magit makefile-runner evil))) + (yasnippet evil-surround org evil-magit magit makefile-runner evil))) '(scroll-bar-mode nil) '(tool-bar-mode nil)) (custom-set-faces @@ -55,6 +55,10 @@ (require 'auto-complete-config) (ac-config-default) +;; Yasnippet +(require 'yasnippet) +(yas-global-mode 1) + ;; Window movement (global-set-key (kbd "C-x ") 'windmove-up) (global-set-key (kbd "C-x ") 'windmove-down) @@ -76,10 +80,10 @@ (defun term-split () "creates terminal window below" (interactive) - (let (window (split-window-below -7)) + (let ((window (split-window-below -7))) (select-window window) - (term "/bin/zsh") - (set-window-dedicated-p window t))) + (term "/bin/zsh"))) + ;(set-window-dedicated-p window t))) (global-set-key (kbd "C-x t") 'term-split)