glynnis / dotfiles

This is my dotfiles repo, which may not be fancy, but it's mine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

This is my dotfiles repo, which may not be fancy, but it's mine.

When setting up from scratch

Over time and owning a number of laptops, I find it takes a little time to get everything set up the way that I like, and I don't always remember all the steps or the most efficient way to get things installed and configured for the first time. Good thing I wrote this guide for myself! Thanks, past me.

Change computer name

System Preferences > Sharing > Computer Name

Re-map Kinesis Keyboard Keys

System Preferences > Keyboard > Modifier Keys. Plug in the Kinesis and make sure it's the keyboard selected when changing modifier keys.

CleanShot 2021-04-15 at 08 39 59

Command Line Tools & Code Editor

Install iTerm

https://iterm2.com/

Show hidden files

$ defaults write com.apple.Finder AppleShowAllFiles true

$ killall Finder

Install MacVim

You'll need to install MacVim, which is easy to do using Homebrew.

  1. Install homebrew using the curl command here: http://brew.sh
  2. Run export PATH=/usr/local/bin:$PATH
  3. Run brew update
  4. Run brew install vim && brew install macvim
  5. Run brew link macvim

Now you have the latest versions of vim and macvim managed by brew. Run brew update && brew upgrade every once in a while to upgrade them. This includes the installation of the CLI mvim and the mac application (which both point to the same thing).

Save and source .bash_profile

  1. Clone this dotfiles repo by running git clone git@github.com:glynnis/dotfiles.git
  2. Move the bash profile to ~.
  3. Clone Jimeh's git aware prompt by running
cd ~/.bash
git clone git://github.com/jimeh/git-aware-prompt.git
  1. Run source ~/.bash_profile to start using the profile.

Using this profile takes care of the following:

  1. Shows the git brach name in the terminal prompt, with colors.
  2. Includes dot files when using ls
  3. Creates the git aliases gst for git status, gap for git add --patch and co for checkout.

Configure Vim preferences

  1. Copy .vimrc file and .vim/ directory to ~. .vimrc sets the solr dark color theme for MacVim that's housed in the .vim/colors/ directory, as well as setting things like typeface, spaces vs. tabs, default line width, showing tabs as characters, etc.
  2. Install Vundle. Run git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim.
  3. Launch MacVim witn mvim . and run :PluginInstall

About

This is my dotfiles repo, which may not be fancy, but it's mine.


Languages

Language:Vim Script 98.6%Language:Shell 1.4%