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 $?;
}