mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-16 02:27:03 +01:00
redirecionamento de vim para 7.3
This commit is contained in:
parent
5c95ca4caf
commit
2deeed1301
3 changed files with 13 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -5,5 +5,5 @@ custom/*
|
||||||
!custom/example
|
!custom/example
|
||||||
!custom/example.zsh
|
!custom/example.zsh
|
||||||
*.swp
|
*.swp
|
||||||
!custom/example.zshcache
|
*.un~
|
||||||
cache/
|
cache/
|
||||||
|
|
|
||||||
10
plugins/vim-override/vim-override.plugin.zsh
Normal file
10
plugins/vim-override/vim-override.plugin.zsh
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
# try to replace OSX's default vim by MacVim's version
|
||||||
|
RECENTVIM=`find /usr/local/Cellar/macvim -name Vim`
|
||||||
|
|
||||||
|
# if mode indicator wasn't setup by theme, define default
|
||||||
|
if [[ "$OSTYPE" == darwin* && -e $RECENTVIM ]]; then
|
||||||
|
echo "Redirecionando vim..."
|
||||||
|
alias vim="$RECENTVIM"
|
||||||
|
else
|
||||||
|
echo "deu zica criando alias"
|
||||||
|
fi
|
||||||
|
|
@ -15,7 +15,7 @@ ZSH_THEME="jreese"
|
||||||
# CASE_SENSITIVE="true"
|
# CASE_SENSITIVE="true"
|
||||||
|
|
||||||
# Comment this out to disable bi-weekly auto-update checks
|
# Comment this out to disable bi-weekly auto-update checks
|
||||||
# DISABLE_AUTO_UPDATE="true"
|
DISABLE_AUTO_UPDATE="true"
|
||||||
|
|
||||||
# Uncomment to change how many often would you like to wait before auto-updates occur? (in days)
|
# Uncomment to change how many often would you like to wait before auto-updates occur? (in days)
|
||||||
# export UPDATE_ZSH_DAYS=13
|
# export UPDATE_ZSH_DAYS=13
|
||||||
|
|
@ -32,7 +32,7 @@ ZSH_THEME="jreese"
|
||||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
plugins=(git osx python virtualenvwrapper)
|
plugins=(git osx python virtualenvwrapper vim-override)
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue