update virc/vimrc to make escape work in insert mode

This commit is contained in:
lvying6 2020-02-29 17:48:29 +08:00
parent caf535aba3
commit f7fefe9a02
3 changed files with 12 additions and 1 deletions

View File

@ -11,7 +11,7 @@
Name: vim
Epoch: 2
Version: 8.1.450
Release: 7
Release: 8
Summary: Vim is a highly configurable text editor for efficiently creating and changing any kind of text.
License: Vim and MIT
URL: http://www.vim.org
@ -421,6 +421,9 @@ popd
%{_mandir}/man1/evim.*
%changelog
* Sat Feb 29 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:8.1.450-8
- update virc/vimrc to make escape work in insert mode
* Thu Jan 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 2:8.1.450-7
- make vi/vim easy to uses

4
vimrc
View File

@ -1 +1,5 @@
set nocompatible " Use vim defaults
set backspace=indent,eol,start " allow backspacing over autoindent, line breaks, start of the insert
set ruler " display current row and column position
set viminfo='20,\"50 " read/write a .viminfo file, don't store more than 50 lines of registers
set history=50 " store 50 lines of command line history

4
virc
View File

@ -1 +1,5 @@
set nocompatible " Use vim defaults
set backspace=indent,eol,start " allow backspacing over autoindent, line breaks, start of the insert
set ruler " display current row and column position
set viminfo='20,\"50 " read/write a .viminfo file, don't store more than 50 lines of registers
set history=50 " store 50 lines of command line history