On Feb 15, 2011 7:46 AM, "Jay Boyson" <[email protected]> wrote: > Thank you for the response. I am missing that line in my vimrc file. I did > create a mail.vim file but I was wondering what I was missing... > > Thanks again, I appreciate it. > On Feb 14, 2011 2:16 PM, "Christian Brabandt" <[email protected]> wrote: >> Hi Jay! >> >> On So, 13 Feb 2011, Jay Boyson wrote: >> >>> I am using mutt and vim as my editor. my goal is to set the cursor >>> position to the first empty line wehn composing a new message. I also >>> want to have spell checking enabled in vim. Right now i have set >>> editor="vim '+/^$'" in my muttrc file. I need to add set editor="vim >>> -c \"set spell spelllang=en\"". Can anyone tell me the proper syntax >>> to put this all on one line? >> >> If your (or your systems vimrc) contains the >> :filetype plugin on >> statement (use :filetype to find out your settings), vim will >> automatically detect mutt files as filetype mail. In that case, you can >> simply drop all mail specific settings into ~/.vim/ftplugin/mail.vim >> of even ~/.vim/after/ftplugin/mail.vim (create files or directories if >> needed) if you want those settings to override filetype plugin specific >> settings. >> >> In other words, you don't need to take care of quoting for setting the >> editor in your .muttrc file, simply set it to vim and put all settings >> into a single file. >> >> If your vimrc does not contain this line, I suggest to add it. >> >> Mit freundlichen Grüßen >> Christian >> -- >> Keine Vorwürfe über Vergangenes, nun doch nicht zu Änderndes! Jeder >> Tag bestehe für sich! >> -- Johann Wolfgang von Goethe >> >> -- >> You received this message from the "vim_use" maillist. >> Do not top-post! Type your reply below the text you are replying to. >> For more information, visit http://www.vim.org/maillist.php
-- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
