从vim官网下载64位的Windows安装程序,成功安装后,在主目录(C:\Users<username>)下创建_vimrc文件。
" Display line and column number in bottom ruler.
set ruler
" Display the line numbers.
set number
" Activate syntax highlighting.
syntax enable
" Set a nice theme.
color slate
" Set a nice font and size.
set guifont=Consolas:h12
" Set a nice window size.
set lines=20
set columns=180
网友评论