Skip to content

Commit

Permalink
Updated spacemacs file to add hledger-mode and csv-mode.
Browse files Browse the repository at this point in the history
Added alternative youtube-dl config for getting audio files.
  • Loading branch information
jrenslin committed Dec 3, 2017
1 parent d0c8b35 commit 43487b2
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 12 deletions.
14 changes: 12 additions & 2 deletions comfy/.spacemacs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ values."
;; List of configuration layers to load.
dotspacemacs-configuration-layers
'(
csv
php
go
python
Expand Down Expand Up @@ -64,6 +65,7 @@ values."
dotspacemacs-additional-packages '(all-the-icons
helm-bibtex
helm-c-yasnippet
hledger-mode
nyan-mode
wc-mode
yasnippet)
Expand Down Expand Up @@ -140,9 +142,9 @@ values."
;; Press <SPC> T n to cycle to the next theme in the list (works great
;; with 2 themes variants, one dark and one light)
dotspacemacs-themes '(kaolin
seoul256
moe-dark
subatomic256
seoul256
monokai
moe-light
wheatgrass
Expand Down Expand Up @@ -304,13 +306,15 @@ values."
(add-to-list 'auto-mode-alist '("\\.task\\'" . conf-mode))
(add-to-list 'auto-mode-alist '("\\rc\\'" . conf-mode))
(add-to-list 'auto-mode-alist '("\\.cshtml\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.journal\\'" . hledger-mode))

;; Enable CUA in usual cases
(add-hook 'conf-mode-hook 'cua-mode)
(add-hook 'css-mode-hook 'cua-mode)
(add-hook 'emacs-lisp-mode-hook 'cua-mode)
(add-hook 'fundamental-mode-hook 'cua-mode)
(add-hook 'go-mode-hook 'cua-mode)
(add-hook 'hledger-mode-hook 'cua-mode)
(add-hook 'html-mode-hook 'cua-mode)
(add-hook 'java-mode-hook 'cua-mode)
(add-hook 'javascript-mode-hook 'cua-mode)
Expand Down Expand Up @@ -476,5 +480,11 @@ values."
'(evil-want-Y-yank-to-eol nil)
'(package-selected-packages
(quote
(zenburn-theme fringe-current-line nyan-mode molokai-dark-theme powerline spinner org-plus-contrib skewer-mode simple-httpd json-snatcher json-reformat multiple-cursors js2-mode hydra parent-mode haml-mode pos-tip flx magit-popup git-commit with-editor iedit anzu goto-chg undo-tree highlight popup diminish projectile pkg-info epl swiper bind-map bind-key packed async f s memoize font-lock+ avy php-mode biblio parsebib biblio-core pythonic gruber-darker-theme gruvbox-dark-theme gruvbox-theme go-guru go-eldoc go-mode origami counsel smartparens evil flycheck helm helm-core markdown-mode magit yasnippet ivy dash helm-themes helm-swoop helm-projectile helm-mode-manager helm-flx helm-descbinds helm-ag ace-jump-helm-line yapfify ws-butler winum which-key wgrep web-mode web-beautify wc-mode volatile-highlights vi-tilde-fringe uuidgen use-package toc-org tagedit subatomic256-theme spaceline smex smeargle slim-mode scss-mode sass-mode restart-emacs request rainbow-delimiters pyvenv pytest pyenv-mode py-isort pug-mode popwin pip-requirements phpunit phpcbf php-extras php-auto-yasnippets persp-mode pcre2el paradox orgit org-bullets open-junk-file neotree move-text moe-theme mmm-mode markdown-toc magit-gitflow macrostep lorem-ipsum livid-mode live-py-mode linum-relative link-hint less-css-mode json-mode js2-refactor js-doc ivy-hydra info+ indent-guide hy-mode hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation hide-comnt help-fns+ helm-make helm-c-yasnippet helm-bibtex google-translate golden-ratio gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link gh-md flycheck-pos-tip flx-ido 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-magit evil-lisp-state evil-indent-plus evil-iedit-state evil-exchange evil-escape evil-ediff evil-args evil-anzu eval-sexp-fu emmet-mode elisp-slime-nav dumb-jump drupal-mode define-word cython-mode counsel-projectile column-enforce-mode coffee-mode clean-aindent-mode auto-highlight-symbol auto-compile anaconda-mode all-the-icons aggressive-indent adaptive-wrap ace-window ace-link))))
(htmlize hledger-mode csv-mode zenburn-theme fringe-current-line nyan-mode molokai-dark-theme powerline spinner org-plus-contrib skewer-mode simple-httpd json-snatcher json-reformat multiple-cursors js2-mode hydra parent-mode haml-mode pos-tip flx magit-popup git-commit with-editor iedit anzu goto-chg undo-tree highlight popup diminish projectile pkg-info epl swiper bind-map bind-key packed async f s memoize font-lock+ avy php-mode biblio parsebib biblio-core pythonic gruber-darker-theme gruvbox-dark-theme gruvbox-theme go-guru go-eldoc go-mode origami counsel smartparens evil flycheck helm helm-core markdown-mode magit yasnippet ivy dash helm-themes helm-swoop helm-projectile helm-mode-manager helm-flx helm-descbinds helm-ag ace-jump-helm-line yapfify ws-butler winum which-key wgrep web-mode web-beautify wc-mode volatile-highlights vi-tilde-fringe uuidgen use-package toc-org tagedit subatomic256-theme spaceline smex smeargle slim-mode scss-mode sass-mode restart-emacs request rainbow-delimiters pyvenv pytest pyenv-mode py-isort pug-mode popwin pip-requirements phpunit phpcbf php-extras php-auto-yasnippets persp-mode pcre2el paradox orgit org-bullets open-junk-file neotree move-text moe-theme mmm-mode markdown-toc magit-gitflow macrostep lorem-ipsum livid-mode live-py-mode linum-relative link-hint less-css-mode json-mode js2-refactor js-doc ivy-hydra info+ indent-guide hy-mode hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation hide-comnt help-fns+ helm-make helm-c-yasnippet helm-bibtex google-translate golden-ratio gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link gh-md flycheck-pos-tip flx-ido 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-magit evil-lisp-state evil-indent-plus evil-iedit-state evil-exchange evil-escape evil-ediff evil-args evil-anzu eval-sexp-fu emmet-mode elisp-slime-nav dumb-jump drupal-mode define-word cython-mode counsel-projectile column-enforce-mode coffee-mode clean-aindent-mode auto-highlight-symbol auto-compile anaconda-mode all-the-icons aggressive-indent adaptive-wrap ace-window ace-link))))

(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.
)
13 changes: 13 additions & 0 deletions general/.config/youtube-dl/dlAudio
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Lines starting with # are comments

# Write subs, thumbnail and metadata to file
--add-metadata

# Take only audio
--extract-audio

# Always download the best video available
-f 'm4a'

# Save all videos under Movies directory in your home directory
-o ~/Downloads/%(title)s.%(ext)s
3 changes: 0 additions & 3 deletions general/.mutt/mutt.styling
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ set sidebar_new_mail_only = yes
# When searching for mailboxes containing new mail, should the search wrap around when it reaches the end of the list?
set sidebar_next_new_wrap = no

# Show the Sidebar on the right-hand side of the screen
set sidebar_on_right = no

# The character to use as the divider between the Sidebar and the other Mutt panels. [On previous versions, this function seems to have only been available for one character. Now, the string may contain more than one character that will be used.]
set sidebar_divider_char = ' | '

Expand Down
1 change: 1 addition & 0 deletions general/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ alias aard='java -Dslobber.browse=true -jar ~/.jars/aard2-web-0.7.jar ~/Sync/Dat
alias scanlocalnetwork='nmap -T4 -F 192.168.2.1/24'
alias aria2c='aria2c --conf-path=$HOME/.config/aria2/aria2.conf'
alias aria2batch='aria2c --conf-path=$HOME/.config/aria2/aria2.conf -i $HOME/Downloads/batch.txt'
alias youtube-dl-audio='youtube-dl --config-location=$HOME/.config/youtube-dl/dlAudio'

# Custom commands for specific handling of other programs
alias fe='feh -F -Z "$1"'
Expand Down
14 changes: 12 additions & 2 deletions juicy/.spacemacs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ values."
;; List of configuration layers to load.
dotspacemacs-configuration-layers
'(
csv
php
go
python
Expand Down Expand Up @@ -64,6 +65,7 @@ values."
dotspacemacs-additional-packages '(all-the-icons
helm-bibtex
helm-c-yasnippet
hledger-mode
nyan-mode
wc-mode
yasnippet)
Expand Down Expand Up @@ -141,8 +143,8 @@ values."
;; with 2 themes variants, one dark and one light)
dotspacemacs-themes '(kaolin
moe-dark
seoul256
subatomic256
seoul256
monokai
moe-light
wheatgrass
Expand Down Expand Up @@ -304,13 +306,15 @@ values."
(add-to-list 'auto-mode-alist '("\\.task\\'" . conf-mode))
(add-to-list 'auto-mode-alist '("\\rc\\'" . conf-mode))
(add-to-list 'auto-mode-alist '("\\.cshtml\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.journal\\'" . hledger-mode))

;; Enable CUA in usual cases
(add-hook 'conf-mode-hook 'cua-mode)
(add-hook 'css-mode-hook 'cua-mode)
(add-hook 'emacs-lisp-mode-hook 'cua-mode)
(add-hook 'fundamental-mode-hook 'cua-mode)
(add-hook 'go-mode-hook 'cua-mode)
(add-hook 'hledger-mode-hook 'cua-mode)
(add-hook 'html-mode-hook 'cua-mode)
(add-hook 'java-mode-hook 'cua-mode)
(add-hook 'javascript-mode-hook 'cua-mode)
Expand Down Expand Up @@ -476,5 +480,11 @@ values."
'(evil-want-Y-yank-to-eol nil)
'(package-selected-packages
(quote
(zenburn-theme fringe-current-line nyan-mode molokai-dark-theme powerline spinner org-plus-contrib skewer-mode simple-httpd json-snatcher json-reformat multiple-cursors js2-mode hydra parent-mode haml-mode pos-tip flx magit-popup git-commit with-editor iedit anzu goto-chg undo-tree highlight popup diminish projectile pkg-info epl swiper bind-map bind-key packed async f s memoize font-lock+ avy php-mode biblio parsebib biblio-core pythonic gruber-darker-theme gruvbox-dark-theme gruvbox-theme go-guru go-eldoc go-mode origami counsel smartparens evil flycheck helm helm-core markdown-mode magit yasnippet ivy dash helm-themes helm-swoop helm-projectile helm-mode-manager helm-flx helm-descbinds helm-ag ace-jump-helm-line yapfify ws-butler winum which-key wgrep web-mode web-beautify wc-mode volatile-highlights vi-tilde-fringe uuidgen use-package toc-org tagedit subatomic256-theme spaceline smex smeargle slim-mode scss-mode sass-mode restart-emacs request rainbow-delimiters pyvenv pytest pyenv-mode py-isort pug-mode popwin pip-requirements phpunit phpcbf php-extras php-auto-yasnippets persp-mode pcre2el paradox orgit org-bullets open-junk-file neotree move-text moe-theme mmm-mode markdown-toc magit-gitflow macrostep lorem-ipsum livid-mode live-py-mode linum-relative link-hint less-css-mode json-mode js2-refactor js-doc ivy-hydra info+ indent-guide hy-mode hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation hide-comnt help-fns+ helm-make helm-c-yasnippet helm-bibtex google-translate golden-ratio gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link gh-md flycheck-pos-tip flx-ido 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-magit evil-lisp-state evil-indent-plus evil-iedit-state evil-exchange evil-escape evil-ediff evil-args evil-anzu eval-sexp-fu emmet-mode elisp-slime-nav dumb-jump drupal-mode define-word cython-mode counsel-projectile column-enforce-mode coffee-mode clean-aindent-mode auto-highlight-symbol auto-compile anaconda-mode all-the-icons aggressive-indent adaptive-wrap ace-window ace-link))))
(htmlize hledger-mode csv-mode zenburn-theme fringe-current-line nyan-mode molokai-dark-theme powerline spinner org-plus-contrib skewer-mode simple-httpd json-snatcher json-reformat multiple-cursors js2-mode hydra parent-mode haml-mode pos-tip flx magit-popup git-commit with-editor iedit anzu goto-chg undo-tree highlight popup diminish projectile pkg-info epl swiper bind-map bind-key packed async f s memoize font-lock+ avy php-mode biblio parsebib biblio-core pythonic gruber-darker-theme gruvbox-dark-theme gruvbox-theme go-guru go-eldoc go-mode origami counsel smartparens evil flycheck helm helm-core markdown-mode magit yasnippet ivy dash helm-themes helm-swoop helm-projectile helm-mode-manager helm-flx helm-descbinds helm-ag ace-jump-helm-line yapfify ws-butler winum which-key wgrep web-mode web-beautify wc-mode volatile-highlights vi-tilde-fringe uuidgen use-package toc-org tagedit subatomic256-theme spaceline smex smeargle slim-mode scss-mode sass-mode restart-emacs request rainbow-delimiters pyvenv pytest pyenv-mode py-isort pug-mode popwin pip-requirements phpunit phpcbf php-extras php-auto-yasnippets persp-mode pcre2el paradox orgit org-bullets open-junk-file neotree move-text moe-theme mmm-mode markdown-toc magit-gitflow macrostep lorem-ipsum livid-mode live-py-mode linum-relative link-hint less-css-mode json-mode js2-refactor js-doc ivy-hydra info+ indent-guide hy-mode hungry-delete hl-todo highlight-parentheses highlight-numbers highlight-indentation hide-comnt help-fns+ helm-make helm-c-yasnippet helm-bibtex google-translate golden-ratio gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link gh-md flycheck-pos-tip flx-ido 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-magit evil-lisp-state evil-indent-plus evil-iedit-state evil-exchange evil-escape evil-ediff evil-args evil-anzu eval-sexp-fu emmet-mode elisp-slime-nav dumb-jump drupal-mode define-word cython-mode counsel-projectile column-enforce-mode coffee-mode clean-aindent-mode auto-highlight-symbol auto-compile anaconda-mode all-the-icons aggressive-indent adaptive-wrap ace-window ace-link))))

(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.
)
2 changes: 0 additions & 2 deletions seoul/.mutt/mutt.color
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ color sidebar_highlight default default # Color o
color sidebar_divider white default # Color of the divider separating the Sidebar from NeoMutt panels
color sidebar_flagged default black # Color to give mailboxes containing flagged mail
color sidebar_new default black # Color to give mailboxes containing new mail
color sidebar_ordinary default default # Color to give mailboxes containing no new/flagged mail, etc


# Note (From http://www.strcat.de/dotfiles/mutt.color)
#
Expand Down
Loading

0 comments on commit 43487b2

Please sign in to comment.