./dotfiles.sh
In the macos folder there are some scripts to customize some macOS
defaults, Terminal
, Xcode
, VScode
and Vim
.
Double click “AM.terminal” file.
This is the specific Theme file for Terminal.app.
Note: If you get a warning that this is from an unidentified developer, Right-click on the file and select “Open with” > Terminal option.
./macos/install.sh
./macos/xcode/link.sh
./macos/vscode/link.sh
If you want to update the current auto completion run:
swift package completion-tool generate-zsh-script > ~/.zsh/completions/_swift
You need to modify your ~/.ssh/config file to automatically load keys into the ssh-agent and store passphrases in your keychain.
touch ~/.ssh/config
Host *
UseKeychain yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_ed25519
Add your SSH private key to the ssh-agent and store your passphrase in the keychain.
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
More info can be found here:
- Connecting to Github with ssh
- Generating a new ssh key and adding it to the ssh agent
- Managing multiple github SSH keys on mac
Pathogen is an easy way to manage VIM plugins contained at /.vim/bundle/[name-of-plug-in].
Otherwise, VIM tends to spread these files out in different directories (/.vim/plugin, ~/.vim/syntax, ~/.vim/doc, etc.).
In general, if you want to know about customizing VIM, see http://learnvimscriptthehardway.stevelosh.com/.
To install Pathogen:
mkdir -p ~/.vim/autoload ~/.vim/bundle && curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
Next, add the following to at the top of your ~/.vimrc
file:
execute pathogen#infect()
Nerdtree gives you a little window to navigate a directory structure.
To add it, run:
git clone https://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree
Next, to have it automatically start up, add the following line to your ~/.vimrc
file:
autocmd vimenter * NERDTree
Now, just run vim in any directory and you should get a navigation pane in a split window view.