diff --git a/blubb.md b/blubb.md new file mode 100644 index 0000000..08fba68 --- /dev/null +++ b/blubb.md @@ -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). diff --git a/lua/ghengis.lua b/lua/ghengis.lua index 3d88c4a..cc3ded2 100644 --- a/lua/ghengis.lua +++ b/lua/ghengis.lua @@ -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