New answers tagged insert-mode
1
vote
Accepted
How does <cword> work in insert mode?
<cword> is mostly a command-line mode thing, not an insert mode thing. I don't think it is reliable in this context.
Here is how I would approach the initial problem:
augroup Foo
autocmd!
...
0
votes
neovim how to keep the diagnostic message in insert mode?
Try using this config.
vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(
vim.lsp.diagnostic.on_publish_diagnostics, {
-- delay update diagnostics
update_in_insert ...
Top 50 recent answers are included
Related Tags
insert-mode × 278key-bindings × 86
normal-mode × 52
vimrc × 20
neovim × 20
autocompletion × 17
vimscript × 14
cursor-movement × 11
visual-mode × 11
cut-copy-paste × 10
autocmd × 9
cursor × 8
visual-block × 7
abbreviations × 7
terminal × 6
escape × 6
command-line × 5
gvim × 5
indentation × 5
cursor-motions × 5
filetype-tex × 5
formatting × 5
unicode × 5
functions × 4
replace × 4