This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; .emacs | |
(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. | |
'(diff-switches "-u") | |
'(menu-bar-mode -1) | |
'(tool-bar-mode nil)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [[ -n $EMACS ]]; then | |
# inside emacs | |
echo ".bashrc: inside emacs" | |
alias e='emacsclient -a "" -n "$@"' | |
elif [[ -n $SSH_TTY ]]; then | |
# ssh/remote, use terminal mode | |
alias e='emacsclient -a "" -t "$@"' | |
else | |
# local/gui | |
alias e='emacsclient -a "" -n "$@"' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; ClipHist4 - ClipBoard History using AutoHotkey | |
;; | |
;; From: | |
;; https://tinyurl.com/cliphist4 | |
;; | |
;; Based on: | |
;; https://www.autohotkey.com/board/topic/87650-clipboard-history-menu-decrementing-numbered-circular-buckets/ | |
;; with customizations and modernization | |
;; | |
;; About ClipHist4: |
OlderNewer