[vim/vim] <leftmouse><leftmouse> map not work as expected in zip.vim and tar.vim (Issue #18968)

2 views
Skip to first unread message

zoumi

unread,
7:51 AM (8 hours ago) 7:51 AM
to vim/vim, Subscribed
zoumi created an issue (vim/vim#18968)

Steps to reproduce

  1. Open a tar.gz file
  2. Click at one of the file in the tar.gz
  3. The file will be opened in new buffer with only one
  4. If I change
noremap <silent> <buffer>	<leftmouse>	<leftmouse>:call <SID>ZipBrowseSelect()<cr>

to

noremap <silent> <buffer>	<2-LeftMouse>	:call <SID>ZipBrowseSelect()<cr>

it works as expected.

Expected behaviour

The file should be opened with two

Version of Vim

VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Nov 21 2024 17:25:42)

Environment

Windows10
windows terminal

Logs and stack traces


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/18968@github.com>

zeertzjq

unread,
7:56 AM (8 hours ago) 7:56 AM
to vim/vim, Subscribed
zeertzjq left a comment (vim/vim#18968)

This is working as intended. See :h tar-mappings:

	<CR>		Open selected file for editing, any changes will be
			written back to the archive.
	<LeftMouse>	same as <CR>


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/18968/3674983076@github.com>

zeertzjq

unread,
7:57 AM (8 hours ago) 7:57 AM
to vim/vim, Subscribed

Closed #18968 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/18968/issue_event/21670329386@github.com>

Reply all
Reply to author
Forward
0 new messages