justinmk / vim-dirvish

Directory viewer for Vim :zap:
Other
1.19k stars 64 forks source link

Dirvish buffer sometimes behaving as if 'compatible' is set #214

Closed Myrdden closed 2 years ago

Myrdden commented 2 years ago

Right, well, this is probably not a dirvish specific issue, it's probably something wrong with vim, or XTerm, or both... However, it only occurs in dirvish buffers, and only sometimes, so I'm not sure where else to ask...

I'm on Arch, running XTerm, running vim, and for whatever reason on this particular machine (I have others with seemingly identical setups where this doesn't occur, which is a bit baffling), the arrow keys inside the dirvish buffer specifically are behaving as if nocompatible wasn't set (even though it is), i.e. they're inserting ABCD.

All the obvious answers, nocompatible, the terminal is interpreting escape sequences wrong, etc, don't seem to apply here if it's just the one buffer, but I'm not super familiar with vim's internals to be honest so I'm probably just missing something.

Cheers!

Myrdden commented 2 years ago

I was remapping <Esc> and hence breaking the sequences. Whoops!