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?

THANKS!!


-- 
View this message in context: 
http://www.nabble.com/Key-remapping-doesn%27t-work-tf2382854.html#a6641190
Sent from the Vim - General mailing list archive at Nabble.com.

Reply via email to