====== Vim ====== ===== インストール ===== # yum install vim ~省略~ ====================================================================================================================== Package Arch Version Repository Size ====================================================================================================================== Installing: vim-enhanced x86_64 2:7.2.411-1.8.el6 base 892 k Installing for dependencies: gpm-libs x86_64 1.20.6-12.el6 base 28 k vim-common x86_64 2:7.2.411-1.8.el6 base 6.0 M Transaction Summary ====================================================================================================================== Install 3 Package(s) ~省略~ =====エイリアスの確認===== # alias vi -bash: alias: vi: not found ===== エイリアス設定 ===== # vi .bashrc # .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' alias vi='vim' ←追加 # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi ===== エイリアス反映 ===== # . .bashrc # alias vi alias vi='vim'