Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain how to switch $EDITOR #9

Open
jcf opened this issue May 18, 2013 · 0 comments
Open

Explain how to switch $EDITOR #9

jcf opened this issue May 18, 2013 · 0 comments
Milestone

Comments

@jcf
Copy link
Owner

jcf commented May 18, 2013

I won't be switching from Vim anytime soon, but I know others don't want/like to use it.

To change editor at the moment requires quite a few changes, which can't easily be configured from a single place.

git/gitconfig.symlink
51:  editor = mvim -f --nomru

ruby/pryrc.symlink
3:Pry.config.editor = '/usr/local/bin/mvim -f'

zsh/runcoms/zpreztorc
50:zstyle ':prezto:module:editor' keymap 'emacs'

zsh/modules/utility/init.zsh
55:alias -g V='|vim -'
56:alias -g M='|mvim -'

zsh/runcoms/zshenv
21:  export EDITOR='mvim'
22:  export VISUAL='mvim'
24:  export EDITOR='vim'
25:  export VISUAL='vim'
@ghost ghost assigned jcf May 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant