Saturday, December 7, 2013

Re: autocompletion for html (and other things)

On Saturday, December 7, 2013 10:03:39 PM UTC+2, Gallagher Polyn wrote:
> I'm easing into vim by using it while following along some online coding tutorials (nice thing about this approach is I'm challenged to emulate the video IDE functioning with vim!)
>
> Anyway, it seems to me there must be an easy ways to get autocompletion for html (and other standard tag systems), but nothing I've found, yet, seems to offer a sure shot -- maybe there are multiple approaches!
>
> How can I configure vim to allow me to type this...
>
> <html>
>
> ...and have the closing tag created, too...
>
> </html>
>
> Thanks,
>
> G

Vim is a text-editor not an IDE. Auto-completion is a feature of an IDE not a text-editor.

You can always use a plugin like Snipmate (https://github.com/garbas/vim-snipmate) or you can use CTRL+n if the word already exists in a buffer in vim.

--
--
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: