Added logging for 'moveSelectionToNewFile'
parent
cd5de83f50
commit
af683a1ffe
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
## Why that name?
|
||||
A nod to [vim.eunuch](https://github.com/tpope/vim-eunuch) – as opposed to childless eunuchs, it is said that Ghengis Khan [has fathered thousands of children](https://allthatsinteresting.com/genghis-khan-children).
|
||||
|
|
@ -22,6 +22,7 @@ local function fileOp(op)
|
|||
local prevReg
|
||||
if op == "newFromSel" then
|
||||
prevReg = fn.getreg("z")
|
||||
print("prevReg: ", prevReg)
|
||||
leaveVisualMode()
|
||||
cmd [['<,'>delete z]]
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue