Skip to content

0x5a4/oogway.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

oogway.nvim

There are no accidents.

dashboard

Integrated into dashboard-nvim

standalone

Standalone(uses vim.notify)

Features

  • Dispense 30 wisdoms that will surely help you find motivation again
  • Slack of at work by looking at 4 astonishing images of Master Oogway!
  • Send your friends to the Spirit realm by being as Zen as the Master himself

Installation

  • lazy.nvim

      {
        "0x5a4/oogway.nvim",
        cmd = { "Oogway"} -- for lazy loading
      },
  • packer.nvim

    use "0x5a4/oogway.nvim"
  • vim-plug

    Plug '0x5a4/oogway.nvim'

Usage

  • Using the very handy Oogway command

  • Using the lua API

    local oogway = require("oogway")
    -- Do what the command does (print wisdom and image)
    oogway.sense_the_dragon_warrior()
    
    -- Returns a random Oogway quote
    oogway.what_is_your_wisdom()
    
    -- Returns a random Oogway image
    oogway.inspire_me()
    
    -- Returns all possible wisdoms
    oogway.wisdoms()
    
    -- Returns all possible images
    oogway.oogways()

Using with folke/zen-mode.nvim

Dispense a wisdom every time you enter zen mode!

require("zen-mode").setup({
    on_open = function()
        require("oogway").sense_the_dragon_warrior()
    end
})

Using with goolord/alpha-nvim

local dashboard_theme = require("alpha.themes.dashboard")
local oogway = require("oogway")
dashboard_theme.footer.val = oogway.what_is_your_wisdom()
dashboard_theme.header.val = oogway.inspire_me();

require("alpha").setup(dashboard_theme.opts)

Using with nvimdev/dashboard-nvim

local oogway = require("oogway")
require("dashboard").setup({
    config = {
        header = vim.fn.split(oogway.inspire_me(), "\n"),
        footer = { oogway.what_is_your_wisdom() },
    }
})

Credits

About

Be enlightened by Master Oogway!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages