Skip to content

Commit dfeaf46

Browse files
Added mouse/nomouse options.
1 parent 41799b6 commit dfeaf46

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pyvim/commands/commands.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -591,3 +591,14 @@ def enable_wrap(editor):
591591
def disable_wrap(editor):
592592
" disable line wrapping. "
593593
editor.wrap_lines = False
594+
595+
@set_cmd('mouse')
596+
def enable_mouse(editor):
597+
" Enable mouse . "
598+
editor.enable_mouse_support = True
599+
600+
601+
@set_cmd('nomouse')
602+
def disable_mouse(editor):
603+
" disable mouse. "
604+
editor.enable_mouse_support = False

0 commit comments

Comments
 (0)