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:
parent
2a7a4fd4b9
commit
b51fe9aed4
@ -292,8 +292,10 @@ endif
|
||||
|
||||
" This escape sequence is the well known ANSI sequence for
|
||||
" Remove Character Under The Cursor (RCUTC[tm])
|
||||
map! <Esc>[3~ <Delete>
|
||||
map <ESC>[3~ x
|
||||
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")
|
||||
|
@ -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>
|
||||
|
||||
|
8
vim.spec
8
vim.spec
@ -101,7 +101,7 @@ Requires: vim-data-common = %{version}-%{release}
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
%endif
|
||||
Recommends: vim-data = %{version}-%{release}
|
||||
Conflicts: vim-base < 8.2
|
||||
@ -155,7 +155,7 @@ BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
%endif
|
||||
Conflicts: gvim < 8.2
|
||||
Provides: gvim-base = %{version}-%{release}
|
||||
@ -180,7 +180,7 @@ BuildRequires: alts
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
%endif
|
||||
Provides: vi
|
||||
Provides: vim_client
|
||||
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user