diff options
Diffstat (limited to 'bash/.bashrc')
| -rwxr-xr-x | bash/.bashrc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bash/.bashrc b/bash/.bashrc index 9ccd0e3..c923972 100755 --- a/bash/.bashrc +++ b/bash/.bashrc | |||
| @@ -104,10 +104,12 @@ fi | |||
| 104 | # Set the default editor | 104 | # Set the default editor |
| 105 | if exists nvim; then | 105 | if exists nvim; then |
| 106 | export EDITOR="nvim" | 106 | export EDITOR="nvim" |
| 107 | alias vim=nvim | ||
| 107 | elif exists vim; then | 108 | elif exists vim; then |
| 108 | export EDITOR="vim" | 109 | export EDITOR="vim" |
| 109 | elif exists vi; then | 110 | elif exists vi; then |
| 110 | export EDITOR="vi" | 111 | export EDITOR="vi" |
| 112 | alias vim=nvim | ||
| 111 | fi | 113 | fi |
| 112 | 114 | ||
| 113 | # vim() { | 115 | # vim() { |
