my dotfiles
parent
3d856c7dbc
commit
3c38738336
|
@ -14,7 +14,6 @@
|
|||
(powershell use-package flx flx-ido ac-c-headers ac-html ac-html-bootstrap auto-complete-exuberant-ctags brutal-theme python rainbow-delimiters racket-mode swift-helpful swift-mode swift-playground-mode swift3-mode project-shells projectile-codesearch projectile-rails projectile-variable purple-haze-theme org-journal org-journal-list org-kindle org-multi-wiki org-projectile org-wc 0blayout ego org-analyzer org-board org-d20 org-ac org-beautify-theme org-brain org-clock-today org-gcal org-static-blog org-sync org-sync-snippets org-timeline org-trello org powerline-evil yaml-mode yasnippet-classic-snippets yasnippet-snippets snippet smex qt-pro-mode qml-mode paradox osx-trash osx-plist osx-org-clock-menubar osx-lib osx-dictionary osx-clipboard osx-browse nixpkgs-fmt nix-mode neotree magit haskell-mode flycheck evil-surround evil-smartparens evil-org evil-leader elscreen elpa-mirror elixir-yasnippets elixir-mode editorconfig-custom-majormode diminish-buffer diminish auto-complete-distel auto-complete-c-headers arduino-mode airline-themes ac-clang abyss-theme)))
|
||||
'(paradox-automatically-star nil))
|
||||
|
||||
|
||||
(setq inhibit-splash-screen t)
|
||||
|
||||
(add-to-list 'load-path "~/.emacs.d/loadins")
|
||||
|
@ -31,26 +30,10 @@
|
|||
(load "perl-hooks.el")
|
||||
(load "hooks.el")
|
||||
(load "projectile.el")
|
||||
(load "text-vars.el")
|
||||
(load "themeing.el")
|
||||
|
||||
(setq text-width 4
|
||||
standard-indent 4
|
||||
indent-tabs-mode t
|
||||
c-basic-style "k&r"
|
||||
c-basic-offset 4
|
||||
)
|
||||
|
||||
(load-theme 'abyss)
|
||||
(powerline-default-theme)
|
||||
(load-theme 'airline-molokai)
|
||||
(elscreen-start)
|
||||
(evil-mode 1)
|
||||
(editorconfig-mode 1)
|
||||
(projectile-mode +1)
|
||||
(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.
|
||||
'(default ((t (:inherit nil :stipple nil :background "#050000" :foreground "#bbe0f0" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 181 :width normal :foundry "nil" :family "Source Code Pro"))))
|
||||
'(bold ((t (:weight bold))))
|
||||
'(variable-pitch ((t (:inherit nil :stipple nil :background "#050000" :foreground "#bbe0f0" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 181 :width normal :foundry "nil" :family "Source Sans Pro")))))
|
|
@ -0,0 +1,6 @@
|
|||
(setq text-width 4
|
||||
standard-indent 4
|
||||
indent-tabs-mode t
|
||||
c-basic-style "k&r"
|
||||
c-basic-offset 4
|
||||
)
|
|
@ -0,0 +1,11 @@
|
|||
(load-theme 'abyss)
|
||||
(powerline-default-theme)
|
||||
(load-theme 'airline-molokai)
|
||||
(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.
|
||||
'(default ((t (:inherit nil :stipple nil :background "#050000" :foreground "#bbe0f0" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 181 :width normal :foundry "nil" :family "Source Code Pro"))))
|
||||
'(bold ((t (:weight bold))))
|
||||
'(variable-pitch ((t (:inherit nil :stipple nil :background "#050000" :foreground "#bbe0f0" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 181 :width normal :foundry "nil" :family "Source Sans Pro")))))
|
|
@ -0,0 +1,44 @@
|
|||
;;; install-packages.el
|
||||
|
||||
;; Author: Rachel Fae Fox <fox@foxiepa.ws>
|
||||
;; URL: https://git.foxiepa.ws/foxiepaws/dotfiles/
|
||||
|
||||
(add-to-list 'load-path (expand-file-name "~/.emacs.d/defaultcontent/"))
|
||||
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
|
||||
(require 'package)
|
||||
(add-to-list 'package-archives
|
||||
'("melpa" . "https://melpa.org/packages/") t)
|
||||
(package-initialize)
|
||||
|
||||
(defvar eyecandy '(smex abyss-theme airline-themes powerline powerline-evil
|
||||
rainbow-delimiters purple-haze-theme org-beautify-theme))
|
||||
(defvar osx '(osx-plist osx-dictionary osx-clipboard osx-browse swift-mode
|
||||
swift-playground-mode swift3-mode swift-helpful osx-lib osx-trash))
|
||||
(defvar orgstuff '(org org-journal org-journal-list org-kindle org-multi-wiki org-projectile org-wc ego
|
||||
org-analyzer org-board org-d20 org-ac
|
||||
org-brain org-clock-today org-gcal org-static-blog org-sync
|
||||
org-sync-snippets org-timeline org-trello))
|
||||
(defvar langs '(python racket-mode yaml-mode nixpkgs-fmt nix-mode haskell-mode elixir-mode
|
||||
arduino-mode qml-mode qt-pro-mode))
|
||||
(defvar evil '(evil evil-leader evil-org evil-smartparens evil-surround evil-collection))
|
||||
(defvar extras '(magit elscreen projectile flx flx-ido diminish diminish-buffer neotree
|
||||
paradox use-package editorconfig editorconfig-custom-majormode))
|
||||
(defvar progtools '(flycheck ac-c-headers ac-html ac-html-bootstrap elixir-yasnippets ac-clang
|
||||
auto-complete-distel auto-complete-c-headers auto-complete-exuberant-ctags
|
||||
yasnippet-classic-snippets yasnippet-snippets snippet))
|
||||
(defvar projectmanagement '(projectile projectile-rails projectile-codesearch projectile-variable project-shells))
|
||||
|
||||
(let ((my-packages (append eyecandy osx orgstuff langs evil extras progtools projectmanagement)))
|
||||
|
||||
(defun my-packages-installed-p ()
|
||||
(cl-loop for p in my-packages
|
||||
when (not (package-installed-p p)) do (cl-return nil)
|
||||
finally (cl-return t)))
|
||||
|
||||
(unless (my-packages-installed-p)
|
||||
;; check for new packages (package versions)
|
||||
(package-refresh-contents)
|
||||
;; install the missing packages
|
||||
(dolist (p my-packages)
|
||||
(when (not (package-installed-p p))
|
||||
(package-install p)))))
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
ln -s zlogin ~/.zlogin
|
||||
ln -s zshrc ~/.zshrc
|
||||
ln -s emacs.d ~/.emacs.d
|
||||
ln -s vimrc .vimrc
|
||||
mkdir -p ~/.bin
|
||||
emacs --script install-packages.el
|
|
@ -0,0 +1,17 @@
|
|||
EDITOR=emacs
|
||||
PATH="$HOME/.bin:$PATH"
|
||||
PAGER=most
|
||||
export EDITOR PATH PAGER
|
||||
|
||||
# Load additions
|
||||
case $OSTYPE in
|
||||
darwin*)
|
||||
[-f ~/.dotfiles/zlogin_mac ] && . ~/.dotfiles/zlogin_mac
|
||||
;;
|
||||
freebsd*)
|
||||
[-f ~/.dotfiles/zlogin_bsd ] && . ~/.dotfiles/zlogin_bsd
|
||||
;;
|
||||
linux-gnu)
|
||||
[-f ~/.dotfiles/zlogin_linux ] && . ~/.dotfiles/zlogin_linux
|
||||
;;
|
||||
esac
|
|
@ -0,0 +1,25 @@
|
|||
HISTFILE=~/.histfile
|
||||
HISTSIZE=1000
|
||||
SAVEHIST=1000
|
||||
bindkey -e
|
||||
zstyle :compinstall filename "$HOME/.zshrc"
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
autoload -Uz promptinit
|
||||
promptinit
|
||||
prompt clint
|
||||
|
||||
export PATH=$HOME/.bin:$PATH
|
||||
|
||||
# Load additions
|
||||
case $OSTYPE in
|
||||
darwin*)
|
||||
. ~/.dotfiles/zshrc_mac
|
||||
;;
|
||||
freebsd*)
|
||||
. ~/.dotfiles/zshrc_bsd
|
||||
;;
|
||||
linux-gnu)
|
||||
. ~/.dotfiles/zshrc_linux
|
||||
;;
|
||||
esac
|
Loading…
Reference in New Issue