/dotfiles

2373rd repository with the name "dotfiles"

Primary LanguageEmacs Lisp

First run

Clone the repository into the home directory

Update the git submodules (eg: git submodules are used for emacs plugins)

git submodule init
git submodule update

vim

mkdir ~/.backups

emacs

Upon first startup emacs might complain about missing files related to plugins. These will have to be installed manually as my emacs config currently does not check for missing packages declaratively.

Update package list with M-x list-packages
Install missing packages with M-x package-install

colours

Where appropriate, manually apply Nord theme. Eg: Slack, Gnome Terminal.

git config

git config --global user.name "Mona Lisa"
git config --global user.email "mona@lisa.com"
git config --global core.excludesfile ~/.gitignore_global

Maintenance

add a new submodule:

git submodule add https://github.com/SOME_USER/SOME_REPO.git OPTIONAL/DESTINATION

for example:

git submodule add https://github.com/Shougo/neocomplcache.vim.git .vim/bundle/neocomplcache

update all submodules:

git submodule foreach git pull origin master

remove and delete the content of a submodule:

## deinitialise the submodule
git submodule deinit -f SUBMODULE_PATH
## remove the git cache
rm -rf .git/modules/SUBMODULE_PATH 
## remove the submodule files
git rm -f SUBMODULE_PATH

example:

git submodule deinit -f .vim/bundle/elm-vim
rm -rf .git/modules/.vim/bundle/elm-vim
git rm -f .vim/bundle/elm-vim