Skip to content

Instantly share code, notes, and snippets.

@cabrinha
Created September 12, 2018 17:21
Show Gist options
  • Save cabrinha/ce21ee614ea64ba5c9e02bc28a5f03b0 to your computer and use it in GitHub Desktop.
Save cabrinha/ce21ee614ea64ba5c9e02bc28a5f03b0 to your computer and use it in GitHub Desktop.
(setq powerline-default-separator 'utf-8)
(setq ns-use-srgb-colorspace nil)
;; line number config
(setq linum-highlight-current-line t)
(setq dotspacemacs-line-numbers t)
(add-hook 'org-mode-hook 'toggle-truncate-lines)
(global-set-key (kbd "<home>") 'move-beginning-of-line)
(global-set-key (kbd "<end>") 'move-end-of-line)
;; indent guides
(setq highlight-indent-guides-method 'column)
;; autocomplete everywhere
(global-company-mode t)
(global-set-key [mouse-4] 'scroll-down-line)
(global-set-key [mouse-5] 'scroll-up-line)
;; copy pasta
(use-package pbcopy
:if (and (spacemacs/system-is-mac)
(not (display-graphic-p))
(not (spacemacs-is-dumping-p)))
:init (turn-on-pbcopy))
;; syntax highlighting for jsonnet files
(add-to-list 'auto-mode-alist '("\\.libsonnet$" . jsonnet-mode))
;; powerline separator
;;(setq powerline-default-separator 'arrow)
;;(spacemacs|do-after-display-system-init
;; (spacemacs-modeline/init-spaceline))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-safe-themes
'("628278136f88aa1a151bb2d6c8a86bf2b7631fbea5f0f76cba2a0079cd910f7d" "06f0b439b62164c6f8f84fdda32b62fb50b6d00e8b01c2208e55543a6337433a" "bffa9739ce0752a37d9b1eee78fc00ba159748f50dc328af4be661484848e476" default))
'(evil-want-Y-yank-to-eol nil)
'(package-selected-packages
'(jsonnet-mode php-extras python-mode yapfify pyvenv pytest pyenv-mode py-isort pip-requirements live-py-mode hy-mode dash-functional helm-pydoc cython-mode company-anaconda anaconda-mode pythonic json-rpc jedi reveal-in-osx-finder pbcopy osx-trash osx-dictionary launchctl xterm-color smeargle shell-pop orgit multi-term mmm-mode markdown-toc markdown-mode magit-gitflow helm-gitignore helm-company helm-c-yasnippet gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link gh-md fuzzy evil-magit magit magit-popup git-commit with-editor eshell-z eshell-prompt-extras esh-help company-statistics tomorrow-night-eighties-theme-theme color-theme-sanityinc-tomorrow-eighties-theme tomorrow-night-eighties-theme color-theme-sanityinc-tomorrow vimrc-mode dactyl-mode ws-butler winum which-key volatile-highlights vi-tilde-fringe uuidgen use-package toc-org spaceline powerline restart-emacs request rainbow-delimiters popwin persp-mode pcre2el paradox spinner org-plus-contrib org-bullets open-junk-file neotree move-text macrostep lorem-ipsum linum-relative link-hint info+ indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation hide-comnt help-fns+ helm-themes helm-swoop helm-projectile helm-mode-manager helm-make projectile pkg-info epl helm-flx helm-descbinds helm-ag google-translate golden-ratio flx-ido flx fill-column-indicator fancy-battery eyebrowse expand-region exec-path-from-shell evil-visualstar evil-visual-mark-mode evil-unimpaired evil-tutor evil-surround evil-search-highlight-persist evil-numbers evil-nerd-commenter evil-mc evil-matchit evil-lisp-state smartparens evil-indent-plus evil-iedit-state iedit evil-exchange evil-escape evil-ediff evil-args evil-anzu anzu evil goto-chg undo-tree eval-sexp-fu highlight elisp-slime-nav dumb-jump f dash s diminish define-word column-enforce-mode clean-aindent-mode bind-map bind-key auto-highlight-symbol auto-compile packed aggressive-indent adaptive-wrap ace-window ace-link ace-jump-helm-line helm avy helm-core popup async)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment