So i found some helpful vim-hints on a page. Mostly stuff for .vimrc
I found out that i didn't have a .vimrc, so i made one, with this in it:
if strpart( getline('.'), 0, col('.')-1 ) =~ '^s*$'
inoremap <Tab> <C-R>=CleverTab()<CR>
i am not sure how the pastegoogle is supposed to act, so i don't know if that's failing. I did notice that "syntax on" (highlighting) isn't working, at all, neither is the autocomplete-script at the bottom.
I write, for example, this:
Then this happens when i write $ni hit tab:
some words with tab, this is what i get:
- Does anyone know why the highlighting and the tabcomplete-script is failing?
Whenever i press tab, i get "<C-N>". The text i found (in norwegian, or else i would have linked to it) said that i would be able to "tab" as normal..