Neovim for Beginners —Lua Autocmd and Keymap Functions

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.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store