add self funcs

This commit is contained in:
Lee Tang
2022-05-16 10:52:55 +08:00
parent 9376431a92
commit b69b7c23c6
3 changed files with 7 additions and 0 deletions

5
nvim/lua/funcs.lua Normal file
View File

@@ -0,0 +1,5 @@
local fn = vim.fn
function GetPath()
fn.setreg('+', fn.getreg('%'))
end