dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | Submodules | README | LICENSE

correct.vim (574B)


      1 let user_correct_dict = {
      2             \ 'Anders': ['ANders'],
      3             \ 'anders@adamsgaard.dk': ['@@'],
      4             \ 'https://adamsgaard.dk': ['adweb'],
      5             \ }
      6 
      7 augroup litecorrect
      8     autocmd!
      9     autocmd FileType mail,markdown,tex call litecorrect#init(user_correct_dict)
     10 augroup END
     11 
     12 augroup danish_symbols
     13     " escape any of these by pressinv C-v before inserting the character
     14     inoremap AE æ
     15     inoremap OE ø
     16     inoremap AA å
     17 augroup END
     18 
     19 augroup abbreviations
     20     iabbrev ssig -- <cr>Anders Damsgaard, Ph.D.<cr>https://adamsgaard.dk
     21 augroup END