An open API service indexing awesome lists of open source software.

https://github.com/wasp-byte/george.nvim

Neovim lua plugin for code execution and playground 🛝
https://github.com/wasp-byte/george.nvim

execute george lua neovim neovim-lua-plugin neovim-plugin nvim nvim-plugin playground

Last synced: 4 days ago
JSON representation

Neovim lua plugin for code execution and playground 🛝

Awesome Lists containing this project

README

          

# George

In times when you are **curious** about the output of a code snippet. George gives you the ability to execute it or open in a playground.

## Installation

lazy.nvim
```lua
return {
"wasp-byte/george.nvim",
config = function()
local george = require("george")
george.setup()
vim.keymap.set({"n", "v"}, "go", function() george.open() end)
vim.keymap.set({"n", "v"}, "gp", function() george.previous() end)
vim.keymap.set("v", "gr", function() george.run() end)
vim.keymap.set("v", "gt", function() george.time() end)
-- templates
vim.api.nvim_create_autocmd("BufNewFile", {
pattern = george.get_extensions(),
callback = function()
george.template()
end
})
end,
}
```