Hi,

pwnb0t wrote:
> Alright, I said it worked, but then I haven't used vim since.
> 
> Now I'm back to using it and ":set cpo+=I" does not seem to work
> I have tried several combinations of enabling and disabling
> autoindent, smartindent, and cindent to see if that would do anything

the 'I'-flag in 'cpoptions' only keeps the current indent if you leave
the line by pressing cursor-up or cursor-down. If you press enter the
indent is removed. The only working solution I know of is to

  :inoremap <cr> x<bs><cr>

Regards,
Jürgen

-- 
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us.     (Calvin)

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to