Skip to content

Instantly share code, notes, and snippets.

@creaktive
Last active February 10, 2016 10:28
Show Gist options
  • Save creaktive/220cdbeb1489612e65be to your computer and use it in GitHub Desktop.
Save creaktive/220cdbeb1489612e65be to your computer and use it in GitHub Desktop.
space yaks
; EmacsMac.app
(setq-default dotspacemacs-configuration-layers '(osx
git
version-control))
; Setup font & colors
;(setq-default dotspacemacs-default-font '("Source Code Pro"
; :size 13
; :weight normal
; :width normal
; :powerline-scale 1.1))
(setq-default dotspacemacs-default-font '("Terminus (TTF)"
:size 12
:weight normal
:width normal
:powerline-scale 1.3))
(setq-default dotspacemacs-themes '(solarized-dark
solarized-light))
; Line numbers etc.
(setq-default dotspacemacs-line-numbers t)
(setq large-file-warning-threshold nil)
; Setup Projectile
(setq projectile-enable-caching t)
; Setup TRAMP
(require 'tramp)
(setq shell-file-name "/bin/bash")
(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
(setq tramp-shell-prompt-pattern "\\(?:^\\|\r\\)[^]#$%>\n]*#?[]#$%>].* *\\(^[\\[[0-9;]*[a-zA-Z] *\\)*")
; Setup Perl
(require 'cperl-mode)
(fset 'perl-mode 'cperl-mode)
(setq cperl-indent-level 4
cperl-close-paren-offset -4
cperl-continued-statement-offset 4
cperl-indent-parens-as-block t
cperl-tab-always-indent t)
; Setup Hive/HQL
(add-to-list 'auto-mode-alist '("\\.hql\\'" . sql-mode))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment