Skip to content

mcarn/utils.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛠️ utils.nvim

A simple neovim plugin with some util methods.

Features

  • loader: loads plugins with a failsafe mechanism.
  • mapper: normal, insert and visual mapping helpers.
  • table: map checkers such as contains, empty, return keys and values.

Requirements

  • neovim 0.5 or newer

Installation

local plugins = {"mcarn/utils.nvim"}
require("lazy").setup(plugins, opts)

Usage

Loader

local reqload = require("mcarn.loader").reqload
reqload("config.gruvbox")

Mapper

local nmap = require("mcarn.mapper").nmap
nmap("n", "nzzzv")

Table

local contains = require("mcarn.table").contains
contains(opt, "key") -- returns true or false

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages