bingshine / macvim

Common customizations for bash, vim, git etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

I spend way too much time customizing vim/bash/terminal/younameit.

Vim

Here's how my MacVim window looks:

MacVim+Solarized+Powerline+CtrlP

Bash

Update: Moved the powerline-bash script to its own repository

I implemented a Powerline like prompt for Bash:

MacVim+Solarized+Powerline+CtrlP

  • Displays the current git branch
  • Changes color if the last command exited with a failure code
  • If you're too deep into a directory tree, shortens the displayed path with an ellipsis
  • It's all done in a Python script, so you could go nuts with it

The .bashrc also has a handy function for adding bash aliases for git commands, without losing bash completion:

MacVim+Solarized+Powerline+CtrlP

  • Make the vi command open files in a single MacVim window

About

Common customizations for bash, vim, git etc.


Languages

Language:Vim Script 71.4%Language:Shell 28.6%