Tuesday, June 18, 2013

Re: txtfmt not starting the prompt on \i

On Tuesday, June 18, 2013 2:16:03 AM UTC-5, ankur gupta wrote:
> Hello,
>
>
>
> I have extracted the tar file for txtfmt and then open a new file with vim.
>
> Then I tried following commands:
>
> :set ft=txtfmt
>
> :let maplocalleader = "-"
>
> :map -\ \DoItNow
>
>
>
> Now I was hoping to get the pompt after typing -\i (in the normal mode) to
>
> allow me change the color etc. But typing -\i or \i gets me into the Insert
>
> mode of vim. The :MakeTestPage command is showing me different colors and
>
> formats, (but I couldn't do the same in a new file or the scratch space
>
> opened with MakeTestPage).
>
>
>
> Can someone recommend me steps to activate the prompt using <LocalLeader>.
>

Assuming txtfmt is set up to follow the local leader, try setting filetype AFTER setting the localleader. Also try typing -i instead of -\i, the local leader REPLACES the \, it does not PRECEDE the \.

--
--
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 because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: