one-line command
cd ~ && ./dotfiles/makesymlinks.sh
import individual file
$ cd ~
$ ln -s dotfiles/vim .vim
https://help.github.com/articles/checking-for-existing-ssh-keys/
See http://stackoverflow.com/questions/7773181/git-keeps-prompting-me-for-password
Make sure you are cloning your repos using ssh:
ssh://[email protected]/username/repo.git If you use https or git, you will always be asked for username/password:
https://github.com/username/repo.git git://github.com/username/repo.git
install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
xargs brew install < ~/dotfiles/brew_requirements.txt
system preferences > keyboard > keyboard > modifier keys
Ubuntu
dconf write /org/gnome/desktop/input-sources/xkb-options "['caps:escape']"
Download the very basic vimrc for using on other peoples computer
wget https://raw.githubusercontent.com/bdhammel/dotfiles/master/basic_vimrc -O ~/.vimrc
Switch between buffers :bn
and :bp
list buffers :ls
open new file in buffer :e <filename>
delete buffer :db
horizontal split :sp <filename>
vertical split :vs <filename>
Use Neovim as a git difftool Just paste this into your ~/.gitconfig
[difftool]
prompt = true
[diff]
tool = nvimdiff
[difftool "nvimdiff"]
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
git maintenance start
https://blog.gitbutler.com/git-tips-2-new-stuff-in-git/
https://github.com/tmux/tmux/wiki/Clipboard#quick-summary
You can install into two different user bin
locations
/usr/bin
~/bin
ensure /usr/bin
is exported into PATH
cd /usr/bin
wget <url to binary>
tar -zxvf download-pkg
mv dowloaded-pkg/app app
# or
ln -s nvim.appimage nvim
Packages to install
To know which arch to download, run name -m
• If output is x86_64, linux_amd64 is correct.
• If aarch64 or similar, use linux_arm64.
wget https://raw.githubusercontent.com/bdhammel/dotfiles/master/quick_setup.sh | bash