Oni: Shift + Space rendered as ;2u in Terminal Mode

Created on 21 Jun 2018  ·  4Comments  ·  Source: onivim/oni

Oni Version:
oni version 0.3.4

Neovim Version (Linux only):
nvim --version
NVIM v0.3.0-1184-g4744142fa

Operating System:
Description: Ubuntu 16.04.4 LTS

Issue:
Shift + Space in terminal mode is displayed as ;2u

Expected behavior:
Just a simple Space

Actual behavior:
displayed as ;2u

Steps to reproduce:
Without any init.vim it's reproducible

image

bug help wanted

Most helpful comment

Similarly on macOS I get 2;2u when I do shift-space. Apparently I've been mashing my keys for years without realising 🤦‍♂️ I believe everything else treats shift-space and space as equivalent and I'd love it if Oni did the same. This only seems to affect terminal mode.

As a temporary workaround, this is easy to fix by remapping Shift-space to just space:

tnoremap <s-space> <space>

All 4 comments

Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.

I get [32;2u when I do Shift-Space on Windows, in both Oni and Nvim-QT.
I get Space as expected though in nvim terminal.

That is with master of Oni, and master of Neovim.

Similarly on macOS I get 2;2u when I do shift-space. Apparently I've been mashing my keys for years without realising 🤦‍♂️ I believe everything else treats shift-space and space as equivalent and I'd love it if Oni did the same. This only seems to affect terminal mode.

As a temporary workaround, this is easy to fix by remapping Shift-space to just space:

tnoremap <s-space> <space>

I've had the same thing with neovim-qt and put the workaround that @benjie suggests in my nvimrc.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TalAmuyal picture TalAmuyal  ·  3Comments

timeyyy picture timeyyy  ·  3Comments

zxiest picture zxiest  ·  3Comments

grz8 picture grz8  ·  3Comments

akinsho picture akinsho  ·  3Comments