I have recently found the manpager plugin, and am using it (it is cool!). One problem is that it does not map double-click, like the help file. So I added in my .vimrc:
au FileType man nmap <buffer> <2-leftmouse> <C-]>
Then, to my bewilderment, I found it worked, but caused unwanted terminal (non-Vim) selection (from top-left to the cursor position). More investigation showed this happened only with the macOS Terminal app, but not iTerm2, or a Linux gnome-terminal. Before I dismissed it as a Terminal bug, double-click in a help file worked very well in the macOS terminal...
Best regards,
Yongwei
--
Yongwei Wu
URL: http://wyw.dcweb.cn/
URL: http://wyw.dcweb.cn/
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CADs46iddfF8mQU0%2Be74wPeyKar1noc5q1p5cTXmB3u0Cf%2BZVFA%40mail.gmail.com.
No comments:
Post a Comment