RishabhRD / nvim-cheat.sh

cheat.sh integration for neovim in elegant way
152 stars 8 forks source link

Set filetype to make it easier to exit the cheatsheet window by pressing q. #15

Open sebastiandevops opened 1 year ago

sebastiandevops commented 1 year ago

After updating init.lua you should be able to add the mapping via an autocmd now like autocmd FileType cheat command = "nnoremap q :bdelete!" to close floating window by pressing just q