Skip to main content
Module

x/denops_std/option/mod.ts>mousefocus

📚 Standard module for denops.vim
Go to Latest
variable mousefocus
import { mousefocus } from "https://deno.land/x/denops_std@v4.1.3/option/mod.ts";

{only works in the GUI} The window that the mouse pointer is on is automatically activated. When changing the window layout or window focus in another way, the mouse pointer is moved to the window with keyboard focus. Off is the default because it makes using the pull down menus a little goofy, as a pointer transit may activate a window unintentionally. MS-Windows: Also see 'scrollfocus' for what window is scrolled when using the mouse scroll wheel.

type

{ get(denops: Denops): Promise<boolean>; set(denops: Denops, value: boolean): Promise<void>; reset(denops: Denops): Promise<void>; getGlobal(denops: Denops): Promise<boolean>; setGlobal(denops: Denops, value: boolean): Promise<void>; resetGlobal(denops: Denops): Promise<void>; }