[vim/vim] "Ctrl+o u" in Insert mode is performed with a about 3 seconds delay (Issue #14947)

10 views
Skip to first unread message

Anton Samokat

unread,
Jun 9, 2024, 9:51:54 AM6/9/24
to vim/vim, Subscribed

Steps to reproduce

Write something in Insert mode. Then try to undo with Ctrl+o u. Insert mode will be returned only after about 3 seconds delay.
Related closed bug report for nvim: "Ctrl+o u" in Insert mode is performed with a delay if 'showmode' is on

Expected behaviour

Expected behavior is without such delay.

Version of Vim

VIM - Vi IMproved 8.1 (2018 May 18, compiled Dec 07 2023 15:42:49)

Environment

Ubuntu 20.04
bash
echo $TERM is xterm-256color

Logs and stack traces

vim --version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Dec 07 2023 15:42:49)
Included patches: 1-213, 1840, 214-579, 1969, 580-1848, 4975, 5023, 2110, 1849-1854, 1857, 1855-1857, 1331, 1858, 1858-1859, 1873, 1860-1969, 1992, 1970-1992, 2010, 1993-2068, 2106, 2069-2106, 2108, 2107-2109, 2109-2111, 2111-2112, 2112-2269, 3612, 3625, 3669, 3741, 1847
Modified by team...@tracker.debian.org
Compiled by team...@tracker.debian.org
Huge version with GTK3 GUI.  Features included (+) or not (-):
+acl               -farsi             -mouse_sysmouse    -tag_any_white
+arabic            +file_in_path      +mouse_urxvt       +tcl
+autocmd           +find_in_path      +mouse_xterm       +termguicolors
+autochdir         +float             +multi_byte        +terminal
-autoservername    +folding           +multi_lang        +terminfo
+balloon_eval      -footer            -mzscheme          +termresponse
+balloon_eval_term +fork()            +netbeans_intg     +textobjects
+browse            +gettext           +num64             +textprop
++builtin_terms    -hangul_input      +packages          +timers
+byte_offset       +iconv             +path_extra        +title
+channel           +insert_expand     +perl              +toolbar
+cindent           +job               +persistent_undo   +user_commands
+clientserver      +jumplist          +postscript        +vartabs
+clipboard         +keymap            +printer           +vertsplit
+cmdline_compl     +lambda            +profile           +virtualedit
+cmdline_hist      +langmap           -python            +visual
+cmdline_info      +libcall           +python3           +visualextra
+comments          +linebreak         +quickfix          +viminfo
+conceal           +lispindent        +reltime           +vreplace
+cryptv            +listcmds          +rightleft         +wildignore
+cscope            +localmap          -ruby              +wildmenu
+cursorbind        +lua               +scrollbind        +windows
+cursorshape       +menu              +signs             +writebackup
+dialog_con_gui    +mksession         +smartindent       +X11
+diff              +modify_fname      +sound             -xfontset
+digraphs          +mouse             +spell             +xim
+dnd               +mouseshape        +startuptime       +xpm
-ebcdic            +mouse_dec         +statusline        +xsmp_interact
+emacs_tags        +mouse_gpm         -sun_workshop      +xterm_clipboard
+eval              -mouse_jsbterm     +syntax            -xterm_save
+ex_extra          +mouse_netterm     +tag_binary        
+extra_search      +mouse_sgr         -tag_old_static    
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time  -g -O2 -fdebug-prefix-map=/build/vim-6X01Ez/vim-8.1.2269=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1       
Linking: gcc   -Wl,-E  -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim   -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lcanberra -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/x86_64-linux-gnu/perl/5.30/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.8/config-3.8-x86_64-linux-gnu -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -ldl -lz -lpthread -lm


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14947@github.com>

zeertzjq

unread,
Jun 9, 2024, 9:56:03 AM6/9/24
to vim/vim, Subscribed

The version you are using is 6 years old


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14947/2156616587@github.com>

Anton Samokat

unread,
Jun 9, 2024, 9:58:23 AM6/9/24
to vim/vim, Subscribed

@zeertzjq By now I have only this old version. Could you please check if this is reproducing on the new version?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14947/2156617322@github.com>

Anton Samokat

unread,
Jun 9, 2024, 10:00:05 AM6/9/24
to vim/vim, Subscribed

Related question and comments on VI SE: Undo in insert mode - Vi and Vim Stack Exchange


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14947/2156618213@github.com>

zeertzjq

unread,
Jun 9, 2024, 10:02:46 AM6/9/24
to vim/vim, Subscribed

Cannot reproduce in Vim 9.1.445


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14947/2156619350@github.com>

Christian Brabandt

unread,
Jun 9, 2024, 10:25:22 AM6/9/24
to vim/vim, Subscribed

Closed #14947 as not planned.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/14947/issue_event/13091615364@github.com>

Christian Brabandt

unread,
Jun 9, 2024, 10:25:25 AM6/9/24
to vim/vim, Subscribed

closing as unreproducible then.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14947/2156629968@github.com>

Anton Samokat

unread,
Jun 11, 2024, 5:32:01 AM6/11/24
to vim/vim, Subscribed

@zeertzjq Thanks, also is not reproducing on Vim 9.0 (now this is latest version for Ubuntu 20.04 in unofficial PPA)
Vim can be updated with:

sudo add-apt-repository ppa:jonathonf/vim
sudo apt install vim

Source: How to Install Latest Vim 9.0 on Ubuntu


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14947/2160247577@github.com>

Christian Brabandt

unread,
Jun 11, 2024, 5:34:52 AM6/11/24
to vim/vim, Subscribed

Note: this ppa is no longer updated, since the maintainer passed away. I wouldn't recommend to use it, since you won't get any security updates.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14947/2160257103@github.com>

Anton Samokat

unread,
Jun 11, 2024, 5:39:13 AM6/11/24
to vim/vim, Subscribed

@chrisbra Ok, thanks. May be you have some recommendations how to update Vim for Ubuntu 20.04 or more recent versions?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14947/2160271343@github.com>

Christian Brabandt

unread,
Jun 11, 2024, 5:46:27 AM6/11/24
to vim/vim, Subscribed

compile your own? Use the vim-appimage? Upgrade your Ubuntu to 22.04 at least? find another ppa (I don't really know any updated and maintained ppas)?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14947/2160292183@github.com>

Anton Samokat

unread,
Jun 11, 2024, 5:52:40 AM6/11/24
to vim/vim, Subscribed

@chrisbra I see, thanks


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14947/2160308865@github.com>

Reply all
Reply to author
Forward
0 new messages