Sha256: eed34bdad371ff7ecc92c48300a086325bd3aeb687458fc6beff72ea9d111eee

Contents?: true

Size: 339 Bytes

Versions: 13

Compression:

Stored size: 339 Bytes

Contents

# Quick alias to edit a directory with MacVim. Requires macvim_drawer
# from Homebrew: https://gist.github.com/3076384
e() {
  if [[ -f "$PWD/README.md" ]] ; then
    mvim README.md
  elif [[ -f "$PWD/README.rdoc" ]] ; then
    mvim README.rdoc
  elif [[ -f "$PWD/README.textile" ]] ; then
    mvim README.textile
  else
    mvim .
  fi
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
zsh_dots-0.6.5 lib/plugins/macvim/macvim.plugin.zsh
zsh_dots-0.6.3 lib/plugins/macvim/macvim.plugin.zsh
zsh_dots-0.6.2 lib/plugins/macvim/macvim.plugin.zsh
zsh_dots-0.6.0 lib/plugins/macvim/macvim.plugin.zsh
zsh_dots-0.5.9 lib/plugins/macvim/macvim.plugin.zsh
zsh_dots-0.5.8 lib/plugins/macvim/macvim.plugin.zsh
zsh_dots-0.5.7 lib/plugins/macvim/macvim.plugin.zsh
zsh_dots-0.5.6 lib/plugins/macvim/macvim.plugin.zsh
zsh_dots-0.5.5 lib/plugins/macvim/macvim.plugin.zsh
zsh_dots-0.5.4 lib/plugins/macvim/macvim.plugin.zsh
zsh_dots-0.5.3 lib/plugins/macvim/macvim.plugin.zsh
zsh_dots-0.5.1 lib/plugins/macvim/macvim.plugin.zsh
zsh_dots-0.5.0 lib/plugins/macvim/macvim.plugin.zsh