Refresh generated neovim config
This commit is contained in:
@ -4135,11 +4135,17 @@ Examples (Vimscript) - see below for a Lua example: >vim
|
||||
augroup END
|
||||
|
||||
" Specify extra behaviour after reverse goto
|
||||
augroup vimtex_event_4
|
||||
augroup vimtex_event_5
|
||||
au!
|
||||
au User VimtexEventViewReverse normal! zMzvzz
|
||||
augroup END
|
||||
|
||||
" Focus the terminal after inverse search
|
||||
augroup vimtex_event_6
|
||||
autocmd!
|
||||
autocmd User VimtexEventViewReverse call b:vimtex.viewer.xdo_focus_vim()
|
||||
augroup END
|
||||
|
||||
Examples - Lua: >lua
|
||||
|
||||
local au_group = vim.api.nvim_create_augroup("vimtex_events", {}),
|
||||
@ -4151,6 +4157,13 @@ Examples - Lua: >lua
|
||||
command = "VimtexClean"
|
||||
})
|
||||
|
||||
-- Focus the terminal after inverse search
|
||||
vim.api.nvim_create_autocmd('User', {
|
||||
pattern = 'VimtexEventViewReverse',
|
||||
group = au_group,
|
||||
command = "call b:vimtex.viewer.xdo_focus_vim()"
|
||||
})
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
TEXT OBJECTS *vimtex-text-objects*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user