-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
This is a mostly a non-issue, but I decided to open an issue anyway. When using label mode and g:sneak#target_labels does not include ;, we can move forward and backward through matches using ; and ,. However, the first time ; is used to move to the next match, the highlights for matches disappears. The highlights reappear after another ; key press. When moving backwards using ,, highlights remain visible at all times.
- Results after
ste:
- Moving to next match with
;:
- Moving to the third match with
;:
Minimal .vimrc (with vim-sneak added to /usr/share/vim/vim91/pack/plugin/start/sneak):
let g:sneak#label = 1
let g:sneak#target_labels = "sftunq/SFGHLTUNRMQZ?0" " note the removal of ;
$ vim --version
VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Feb 04 2026 00:00:00)
Included patches: 1-2128
Modified by <bugzilla@redhat.com>
Compiled by <bugzilla@redhat.com>
Huge version without GUI. Features included (+) or not (-):
+acl +jumplist +sodium
+arabic +keymap -sound
+autocmd +lambda +spell
+autochdir +langmap +startuptime
-autoservername +libcall +statusline
-balloon_eval +linebreak -sun_workshop
+balloon_eval_term +lispindent +syntax
-browse +listcmds +tabpanel
++builtin_terms +localmap +tag_binary
+byte_offset +lua/dyn -tag_old_static
+channel +menu -tag_any_white
+cindent +mksession -tcl
+clientserver +modify_fname +termguicolors
-clipboard +mouse +terminal
+clipboard_provider -mouseshape +terminfo
+cmdline_compl +mouse_dec +termresponse
+cmdline_hist +mouse_gpm +textobjects
+cmdline_info -mouse_jsbterm +textprop
+comments +mouse_netterm +timers
+conceal +mouse_sgr +title
+cryptv -mouse_sysmouse -toolbar
+cscope +mouse_urxvt +user_commands
+cursorbind +mouse_xterm +vartabs
+cursorshape +multi_byte +vertsplit
+dialog_con +multi_lang +vim9script
+diff -mzscheme +viminfo
+digraphs +netbeans_intg +virtualedit
-dnd +num64 +visual
-ebcdic +packages +visualextra
+emacs_tags +path_extra +vreplace
+eval +perl/dyn -wayland
+ex_extra +persistent_undo -wayland_clipboard
+extra_search +popupwin -wayland_focus_steal
-farsi +postscript +wildignore
+file_in_path +printer +wildmenu
+find_in_path +profile +windows
+float -python +writebackup
+folding +python3/dyn-stable -X11
-footer +quickfix +xattr
+fork() +reltime -xfontset
+gettext +rightleft -xim
-hangul_input +ruby/dyn -xpm
+iconv +scrollbind -xsmp
+insert_expand +signs -xterm_clipboard
+ipv6 +smartindent -xterm_save
+job +socketserver
system vimrc file: "/etc/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
3rd user vimrc file: "~/.config/vim/vimrc"
user exrc file: "$HOME/.exrc"
defaults file: "$VIMRUNTIME/defaults.vim"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -std=c17 -DSYS_VIMRC_FILE=/etc/vimrc -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -Wl,--enable-new-dtags -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -Wl,--build-id=sha1 -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/local/lib -o vim -lm -lselinux -lncurses -lsodium -lacl -lattr -lgpm
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels