Sketch out tempest neovim runtime
This commit is contained in:
parent
a456fe3781
commit
659fb33ca7
18 changed files with 783 additions and 390 deletions
home/features/neovim/plugins
15
home/features/neovim/plugins/clipboard-image.lua
Normal file
15
home/features/neovim/plugins/clipboard-image.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
local M = {}
|
||||
|
||||
function M.img_name()
|
||||
vim.fn.inputsave()
|
||||
local name = vim.fn.input("Name: ")
|
||||
vim.fn.inputrestore()
|
||||
|
||||
if name == nil or name == "" then
|
||||
return os.date("%y-%m-%d-%H-%M-%S")
|
||||
end
|
||||
|
||||
return name
|
||||
end
|
||||
|
||||
return M
|
Loading…
Add table
Add a link
Reference in a new issue