Running lua function through keybinds

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • neovim

    Vim-fork focused on extensibility and usability

  • You can do it with vim.api.nvim_set_keymap by setting rhs to empty string, and passing inn a lua function in the opts table under the key callback. However, I would wait just it until this is merged: https://github.com/neovim/neovim/pull/16591

  • neovim-setup

    Discontinued Easy neovim setup with plugins

  • You can find my approach to keymapping in lua here https://github.com/monkoose/neovim-setup/blob/master/lua/conf/maps.lua

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • nest.nvim

  • (shamelessplug) nest.nvim supports binding lua functions directly while also cleaning up your kenind code ;-) (/shamelessplug)

  • vimpeccable

    Neovim plugin that allows you to easily map keys directly to lua code inside your init.lua

  • This This PR was just merged so you can expect native support for that in the next version (albeit not super pretty, but you can write your own abstraction). Until then take a look at vimpeccable.

  • mapx.nvim

    🗺 A better way to create key mappings in Neovim

  • mapx allows you to do so

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts