home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Export vim as default shell editor.
[config]
/
dotfiles_user_server
/
bashrc
diff --git
a/dotfiles_user_server/bashrc
b/dotfiles_user_server/bashrc
index 8037b1bf89561412b3c31f19789981554b5a98d5..2409091eca0fa65110ca420b5a7d3e59b858a0a2 100644
(file)
--- a/
dotfiles_user_server/bashrc
+++ b/
dotfiles_user_server/bashrc
@@
-3,6
+3,10
@@
# Fancy colors for ls.
alias ls="ls --color=auto"
# Fancy colors for ls.
alias ls="ls --color=auto"
+# Use vim as default editor for anything.
+export VISUAL=vim
+export EDITOR=$VISUAL
+
# Wrapper for weechat to force local config file on it anew on each run.
alias weechat="~/config/bin/weechat-wrapper.sh"
# Wrapper for weechat to force local config file on it anew on each run.
alias weechat="~/config/bin/weechat-wrapper.sh"