Neovim for Beginners —Lua Autocmd and Keymap Functions

Neovim Lua autocmd and keymap functions.

alpha2phi
4 min readMar 16, 2022

--

Neovim for Beginners — Lua Autocmd and Keymap Functions

In our existing Neovim configuration, we use the Vimscript autocmd (:h autocmd) to execute functions and commands in response to some events (:h events). Neovim is getting better in each release and since release 0.7 Lua APIs are provided to configure autocmd the Lua way.

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.