Skip to content

How do I check whether neovim is in operator-pending mode? #1614

Answered by justinmk
sylvester-roos asked this question in Q&A
Discussion options

You must be logged in to vote

Just put it in a vim.cmd call.

vim.cmd[[nnoremap <silent> <space> <cmd>lua require('vscode-neovim').call('vspacecode.space')<cr>]]

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@sylvester-roos
Comment options

@xiyaowong
Comment options

@justinmk
Comment options

Answer selected by sylvester-roos
Comment options

You must be logged in to vote
2 replies
@theol0403
Comment options

@carschandler
Comment options

Comment options

You must be logged in to vote
2 replies
@justinmk
Comment options

@gyaaniguy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants