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
|
" This escape sequence is the well known ANSI sequence for
|
||||||
" Remove Character Under The Cursor (RCUTC[tm])
|
" Remove Character Under The Cursor (RCUTC[tm])
|
||||||
map! <Esc>[3~ <Delete>
|
if !has("gui_running")
|
||||||
map <ESC>[3~ x
|
map! <Esc>[3~ <Delete>
|
||||||
|
map <ESC>[3~ x
|
||||||
|
endif
|
||||||
|
|
||||||
" Only do this part when compiled with support for autocommands.
|
" Only do this part when compiled with support for autocommands.
|
||||||
if has("autocmd")
|
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>
|
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
|
Requires: alts
|
||||||
%else
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
%endif
|
%endif
|
||||||
Recommends: vim-data = %{version}-%{release}
|
Recommends: vim-data = %{version}-%{release}
|
||||||
Conflicts: vim-base < 8.2
|
Conflicts: vim-base < 8.2
|
||||||
@ -155,7 +155,7 @@ BuildRequires: alts
|
|||||||
Requires: alts
|
Requires: alts
|
||||||
%else
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
%endif
|
%endif
|
||||||
Conflicts: gvim < 8.2
|
Conflicts: gvim < 8.2
|
||||||
Provides: gvim-base = %{version}-%{release}
|
Provides: gvim-base = %{version}-%{release}
|
||||||
@ -180,7 +180,7 @@ BuildRequires: alts
|
|||||||
Requires: alts
|
Requires: alts
|
||||||
%else
|
%else
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
%endif
|
%endif
|
||||||
Provides: vi
|
Provides: vi
|
||||||
Provides: vim_client
|
Provides: vim_client
|
||||||
@ -500,9 +500,11 @@ fi
|
|||||||
|
|
||||||
%post -n gvim
|
%post -n gvim
|
||||||
%icon_theme_cache_post
|
%icon_theme_cache_post
|
||||||
|
|
||||||
%postun -n gvim
|
%postun -n gvim
|
||||||
%icon_theme_cache_postun
|
%icon_theme_cache_postun
|
||||||
%else
|
%else
|
||||||
|
|
||||||
# without libalternatives
|
# without libalternatives
|
||||||
%post
|
%post
|
||||||
%{_sbindir}/update-alternatives \
|
%{_sbindir}/update-alternatives \
|
||||||
|
Loading…
Reference in New Issue
Block a user