Vim安装
sudo spt-get install vim
Vim配置
编辑~/.vimrc文件
set ts=4 # set the number of spaces that "Tab" creates
set expandtab # set "Tab" as spaces
set nu # show line number
set autoindent
set tabstop=4
set shiftwidth=4
Vim安装
sudo spt-get install vim
Vim配置
编辑~/.vimrc文件
set ts=4 # set the number of spaces that "Tab" creates
set expandtab # set "Tab" as spaces
set nu # show line number
set autoindent
set tabstop=4
set shiftwidth=4