> On 6Oct2015, at 22:39, [email protected] wrote:
> 
> I want to edit a LaTeX source file, using (g)vim and suitable names, to add 
> \index{…} commands.
>  
> In particular, I want to be able to position the cursor anywhere on a word
> or selection to be indexed, and then type something like \ind
> to add an \index{…} command to the text, where … is the current word.

I eventually found some excellent mappings for such purposes on

http://tex.stackexchange.com/questions/172342/what-are-some-vim-macros-to-assist-indexing-a-book
 
<http://tex.stackexchange.com/questions/172342/what-are-some-vim-macros-to-assist-indexing-a-book>

Ken

********************************
Kenneth R. Beesley, D.Phil.
PO Box 540475
North Salt Lake UT 84054
USA





-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to