Fix linum hangs doc view
Add auto-complete mode for octave-mode
Add init for doc view mode