SHA256
1
0
forked from pool/vim

Gvim has its own terminal like screen

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=685
This commit is contained in:
Dr. Werner Fink 2021-11-02 09:55:20 +00:00 committed by Git OBS Bridge
parent 2a7a4fd4b9
commit b51fe9aed4
3 changed files with 15 additions and 6 deletions

View File

@ -292,8 +292,10 @@ endif
" This escape sequence is the well known ANSI sequence for
" Remove Character Under The Cursor (RCUTC[tm])
if !has("gui_running")
map! <Esc>[3~ <Delete>
map <ESC>[3~ x
endif
" Only do this part when compiled with support for autocommands.
if has("autocmd")

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 2 09:50:30 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Avoid the second to parse the Delete ANSI sequence in gvim
-------------------------------------------------------------------
Sun Oct 31 10:11:52 UTC 2021 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -500,9 +500,11 @@ fi
%post -n gvim
%icon_theme_cache_post
%postun -n gvim
%icon_theme_cache_postun
%else
# without libalternatives
%post
%{_sbindir}/update-alternatives \