yasnippet added to emacs

This commit is contained in:
madmaurice 2017-05-16 08:12:04 +02:00
parent ca7dd305a3
commit 8fc72b14d1

View file

@ -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 <up>") 'windmove-up)
(global-set-key (kbd "C-x <down>") '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)