飞行前检查
- 这些说明专门用于在 Fedora 22.
- 我将从 Liquid Web Self Managed 工作 Fedora 22服务器,我将以root身份登录。
也许你收到了错误: -bash: vim: 找不到命令…要解决它,请按照以下说明操作!
第 1 步:安装
作为最佳实践,我们将更新我们的包:
dnf -y update
然后让我们安装 VIM(可视化编辑器 IMproved)和任何需要的包:
dnf -y install vim-enhanced
第 2 步:验证应用程序是否可用
现在使用以下命令验证应用程序是否可用:
vim
~ VIM - Vi IMproved
~
~ version 7.4.640
~ by Bram Moolenaar et al.
~ Modified by <[email protected]>
~ Vim is open source and freely distributable
~
~ Sponsor Vim development!
~ type :help sponsor for information
~
~ type :q to exit
~ type :help or for on-line help
~ type :help version7 for version info
第 3 步:了解 VIM!
有关使用 vim 编辑文件的复习,请参阅:新用户教程:Vim 文本编辑器概述