On 10/4/06, VetteVert <[EMAIL PROTECTED]> wrote:

I'm not sure what my problem is, so I will try to give all the details that
could be relavant.

I'm using vim 6.3 on a solaris box.  I am connecting through putty (ssh)
from a wintel box with a 104+ keyboard (US).

Scripts like supertab don't work, and when I try to remap tab manually, it
doesn't work either...like so:
----------------------------
function CleverTab()
   let col = col('.') - 1
   if !col || getline('.')[col - 1] !~ '\k'
      return "\<tab>"
   else
      return "\<c-p>"
   endif
endfunction

inoremap <tab> <c-r>=CleverTab()<cr>
---------------------------
Tab just acts like normal.  even doing 'inoremap <tab> <c-p>' doesn't work.
Any ideas?

Is your 'nocp' option properly set ? (it must be 'nocp') ?

Yakov

Reply via email to