Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按下 Cc 无法复制标题 #1252

Open
victorwoo opened this issue Oct 28, 2024 · 2 comments
Open

按下 Cc 无法复制标题 #1252

victorwoo opened this issue Oct 28, 2024 · 2 comments

Comments

@victorwoo
Copy link

Describe the bug

按照帮助,按下 C - c 两个键,功能是“复制选中文字、网页标题或网址”

实际按下这两个键之后,只能复制网址,不能复制网页标题。

To Reproduce

  1. 不选择任何文字
  2. 按下 C - c 两个键
  3. 检查剪贴板内容

Browser, OS and Vimium C versions

  • Browser name: Microsoft Edge
  • Browser version: 版本 129.0.2792.89 (正式版本) (64 位)
  • Vimium C version: 1.99.99
  • OS name and version: Microsoft Windows 11
@eastarpen
Copy link

? 显示的信息只是一个简略的概括,并不准确

Cc 应该是你自定义的 mapping, 你可能没有正确实现该功能

这是我的一个mapping, 你可以参考

map yY copyWindowInfo type="tab" format="[${title}](${url})"

@victorwoo
Copy link
Author

victorwoo commented Nov 19, 2024

? 显示的信息只是一个简略的概括,并不准确

Cc 应该是你自定义的 mapping, 你可能没有正确实现该功能

这是我的一个mapping, 你可以参考

map yY copyWindowInfo type="tab" format="[${title}](${url})"

您好,感谢回复!我一直觉得前辈们对快捷键是有思考的,把官方的配置当作最佳实践,不敢去变它,生怕造成冲突或是其它怪现象。现在使用的是 Vimium C 的默认配置(设置 > 导入配置 > 推荐的配置)。

我看了一下,在“自定义快捷键”框里,有很多设置,不知道是从哪来的,能否帮我识别一下?我想找一个最完整的“最佳实践版”:

unmapAll
map ? showHelp
map <a-/> enterInsertMode
# map <a-/> openUrl \
  url="vimium://status/toggle-disabled/^%20<a-/>"
map <a-?> enterInsertMode key="<a-?>"
# map <c-b:i> editText run="replace,_$s%20%s_"
map <a-t> createTab
run <a-c> c
run <a-v> v
run <a-s-c> <a-v>
map <a-r> reloadTab

map w scrollPageUp
map s scrollPageDown
map a scrollLeft
map d scrollRight
map q scrollUp
map e scrollDown
map W scrollToTop
map S scrollToBottom
map A goBack
run <a-s-a> A reuse="newFg"
map D goForward
map Q goPrevious
map E goNext
run j e
run k q

map r reload
map R reloadGivenTab
map <a-s-r> reopenTab
map f LinkHints.activate
run <v-lh> LinkHints.activate$s mask=
run Fq lh WithQueue
run Fr f button="right"
run Fa lh CopyLinkUrl
run Ft lh CopyLinkText
run Fs lh SearchLinkText
run Fb Fs keyword="bing"
run Fc Ft
run FC lh CopyImage
map Ff LinkHints.activateHover \
  toggle={".bilibili-player-area":"video-control-show"}
run Fz lh Leave
run Fd lh DownloadLink
run FD lh DownloadImage
run Fi lh OpenImage
run FI lh OpenIncognito
run F<a-e> lh Edit
run Gg lh OpenInNewTab
run Fg Gg newtab="force"
run FT lh OpenVomnibar
run FE f action="edit-url"
run Fv lh Select
map o Vomnibar.activate
map <a-g> Vomnibar.activateInNewTab
run g <a-g> preferTabs="new"
map t Vomnibar.activateTabSelection preferTabs="new"
run T t tree="from-start" currentWindow
map h Vomnibar.activateHistoryInNewTab
run b <a-g> keyword="bing"
map Fe Vomnibar.activateUrl
map B Vomnibar.activateBookmarksInNewTab
map <c-s-d> duplicateTab
map <a-s-f> toggleLinkHintCharacters \
  value="hjklyuiopnm"

map z restoreTab
map x removeTab goto="previous,near" highlighted
map c previousTab
map v nextTab
map Z restoreGivenTab
map Xx removeRightTab
map Xz closeTabsOnLeft $count=-1
map Xc closeTabsOnRight $count=1
map Xa closeOtherTabs
map Ct copyWindowInfo type="tab"
map Ca copyCurrentUrl type="frame"
map Cc autoCopy url decode
map Cs searchAs
map Cv autoOpen
run Cd Cv keyword="dict"
run Cb Cd reuse="if-last-wnd" \
  replace="https://cn.bing.com/dict/" window="popup"
run Cg Cv keyword="google"
run CT <c-v> keyword="t"
map V openCopiedUrlInCurrentTab
run Ce V \
  keyword="v.math-copy"
map <c-v> openCopiedUrlInNewTab copied="urls"

map u goUp
run i focusInput:(<c-m>:W+150wait)%cfocusInput \
  o.keep o.select="all-line" o.reachable=false \
  o.clickable=".js-toggle-inline-comment-form" \
  o.prefer="#js-issues-search,#searchEngines"
# map i focusInput $if={"before":"v1.92.0"}

map n nextFrame
map UU goToRoot
map Uu goUp trailingSlash
map Uf parentFrame
map N moveTabToNewWindow
map I moveTabToIncognito
map <a-n> moveTabToNextWindow tabs
map <c-i> toggleCS
map <c-s-i> enableCSTemp
map <a-s-i> clearCS
map p visitPreviousTab acrossWindows
map Pp togglePinTab
map Pn passNextKey
run Pm Pn normal
map <a-m> toggleMuteTab

map / enterFindMode postOnEsc
map . performFind
map , performBackwardsFind
map <a-.> performAnotherFind
map ; enterVisualMode
map : enterVisualLineMode
run <f8> ;
map > moveTabRight
map < moveTabLeft
run m Marks.activate$s#swap mask=
run M m Create
map <c-m> mainFrame
map <a-s-h> clearFindHistory

run ` m
run ~ M
map <a-~> Marks.clearGlobal
map <a-`> Marks.clearLocal

map <f1> simBackspace
map <s-f1> switchFocus select="all-line"
run <a-f3> Cd
map <c-up> scrollPxUp
map <c-down> scrollPxDown
map <c-left> scrollPxLeft
map <c-right> scrollPxRight
map <a-s-f12> debugBackground
map <s-f12> focusOrLaunch url="vimium://options" \
  reuse="reuse-in-cur-wnd"

run <v-sia> searchInAnother##keyword=$s mask
run GG sia g
run Gt sia t
run GT sia t.e
run Gd sia d
run Gb sia b
run Gs sia g.s

map Gn toggleVomnibarStyle
map FF showTip \
  text="Maybe\u0020Caps\u0020Lock\u0020is\u0020ON\u0020!!!"
map <a-s-d> closeDownloadBar

#shortcut createTab position="end"
#shortcut userCustomized1 command="autoOpen" keyword="dict"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants