Various MUA related config files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.vimrc 968B

123456789101112131415161718192021222324252627282930313233
  1. syn on
  2. " Enable Ctrl+Backspace deleting the last word
  3. :imap <C-BS> <C-W>
  4. set nocompatible " no vi compatible, seems to be good
  5. set expandtab " covert TAB to spaces
  6. set shiftwidth=2 " width of tabs
  7. set softtabstop=2 " width of tabs
  8. " Ctrl copy/cut paste behaviour
  9. vmap <C-c> "+yi
  10. vmap <C-x> "+c
  11. vmap <C-v> c<ESC>"+p
  12. imap <C-v> <C-r><C-o>+
  13. " Reformat shortcuts
  14. nmap <F1> gqap " re-format the current paragraph correctly
  15. nmap <F2> gqqj " format a line which is too long, and go to the next line
  16. nmap <F3> kgqj " merge the previous line with the current one, with a correct formatting
  17. map! <F1> <ESC>gqapi
  18. map! <F2> <ESC>gqqji
  19. map! <F3> <ESC>kgqji
  20. " Arrow left moves up line when at position 0
  21. set whichwrap+=<,>,[,]
  22. " ASTROID
  23. autocmd BufRead /home/max/.cache/astroid/* :source ~/.vim/advanced.vim
  24. autocmd BufRead /home/max/.cache/astroid/* :source ~/.vim/astroid.vim
  25. " Thunderbird
  26. autocmd BufRead /tmp/*.eml :source ~/.vim/advanced.vim