<commit_before>function del_char() {
del :_buf | echo -n delete :(xfkey | xfkey -h)
}
function cut_mark() {
cut :_buf | cat > :_clip
echo -n selection deleted
}
function del_cut() {
(mark_exists :_buf && cut_mark) || del_char
}
_mode=viper mode_keys :(printable)
kname=:(echo -n ' '|xfkey)
_mode=viper bind :kname { ins :_buf ' ' } { echo -n space }
_mode=viper bind move_down { capture { down :_buf; line :_buf } } { cat }
_mode=viper bind move_up { capture { up :_buf; line :_buf } } { cat }<commit_msg>\'added /v/macros/viper to scripts/viper.vsh to allow for custom any editor viper macros. Need to work on save_macro\'<commit_after>function del_char() {
del :_buf | echo -n delete :(xfkey | xfkey -h)
}
function cut_mark() {
cut :_buf | cat > :_clip
echo -n selection deleted
}
function del_cut() {
(mark_exists :_buf && cut_mark) || del_char
}
mkdir /v/macros/viper
_mode=viper mode_keys :(printable)
kname=:(echo -n ' '|xfkey)
_mode=viper bind :kname { ins :_buf ' ' } { echo -n space }
_mode=viper bind move_down { capture { down :_buf; line :_buf } } { cat }
_mode=viper bind move_up { capture { up :_buf; line :_buf } } { cat }
{'fraction_non_alphanumeric': 0.1468777484608619, 'fraction_numerical': 0.0, 'mean_word_length': 4.268518518518518, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '88157', 'n_tokens_mistral': 441, 'n_tokens_neox': 431, 'n_words': 134}