Configuring shortcuts in the Pantheon terminal

Discussion in 'Newbie Questions' started by Anthony Naddeo, Sep 21, 2016.

  1. Anthony Naddeo

    Anthony Naddeo Thread Starter
    Expand Collapse
    New Member

    Joined:
    Sep 21, 2016
    Messages:
    4
    Likes Received:
    2
    Just trying ElementaryOS for the first time. So far, everything is looking very polished, so thanks for the hard work!

    I did notice that there is no settings menu for the terminal though. I was able to tweak some stuff using dconf editor but I wasn't able to find a way to modify the keyboard shortcuts. This wouldn't be a problem normally, but the elementary os terminal is binding ctrl+v to paste, which is usually reserved for other terminal key binds. In particular, it is conflicting with my buffer split key binds in Vim. Also, I tend to switch the next/previous tab shortcuts too, which I'm still stuck on without using something like autokey.

    How can I modify these shortcuts?
     
  2. Anthony Naddeo

    Anthony Naddeo Thread Starter
    Expand Collapse
    New Member

    Joined:
    Sep 21, 2016
    Messages:
    4
    Likes Received:
    2
    Update:

    Looks like I found a way around this. There appears to be a setting for natural copy/paste that is behind the ctrl+v keybind that I'm trying to get rid of. You can disable it using dconf-editor, or the following command:

    gsettings set org.pantheon.terminal.settings natural-copy-paste false
     
    Luciano and paradise like this.
  3. Anthony Naddeo

    Anthony Naddeo Thread Starter
    Expand Collapse
    New Member

    Joined:
    Sep 21, 2016
    Messages:
    4
    Likes Received:
    2
    Another follow up for anyone who is interested.

    I was able to use autokey (which is awesome) to hack around my other keybindings. You can get it with apt:

    sudo apt-get install autokey-gtk

    You can create phrases that are like hotkey mappings. In my case, I may my preferred hotkey to the elementary terminal one. The window filter is pantheon-terminal.Pantheon-terminal.
     
  4. Luciano

    Luciano
    Expand Collapse
    New Member

    Joined:
    Apr 18, 2020
    Messages:
    1
    Likes Received:
    0
    Hi, thanks a lot for the info, I was also struggling with the elementary os terminal ctrl+v binding when using Vim.

    Just a quick update to the argument :

    gsettings set io.elementary.terminal.settings natural-copy-paste false
     

Share This Page

Loading...