yasnippet added to emacs
This commit is contained in:
parent
ca7dd305a3
commit
8fc72b14d1
1 changed files with 8 additions and 4 deletions
12
emacs/.emacs
12
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 <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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue