Skip to content

Commit 600cb3f

Browse files
author
Adam Gradzki
committed
Feature: Configure vim as default editor
1 parent a6d7c37 commit 600cb3f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

install/centos/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,17 @@ mail server. The recommended one is postfix and you can install it with:
177177

178178
To use and configure sendmail instead of postfix see [Advanced Email Configurations](configure_email.md).
179179

180+
### Configure the default editor
181+
182+
You can choose between editors such as nano, vi, vim, etc.
183+
In this case we will use vim as the default editor for consistency.
184+
185+
ln -s /usr/bin/vim /usr/bin/editor
186+
187+
To remove this alias in the future:
188+
189+
rm -i /usr/bin/editor
190+
180191
----------
181192

182193
## 2. Ruby

0 commit comments

Comments
 (0)