feat: copy file:lineno to clipboard
This commit is contained in:
parent
c099538626
commit
a8e3aa68ae
|
@ -102,7 +102,7 @@ endfunction
|
|||
function! YankFileLineNo()
|
||||
let yl=expand("%") . ':' . line(".")
|
||||
call system('tmux set-buffer "'.yl.'"')
|
||||
"let @+=yl
|
||||
call system(g:xcopy, yl)
|
||||
endfunction
|
||||
|
||||
xnoremap <leader>y <esc>:call XCopy()<CR>
|
||||
|
|
Loading…
Reference in New Issue
Block a user