init.el
changeset 101 2c7a2250aebf
parent 99 c50532aea1f3
child 102 c87589ea77d5
equal deleted inserted replaced
99:c50532aea1f3 101:2c7a2250aebf
   133 (global-set-key (kbd "C-c s") 'eshell)  ; start shell
   133 (global-set-key (kbd "C-c s") 'eshell)  ; start shell
   134 (exec-path-from-shell-copy-env "PYTHONPATH")
   134 (exec-path-from-shell-copy-env "PYTHONPATH")
   135 (exec-path-from-shell-initialize)
   135 (exec-path-from-shell-initialize)
   136 (eshell)
   136 (eshell)
   137 (add-hook 'eshell-mode-hook (lambda () (setenv "TERM" "emacs")))
   137 (add-hook 'eshell-mode-hook (lambda () (setenv "TERM" "emacs")))
   138 
   138 (setq tramp-default-method "ssh")
   139 
   139 
   140 ;;; ido / smex / completion
   140 ;;; ido / smex / completion
   141 (setq-default
   141 (setq-default
   142  ido-enable-flex-matching t                           ; fuzzy matching for ido mode
   142  ido-enable-flex-matching t                           ; fuzzy matching for ido mode
   143  ido-create-new-buffer 'always                        ; create new buffer without prompt
   143  ido-create-new-buffer 'always                        ; create new buffer without prompt
   203 (yas-global-mode t)
   203 (yas-global-mode t)
   204 
   204 
   205 
   205 
   206 ;;; markdown-mode
   206 ;;; markdown-mode
   207 (add-hook 'markdown-mode-hook 'flyspell-mode)
   207 (add-hook 'markdown-mode-hook 'flyspell-mode)
   208 (setq-default markdown-command "pandoc -f markdown_github")
   208 (setq-default markdown-command "pandoc -f gfm")
   209 
   209 
   210 
   210 
   211 ;;; html-mode
   211 ;;; html-mode
   212 (add-to-list 'auto-mode-alist '("\\.tpl\\'" . html-mode))
   212 (add-to-list 'auto-mode-alist '("\\.tpl\\'" . html-mode))
   213 (add-hook 'html-mode-hook 'zencoding-mode)
   213 (add-hook 'html-mode-hook 'zencoding-mode)