I'm sure this is just how it is instead of being a bug but I didn't find what I was looking for in the help files so...

Way back when, I used Brief as my only text editor (DOS/Windows) and that meant heavy use of the Alt key. When I switched to VIM I gradually replaced all my Alt key habits with <leader> whatever so I could switch to terminals as necessary and continue to work. The one set of keys I still use all the time is Alt-n and Alt-p for next and previous buffers.

I also sometimes edit old C programs that had "ASCII graphics" in the comments to create boxes etc. The default encoding of "latin1" doesn't show those correctly so I created a map to toggle between an encoding of "latin1" and "8bit-cp437". After a while I decided to default to cp437 since everything else looked OK but then I noticed that Alt-n and Alt-p stopped working.

I find that if I'm in "latin1" and (in insert mode) type ctrl-v alt-n to insert the character then get get out of insert mode and put the cursor on the character and use "ga" to see what it is I get <M-n> but if I do the same thing when the encoding is "cp437" I get <M-^L>.

As I said, this is probably just how it is but I figured I'd ask...

Thanks,

- Dave

Reply via email to