Yank or Copy content of doHover #5157
-
Beta Was this translation helpful? Give feedback.
Answered by
dorukozerr
Oct 25, 2024
Replies: 2 comments 5 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
4 replies
-
You can create a function to copy popup content, like: function! CopyPopupBufferToClipboard()
let buffers = getbufinfo({'bufloaded': 1, 'buftype': 'nofile'})
for buf in buffers
if has_key(buf, 'popups') && len(buf.popups) > 0
let lines = getbufline(buf['bufnr'], 1, '$')
call setreg('*', lines)
echo "已将 popup 窗口的内容复制到系统剪贴板。"
return
endif
endfor
echo "未找到任何 popup 窗口。"
endfunction Chekcout |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tsc filename.ts --declaration --emitDeclarationOnly
This generates what I need, and I am posting this for a solution. Stack overflow solution