Skip to content

Instantly share code, notes, and snippets.

#! /bin/sh
if [[ -x $(which apt 2>&1) ]]; then
exec apt install -y $@
elif [[ -x $(which apk 2>&1) ]]; then
exec apk add $@
elif [[ -x $(which dnf 2>&1) ]]; then
exec dnf install -y $@
elif [[ -x $(which yum 2>&1) ]]; then
exec yum install -y $@
@u0d7i
u0d7i / disable_vim_auto_visual_on_mouse.txt
Last active February 27, 2024 14:08
Disable vim automatic visual mode on mouse select
Disable vim automatic visual mode on mouse select
issue: :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