Skip to main content
added 27 characters in body
Source Link
Michael Mrozek
  • 95.8k
  • 40
  • 245
  • 236

addAdd this to your .vimrc.vimrc:

if has("gui_running")
    "echo "yes, we have a GUI"
    set mouse=a
else
    "echo "Boring old console"
    set mouse=
endif

add this to your .vimrc:

if has("gui_running")
   "echo "yes, we have a GUI"
   set mouse=a
else
   "echo "Boring old console"
   set mouse=
endif

Add this to your .vimrc:

if has("gui_running")
    "echo "yes, we have a GUI"
    set mouse=a
else
    "echo "Boring old console"
    set mouse=
endif
Source Link

add this to your .vimrc:

if has("gui_running")
   "echo "yes, we have a GUI"
   set mouse=a
else
   "echo "Boring old console"
   set mouse=
endif