Added logging for 'moveSelectionToNewFile'

remotes/origin/HEAD
pseudometa 2022-11-21 22:15:22 +01:00
parent cd5de83f50
commit af683a1ffe
2 changed files with 4 additions and 0 deletions

3
blubb.md Normal file
View File

@ -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).

View File

@ -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