位置:/etc/vim/vimrc
建议使用gedit来进行配置。即使用命令:sudo gedit /etc/vim/vimrc
set mouse=a " Enable mouse usage (all modes) set confirm set tabstop=4 set shiftwidth=4 set smarttab set smartindent color desert set nu set ruler set hlsearch set incsearch set cursorline set nobackup set autoread map <F9> <ESC>:w<CR> :!g++ % -o %< -Wall -DLOCAL && ./%< <CR> imap <F9> <ESC>:w<CR> :!g++ % -o %< -Wall -DLOCAL && ./%< <CR>
时间: 2024-10-09 22:00:19