-
Notifications
You must be signed in to change notification settings - Fork 190
mini.starter
Evgeni Chasnovski edited this page May 9, 2022
·
1 revision
Use MiniStarterOpened
event to make buffer-local mappings. Example of using <Left>
and <Right>
arrow keys to move between items:
vim.cmd([[
augroup MiniStarterKeymaps
au!
au User MiniStarterOpened nmap <buffer> <Left> <Cmd>lua MiniStarter.update_current_item('next')<CR>
au User MiniStarterOpened nmap <buffer> <Right> <Cmd>lua MiniStarter.update_current_item('prev')<CR>
augroup END
]])