Follow

bash scripting 

I've been slowly becoming more evil ever since I learned you can have terminals in gvim.

function :e () {
gvim --remote-send '<C-W>:e '"$(realpath "$1")"'<CR>'
}

function command_not_found_handle ()
{
case "$1" in :*) gvim --remote-send '<C-W>'"$*"'<CR>'; return 0;; esac

/usr/lib/command-not-found -- "$1";
return $?;
}
Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!