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:
@@ -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])
|
||||||
|
if !has("gui_running")
|
||||||
map! <Esc>[3~ <Delete>
|
map! <Esc>[3~ <Delete>
|
||||||
map <ESC>[3~ x
|
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>
|
||||||
|
|
||||||
|
2
vim.spec
2
vim.spec
@@ -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 \
|
||||||
|
Reference in New Issue
Block a user