Skip to content

SR-MyStar/antonym.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

antonym.nvim

Super-simple neovim plugin for cycling through antonyms/words related to word under cursor

Install

lazy.nvim

{
  "SR-MyStar/antonym.nvim",
  opts = {
    -- ...
  },
}

or use Lazy-load feature

{
  "SR-Mystar/antonym.nvim",
  lazy = true,
  cmd = "Antonym",
  opts = {
    -- ...
  },
  keys = {
    -- ...
  },
}

Configuration

If you only want cycling through antonym

opts = {
    only_antonym = true,
    words = {
        ["example1"] = "antonym1",
        ["example2"] = "antonym2",
    }
}

else, you can do it

opts = {
    words = {
        { "example1", "other-word1","other-word2" },
        { "example2", "other-word1","other-word2" },
    }
}

Using

:Antonym

or, use lua

:lua require("antonym").change()

About

Super-simple neovim plugin for cycling through antonyms/words related to word under cursor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages