Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save cequencer/d63a117de57d20fbc2ffd38f8b2bdd23 to your computer and use it in GitHub Desktop.

Select an option

Save cequencer/d63a117de57d20fbc2ffd38f8b2bdd23 to your computer and use it in GitHub Desktop.

Revisions

  1. @u0d7i u0d7i revised this gist Jan 25, 2020. 1 changed file with 6 additions and 1 deletion.
    7 changes: 6 additions & 1 deletion disable_vim_auto_visual_on_mouse.txt
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,9 @@
    Disable vim automatic visual mode on mouse select

    issue: :set mouse-=a
    add to ~/.vimrc: set mouse-=a
    add to ~/.vimrc: set mouse-=a

    my ~/.vimrc for preserving global defaults and only changing one option:

    source $VIMRUNTIME/defaults.vim
    set mouse-=a:
  2. @u0d7i u0d7i created this gist Aug 8, 2015.
    4 changes: 4 additions & 0 deletions disable_vim_auto_visual_on_mouse.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    Disable vim automatic visual mode on mouse select

    issue: :set mouse-=a
    add to ~/.vimrc: set mouse-=a