Re: mutt and vim playing together

2012-01-01 Thread Kai Weber
* Christian Brabandt cbli...@256bit.org: You really should put your settings into ~/.vim/after/ftplugin/mail.vim I went this way. Thank you very much. -- 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

Re: mutt and vim playing together

2011-12-29 Thread Marc Weber
Excerpts from Kai Weber's message of Thu Dec 29 14:00:59 +0100 2011: So everytime I edit a mail the first line and following manually inserted blank lines are highlighted. Why do you need this? Use syntax commands instead. Eg :syn match Error /The/ matches the characters The While hlsearch

Re: mutt and vim playing together

2011-12-29 Thread sc
On Thursday, December 29, 2011 07:00:59 Kai Weber wrote: Hi, I use vim in combination with mutt. To start vim I have following setting in my muttrc: [snip] Any other recommendations for a good mail editing workflow? when i used mutt i liked having the flexibility of a mail script for vim,

Re: mutt and vim playing together

2011-12-29 Thread Tim Chase
On 12/29/11 08:16, Kai Weber wrote: * Marc Webermarco-owe...@gmx.de: So everytime I edit a mail the first line and following manually inserted blank lines are highlighted. Why do you need this? Use syntax commands instead. Syntax highlighting is not what I look for. What I want to achieve

Re: mutt and vim playing together

2011-12-29 Thread Dominique Pellé
Tim Chase wrote: On 12/29/11 08:16, Kai Weber wrote: * Marc Webermarco-owe...@gmx.de: So everytime I edit a mail the first line and following manually inserted blank lines are highlighted. Why do you need this? Use syntax commands instead. Syntax highlighting is not what I look for.

Re: mutt and vim playing together

2011-12-29 Thread Kai Weber
* Tim Chase v...@tim.thechases.com: You could just issue a noh after your search: vim +'/^$/' -c'set hls' -c'noh' should do the trick (I don't have 'hls' set in my vimrc, so I added it on the command-line to test). Yes it does! Thanks a lot. Did not know about -c until now. -- You

Re: mutt and vim playing together

2011-12-29 Thread Tim Chase
On 12/29/11 10:38, Dominique Pellé wrote: Tim Chase wrote: On 12/29/11 08:16, Kai Weber wrote: What I want to achieve is jumping to the first blank line where I can start typing my mail instantly. So I search for ^$ and vim jumps to the first occurrence (with the consequences I wrote in my

Re: mutt and vim playing together

2011-12-29 Thread Kai Weber
* Marc Weber marco-owe...@gmx.de: So everytime I edit a mail the first line and following manually inserted blank lines are highlighted. Why do you need this? Use syntax commands instead. Syntax highlighting is not what I look for. What I want to achieve is jumping to the first blank

Re: mutt and vim playing together

2011-12-29 Thread Christian Brabandt
Hi Kai! On Do, 29 Dez 2011, Kai Weber wrote: * Marc Weber marco-owe...@gmx.de: So everytime I edit a mail the first line and following manually inserted blank lines are highlighted. Why do you need this? Use syntax commands instead. Syntax highlighting is not what I look for.

mutt and vim playing together

2011-12-29 Thread Kai Weber
Hi, I use vim in combination with mutt. To start vim I have following setting in my muttrc: # use vim and skip to the first blank line set editor = vim +:silent+/^$ In my vimrc I have set hlsearch So everytime I edit a mail the first line and following manually inserted blank lines are