emacs.d/themes/ibm-dark-theme.el · master · William Vaughn / dotfiles · GitLab
source link: https://gitlab.com/willvaughn/dotfiles/-/blob/master/emacs.d/themes/ibm-dark-theme.el
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
DEPRECATED dotfiles
These dotfiles are no longer used. Still kept for reference.
Install
Install instructions
Set secrets in ~/.config/zshlocals/secrets.sh
This file is loaded by the zshenv
to setup any custom environment variables for the system which are not securely able to be committed to this repository.
# A few examples of sensitive ENV vars. export GITHUB_ACCESS_TOKEN='...' export KOPS_STATE_STORE='s3://...' # etc.
Emacs ~/.authinfo.gp
for emacs secrets.
My ERC passwords for IRC servers are in here. My gmail password for notmuch is in here.
I store a few additional “secret” things in here. I am able to encrypt this file with my gpg
key, and then there is a little hack from elisp in order to use the values.
org-gcal: https://github.com/myuhe/org-gcal.el
machine smtp.gmail.com port 587 login <[email protected]> password <google app password> machine irc.freenode.net login nackjicholson password p@55w0rd machine org.gcal.client-secret login nil port 9999 password <gcal-client-secret> machine org.gcal.client-id login nil port 9999 password <gcal-client-id>
And then from where I need to use those values I call a custom get-authinfo
function I wrote into my emacs config.
I stole it from this org-gcal gh issue #47
(get-authinfo "org.gcal.client-secret" "9999")
Create emacs local.el
We need to follow instructions there to make a new client id for our google calendar application.
emacs.d/local.el
(setq nack--org-directory "~/Dropbox/org")
See or cp
the example in emacs.d/local.sample.el
to create this file.
Setup poetry and pypi credentials
TODO: document this
Git Setup
Right now I have my global gitconfig using an email provided by github by default. For my GitLab repos and open source projects I manually setup local configuration to use my real email and a GPG key to sign commits.
[user] email = [email protected] name = William Vaughn signingkey = <gpg id> [commit] gpgsign = true
Troubleshooting and Issues
Magit doesn’t auto install with use-package
M-x package-install RET magit RET
This will force it to install.
python language server with emacs-lsp-python-ms
If you have problems with emacs loading up the lsp python language server check the steps here: https://github.com/emacs-lsp/lsp-python-ms
License
Licensed under the GPLv3.
See COPYING
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK