Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CTRL shortcuts not working properly on Linux #14085

Closed
1 task done
aminya opened this issue Jul 10, 2024 · 4 comments
Closed
1 task done

CTRL shortcuts not working properly on Linux #14085

aminya opened this issue Jul 10, 2024 · 4 comments
Labels
support User support (non-defect troubleshooting, documentation, etc)

Comments

@aminya
Copy link
Contributor

aminya commented Jul 10, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

I tried the recently released Zed build for Linux, however, I could not work on a codebase for long, and the main issue is that CTRL doesn't work as expected. The critical affected shortcuts I expect to work:

CTRL + C:  copy
CTRL + V: paste
CTRL + A: select all

Environment

Zed 0.143.6 – /home/aminya/.local/zed.app/libexec/zed-editor

neofetch
             `..---+/---..`              
         `---.``   ``   `.---.`            -----------------------
      .--.`        ``        `-:-.         OS: KDE neon 6.0 x86_64
    `:/:     `.----//----.`     :/-     
   .:.    `---`          `--.`    .:`      Kernel: 6.5.0-41-generic
  .:`   `--`                .:-    `:.     Uptime: 27 mins
 `/    `:.      `.-::-.`      -:`   `/`    Packages: 3095 (dpkg), 83 (brew), 40 (flatpak), 25 (snap)
 /.    /.     `:++++++++:`     .:    .:    Shell: bash 5.1.16
`/    .:     `+++++++++++/      /`   `+`   Resolution: 2560x1440, 2560x1440
/+`   --     .++++++++++++`     :.   .+:   DE: Plasma 6.1.2
`/    .:     `+++++++++++/      /`   `+`   WM: KWin
 /`    /.     `:++++++++:`     .:    .:    Theme: Breeze-Dark [GTK2], Breeze [GTK3]
 ./    `:.      `.:::-.`      -:`   `/`    Icons: breeze-dark [GTK2/3]
  .:`   `--`                .:-    `:.     Terminal: WarpTerminal
   .:.    `---`          `--.`    .:`      
    `:/:     `.----//----.`     :/-      
      .-:.`        ``        `-:-.        
         `---.``   ``   `.---.`           
             `..---+/---..`

(copy system specs into clipboard doesn't work on Linux)

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log
@aminya aminya added admin read bug [core label] labels Jul 10, 2024
@ChristoferMendes
Copy link

For me, CTRL + J (for open terminal) does not work either.

However, the ones you mentioned worked for me

@aminya
Copy link
Contributor Author

aminya commented Jul 10, 2024

I think the issue is that I had a ~/.config/zed/keymap.json file already remaining from the time I was working on the Linux builds. Removing that file fixes the behaviour.

@llogick
Copy link
Contributor

llogick commented Jul 10, 2024

For me, CTRL + J (for open terminal) does not work either.

However, the ones you mentioned worked for me

Weird, I just posted about this on Discord :)

The issue is there are conflicting bindings for 'ctrl-j'
If the Editor has focus JoinLines is triggered, if you toggle the left dock on(or off on so it grabs focus) - you get ToggleBottomDock.

@notpeter
Copy link
Member

Weird, I just posted about this on Discord :)

The issue is there are conflicting bindings for 'ctrl-j' If the Editor has focus JoinLines is triggered, if you toggle the left dock on(or off on so it grabs focus) - you get ToggleBottomDock.

Thanks for pointing this out. I've opened a PR to fix this:

@notpeter notpeter added support User support (non-defect troubleshooting, documentation, etc) and removed bug [core label] triage labels Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support User support (non-defect troubleshooting, documentation, etc)
Projects
None yet
Development

No branches or pull requests

4 participants