I'm trying to wrap my head around the current state of auto indent.
For the current Vim keymap looks like it never kicks in. With the
modification below basic auto-indent was enabled. However
 1. There seams to be a whole syntax-aware auto indent that I'm
missing out on. Can someone summarize where autoIndentHelperB is
applicable?
 2. Should auto-indent be handled in a keymap independent fashion?

hunk ./Yi/Keymap/Vim.hs 553
-            char 'o'     ?>> beginIns $ withBuffer0 $ moveToEol >>
insertB '\n',
+            char 'o'     ?>> beginIns $ withBuffer0 $ moveToEol >>
insertB '\n' >> indentAsPreviousB,
hunk ./Yi/Keymap/Vim.hs 576
-                       spec KEnter        ?>>! insertB '\n',
+                       spec KEnter        ?>>! do
+                            insertB '\n'
+                            indentAsPreviousB,

-- 
-Corey O'Connor

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to