dotfiles/config/nvim/after/ftplugin/help.lua
Fernando Schauenburg 97839fa58b vim: use vim.keymap instead of custom functions
`vim.keymap` was introduced in nvim 0.7, so this is the minimum  version
required for this to work.
2022-07-01 21:37:04 +02:00

3 lines
83 B
Lua

local nmap = require 'fs.util'.nmap
nmap { 'q', '<cmd>q<cr>', { buffer = true } }