Skip to content

Neovim lua plugin for code execution and playground πŸ›

License

Notifications You must be signed in to change notification settings

wasp-byte/george.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

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

About

Neovim lua plugin for code execution and playground πŸ›

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages