summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2023-06-14 15:47:33 -0500
committerluxagraf <sng@luxagraf.net>2023-06-14 15:47:33 -0500
commit025920261ba58cf9eacc15eb0ca1fa9eb0930720 (patch)
tree9087f263768921097dd773ebec82e7861d6bfc4e /.vimrc
parent62a55a6799a982ed834ecae4479b7338996eed54 (diff)
latest lenovo dotfile changes
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index f5733b4..574f678 100644
--- a/.vimrc
+++ b/.vimrc
@@ -69,9 +69,11 @@ let @w ='i cheers Scott Gilbertson -- <sng@luxagraf.net> <scott_gilbertson@wir
let @t ='iThank you for your help. '
let @h ="iHello, my name is Scott Gilbertson and and I am a product writer with WIRED's Gear team. I am reaching out because we're working on an article about "
let @d ='<div class="cluster"> <span class="row-2"> </span> </div>'
+
" get rid of line breaks in paragraphs
let @p ='g/^./ .,/^$/-1 join'
let @v='/a bit|a little|sort of|kind of|rather|quite|very|too|pretty much'
+:iab <expr> tds strftime("%Y-%m-%d %a")
" }}}
" Convenience mappings {{{
@@ -79,6 +81,11 @@ let @v='/a bit|a little|sort of|kind of|rather|quite|very|too|pretty much'
"for rewrapping things when composing email
map <leader>q gq}
+augroup mail_filetype
+ autocmd!
+ autocmd VimEnter /tmp/mutt* set formatoptions=aw tw=72
+augroup END
+
"uppercase words
nnoremap <leader>up :%s/\<./\u&/g<cr>
"Lowercase words