Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right-click / context menu functions? #336

Closed
aikeru opened this issue Sep 24, 2017 · 4 comments
Closed

Right-click / context menu functions? #336

aikeru opened this issue Sep 24, 2017 · 4 comments

Comments

@aikeru
Copy link

aikeru commented Sep 24, 2017

Operating System:
Windows 10 right this moment.
Downloaded via chocolatey.

I didn't see any other issues for this... Just wondering if there are any plans to add context menu / right-click functions to neovim-qt. I know using the mouse is kind of "anti-vim", but it seems like this would be a nice feature.

Thanks so much for making neovim-qt! :)

@pcewing
Copy link

pcewing commented Jan 12, 2018

I too would like this feature but you can set it up manually in the meantime if you want it!

Here's the guide for vim; you'll want to edit the .reg files to use neovim instead:
http://vim.wikia.com/wiki/Adding_Vim_to_MS-Windows_File_Explorer_Menu

@jgehrig
Copy link
Collaborator

jgehrig commented Apr 28, 2019

I agree with @aikeru a copy-paste context menu within neovim-qt would be a nice feature. Other front-ends support such functionality.

I created a simple Pull Request to add support for the feature. #539

@jgehrig
Copy link
Collaborator

jgehrig commented Jan 9, 2020

For the sake of reference...

To enable the context menu, add the following to ginit.vim:

nnoremap <silent><RightMouse> :call GuiShowContextMenu()<CR>
inoremap <silent><RightMouse> <Esc>:call GuiShowContextMenu()<CR>
vnoremap <silent><RightMouse> :call GuiShowContextMenu()<CR>

@jgehrig
Copy link
Collaborator

jgehrig commented Jul 31, 2020

This feature is available as of v0.2.13.

Marking as closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants