tutorials_dotfiles_.exrc_jbaber
Differences
This shows you the differences between two versions of the page.
tutorials_dotfiles_.exrc_jbaber [2021/03/23 15:51] – created hc9 | tutorials_dotfiles_.exrc_jbaber [2021/03/23 16:02] (current) – hc9 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <file config dotfile> | ||
+ | " Show current mode | ||
+ | set showmode | ||
+ | |||
+ | " Allow for display of matching braces with % | ||
+ | set showmatch | ||
+ | |||
+ | " dont autowrap lines | ||
+ | set wrapmargin=0 | ||
+ | |||
+ | " trim trailing spaces | ||
+ | abbr _trim %s/ *$// | ||
+ | |||
+ | " abbreviate sinc | ||
+ | " abbr sinc | ||
+ | Sincerely yours, | ||
+ | John B. | ||
+ | " experimental sinc | ||
+ | abbr sinc mz1Gj!`zpar | ||
+ | `zi | ||
+ | Sincerely yours, | ||
+ | John B. | ||
+ | |||
+ | " Set the indentation at 2 spaces | ||
+ | " set ht=2 | ||
+ | set sw=2 | ||
+ | |||
+ | " Set g to compile with gcc | ||
+ | " map g :!gcc % | ||
+ | |||
+ | " Set g to format | ||
+ | " map g {ji !}par | ||
+ | |||
+ | " Set ^P to insert PubDate in an RSS feed | ||
+ | map Oi!$/ | ||
+ | I < | ||
+ | |||
+ | " Ignore case in searches | ||
+ | " set ignorecase | ||
+ | " Map the letter ' | ||
+ | " map g :!tth -L -u / | ||
+ | " Map the letter ' | ||
+ | " map q :!s | ||
+ | |||
+ | " Try to change the signature with g | ||
+ | map g mzG$d?^-- $ | ||
+ | ^C-- :!s | ||
+ | :read ~/ | ||
+ | |||
+ | `z | ||
+ | " Try to map _ to deleting the last two lines (for removing the URL from my signature) | ||
+ | map _ mzG$kd2d`z | ||
+ | </ | ||