#vim - Sun 6 May 2007 between 22:01 and 22:35

NY Lost Funds



tsbWell, I wouldn't say so, but why argue.
there wouldn't be anyone around who knows how to map non-ascii characters? i.e ":map <c-> ;"
if there's a way to do something like :map <c-0x42> ;" that's be great, seems you have to obey vim's list of internal mappings though?
tpopeyou use ctrl with non-ascii characters
you can't even use it with some ascii characters
just the 32
tsbtpope: oh.. on my norwegian keyboard, I have 3 buttons to the right of l and p ( ), and I'm trying to map these
tpopeif you want to use ctrl with them
you can't
tsbtpope: hm.. what about alt, alt_gr or the windows key?
tpopeactually, doubtful on those too
possibly in the gui
in insert mode, press ctrl-k, then the desired key combo
if it will work, it will show you what you can use
err, it might show you
tsbtpope: perhaps with the aid of some dark xmodmap wizardry?
I'll have a look
tpopethere's a slim possibility it won't show you, but there's still a way
xmodmap sounds more promising
tsbtpope: right. using c-k, and then c-/c-/c-, nothing is entered. it works on normal characters
tpope<C-k> has two purposes
one is digraphs
the other is this
tsbtpope: okay.. I noticed vim supports f1 up to f37 or something. cound it be possible to map <c-> to f13 using xmobmap, for instance? and then :map <f13> ?
tpopetsb, sounds at least possible
tsbtpope: right, I'll have a look at it later then. thanks.

Page: 5 

IrcArchive

NY Lost Funds