在樹莓派上安裝vim並配置

先安裝vim的升級版:sudo apt install vim-gtk

然後進入配置文件:vim .vimrc

輸入以下命令後保存:

set number
filetype on
set history=1000
set nocompatible
set shiftwidth=4
color evening
syntax on
set autoindent
set smartindent
set tabstop=4
set showmatch
set guioptions-=T
set vb t_vb=
set ruler
set nohls
set incsearch
if has(“vms”)
set nobackup
else
set backup
endif 

https://blog.csdn.net/ValDC_Morning/article/details/68967967

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章