<commit_before>alias rsync-fast="rsync -HAXxv --numeric-ids --progress -e \"ssh -T -c arcfour128 -o Compression=no -x\""
fnd () {find . -name "*$1*"}
alias tailf="tail -f -n 0"
grep () {command grep $@ | command grep -v grep}
alias rgrep="grep -r -n --color=always"

_emacsd_is_running () {emacsclient --eval "(progn (ignore))" > /dev/null 2>&1}
_emacsd_stop () {
    emacsclient --eval "(progn (setq kill-emacs-hook nil) (kill-emacs))"
}
emacsd-stop () {
    if _emacsd_is_running ; then
        _emacsd_stop
    else
        echo "Emacs is not running"
    fi
}
emacsd-restart () {
    if _emacsd_is_running ; then
        _emacsd_stop
        echo "Emacs daemon stopped"
    fi
    local p
    p=`env echo $PATH`
    PATH="$p" KONSOLE_DBUS_SESSION=true command emacs --daemon
    echo "Emacs daemon started"
}
emacs () {
    local p
    p=`env echo $PATH`
    # KONSOLE_DBUS_SESSION enables TrueColor support
    # https://gist.githubusercontent.com/bsuh/bab7eeb8bda2421ac01c760c90668100/raw/bf8da47cba044249fe75ef1f6a1c78e208ef0e19/gistfile1.diff
    PATH="$p" KONSOLE_DBUS_SESSION=true emacsclient -t --alternate-editor="" $@
}

alias vim="emacs"
alias clip="nc -U ~/.clipper.sock"<commit_msg>Remove vim alias to emacs<commit_after>alias rsync-fast="rsync -HAXxv --numeric-ids --progress -e \"ssh -T -c arcfour128 -o Compression=no -x\""
fnd () {find . -name "*$1*"}
alias tailf="tail -f -n 0"
grep () {command grep $@ | command grep -v grep}
alias rgrep="grep -r -n --color=always"

_emacsd_is_running () {emacsclient --eval "(progn (ignore))" > /dev/null 2>&1}
_emacsd_stop () {
    emacsclient --eval "(progn (setq kill-emacs-hook nil) (kill-emacs))"
}
emacsd-stop () {
    if _emacsd_is_running ; then
        _emacsd_stop
    else
        echo "Emacs is not running"
    fi
}
emacsd-restart () {
    if _emacsd_is_running ; then
        _emacsd_stop
        echo "Emacs daemon stopped"
    fi
    local p
    p=`env echo $PATH`
    PATH="$p" KONSOLE_DBUS_SESSION=true command emacs --daemon
    echo "Emacs daemon started"
}
emacs () {
    local p
    p=`env echo $PATH`
    # KONSOLE_DBUS_SESSION enables TrueColor support
    # https://gist.githubusercontent.com/bsuh/bab7eeb8bda2421ac01c760c90668100/raw/bf8da47cba044249fe75ef1f6a1c78e208ef0e19/gistfile1.diff
    PATH="$p" KONSOLE_DBUS_SESSION=true emacsclient -t --alternate-editor="" $@
}

alias vim="TERM=xterm-256color vim"
alias clip="nc -U ~/.clipper.sock"
{'fraction_non_alphanumeric': 0.13602638087386645, 'fraction_numerical': 0.0416323165704864, 'mean_word_length': 3.310834813499112, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3935583', 'n_tokens_mistral': 1033, 'n_tokens_neox': 958, 'n_words': 218}