1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-29 00:34:26 +03:00

GH-441 set mouse=a when launching neovim process

- neovim turned `mouse` off by default. It'll eventually turn it on again, until then, we turn it on when launching the process
This commit is contained in:
Tae Won Ha 2017-05-09 07:45:57 +02:00
parent f506c64a68
commit c26f4d1441
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -186,6 +186,7 @@ public class NeoVimView: NSView, NeoVimUiBridgeProtocol, NSUserInterfaceValidati
// Neovim is ready now: resize neovim to bounds.
DispatchQueue.main.async {
self.agent.vimCommand("set mouse=a")
self.agent.setBoolOption("title", to: true)
self.agent.setBoolOption("termguicolors", to: true)