This commit is contained in:
Marcel Schoengens
2018-11-06 09:29:59 +01:00
2 changed files with 36 additions and 7 deletions
+16 -7
View File
@@ -31,21 +31,21 @@ values."
;; List of configuration layers to load. ;; List of configuration layers to load.
dotspacemacs-configuration-layers dotspacemacs-configuration-layers
'( '(
markdown yaml
markdown markdown
swift swift
python python
git
;; ---------------------------------------------------------------- ;; ----------------------------------------------------------------
;; Example of useful layers you may want to use right away. ;; Example of useful layers you may want to use right away.
;; Uncomment some layer names and press <SPC f e R> (Vim style) or ;; Uncomment some layer names and press <SPC f e R> (Vim style) or
;; <M-m f e R> (Emacs style) to install them. ;; <M-m f e R> (Emacs style) to install them.
;; ---------------------------------------------------------------- ;; ----------------------------------------------------------------
helm helm
;; auto-completion auto-completion
docker
;; better-defaults ;; better-defaults
emacs-lisp emacs-lisp
;; git
;; markdown
org org
;; (shell :variables ;; (shell :variables
;; shell-default-height 30 ;; shell-default-height 30
@@ -319,7 +319,7 @@ package is loaded, you should place your code here."
(global-set-key "\C-cb" 'org-iswitchb) (global-set-key "\C-cb" 'org-iswitchb)
(custom-set-variables (custom-set-variables
'(org-agenda-files (list "~/Documents/docs-private/orgmode/org-mode.org" '(org-agenda-files (list "~/Documents/docs-private/orgmode/org-mode.org"
"~/Documents/docs-sm/organisation/projekte/projects.org"))) "~/Documents/docs-sm/organisation/projects.om")))
'(org-enable-priority-commands t) '(org-enable-priority-commands t)
'(org-highest-priority ?A) '(org-highest-priority ?A)
'(org-lowest-priority ?Z) '(org-lowest-priority ?Z)
@@ -328,6 +328,7 @@ package is loaded, you should place your code here."
(setq org-agenda-log-mode-items '(closed)) (setq org-agenda-log-mode-items '(closed))
(setq org-agenda-custom-commands (setq org-agenda-custom-commands
'(("b" "Purchases List" tags-todo "BUY") '(("b" "Purchases List" tags-todo "BUY")
("B" "Big Spendings List" tags-todo "+BIGSPENDS")
("h" "Home Todo List" tags "HOME")) ("h" "Home Todo List" tags "HOME"))
) )
) )
@@ -339,6 +340,13 @@ package is loaded, you should place your code here."
(org-agenda-write "test1.ics") (org-agenda-write "test1.ics")
) )
(defun browse-url-default-macosx-browser (url &optional new-window)
(interactive (browse-url-interactive-arg "URL: "))
(if (and new-window (>= emacs-major-version 23))
(ns-do-applescript
(format "tell application \"Safari\" to open location \"%s\"\n" url))
(start-process (concat "open " url) nil "open" url)))
;; Do not write anything past this comment. This is where Emacs will ;; Do not write anything past this comment. This is where Emacs will
;; auto-generate custom variable definitions. ;; auto-generate custom variable definitions.
(custom-set-variables (custom-set-variables
@@ -346,14 +354,15 @@ package is loaded, you should place your code here."
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(org-agenda-files (quote ("~/Documents/docs-private/orgmode/org-mode.org"))) '(org-agenda-files
(list "~/Documents/docs-private/orgmode/org-mode.org" "~/Documents/docs-sm/organisation/projects.om"))
'(org-default-priority 85) '(org-default-priority 85)
'(org-enable-priority-commands t) '(org-enable-priority-commands t)
'(org-highest-priority 65) '(org-highest-priority 65)
'(org-lowest-priority 90) '(org-lowest-priority 90)
'(package-selected-packages '(package-selected-packages
(quote (quote
(mmm-mode markdown-toc markdown-mode gh-md swift3-mode swift-mode org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download htmlize gnuplot yapfify pyvenv pytest pyenv-mode py-isort pip-requirements live-py-mode hy-mode dash-functional helm-pydoc cython-mode anaconda-mode pythonic 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 indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation 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 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)))) (dockerfile-mode docker json-mode tablist docker-tramp json-snatcher json-reformat helm-company helm-c-yasnippet fuzzy company-statistics company-anaconda company auto-yasnippet yasnippet ac-ispell auto-complete smeargle orgit magit-gitflow helm-gitignore gitignore-mode gitconfig-mode gitattributes-mode git-timemachine git-messenger git-link evil-magit realgud magit yaml-mode pandoc pandoc-mode mmm-mode markdown-toc markdown-mode gh-md swift3-mode swift-mode org-projectile org-category-capture org-present org-pomodoro alert log4e gntp org-mime org-download htmlize gnuplot yapfify pyvenv pytest pyenv-mode py-isort pip-requirements live-py-mode hy-mode dash-functional helm-pydoc cython-mode anaconda-mode pythonic 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 indent-guide hydra hungry-delete hl-todo highlight-parentheses highlight-numbers parent-mode highlight-indentation 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 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
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
+20
View File
@@ -153,6 +153,26 @@ function sortimages () {
esac esac
} }
read -r -d '' REMOTE_CMD << EOF
if [ \$(command -v module 2> /dev/null | wc -l) -gt 0 ]; then
module load tmux
fi
if [ \$(lsof -U 2> /dev/null | grep ^tmux | wc -l) -gt 0 ]; then
tmux a
else
tmux
fi
EOF
function st () {
ssh -t $@ ${REMOTE_CMD}
}
compdef st=ssh
### Alias configuration ### Alias configuration
if [[ $(uname) = "Linux" ]]; then if [[ $(uname) = "Linux" ]]; then