Skip to content

my dotfiles, heavily aimed around using VIM and ZSH in OSX

Notifications You must be signed in to change notification settings

acidjazz/dotfiles

Repository files navigation

kevins' dotfiles

Installation

  • Install MacVim

  • Get rid of our titlebar

defaults write org.vim.MacVim MMNoTitleBarWindow true
 curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
   https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  • Open vim, type :PlugInstall to get the latest of all the vim plugins

vim-plug

wget https://raw.github.com/trapd00r/LS_COLORS/master/LS_COLORS -O $HOME/.dircolors
brew install lsd
pip install powerline-shell
  • Update your .bash_profile here

Configuration

  • Overwrite your current default .vimrc with the one in this repository
    • Review and customize to your preferences
  • Overwrite your current default .bash_profile with the one in this repository
    • Review and customize to your preferences

VIM Examples

Standard look with all the plugins active

Using the fuzzy finder ctrlp to bring up a pug view, (ctrl+enter splits it in)

Easymotion example

Animated demonstration

Easymotion Overwin motions

  • Type \ to initiate easywin
  • f for a search, s for char, L for line, w for word
  • a letter in the word you are looking for (for f & s)
  • then the letter presented (highlighted)
  • you are now anywhere in your file(s) w/in 4 keystrokes

Before:

one = 1
two = 2
three = 3
four = 4

Running :Tab /= produces:

one   = 1
two   = 2
three = 3
four  = 4

Check out the Vimcast for more detail

BASH Examples

  • git-friendly command prompt showing
    • branch, push status, dirty or clean status, time from last commit
  • color coded directories and files
  • on-the-fly syntax highlighting as you type

  • folder/file/everything autocompleted

Releases

No releases published

Packages

No packages published