Sublime Forum

Problems with chars (@,~,|) in Terminus

#1

Hello Sublime Forum,

I m using Sublime Text Build 4143 on macOS 13.2 (m1 chip). I have a few strange problems with the plugin “Terminus”. I can not type characters like @, ~ or the pipe (|) in the Terminus terminal. But I can use this characters in a Sublime Text tab.

I am using a german keyboard layout. But other specific german layout keys, like < and > or -#+, are working correct. So it does not look like a keyboard layout problem. I have also tried this settings for the plugin:

"unix_lang": "de_DE.UTF-8",

But it did not helped. Does anyone have a tip for me or a similar problem? Unfortunately, I could not find any matching topics via the search. Also in the GitHub repo for Terminus I have not found any open issues.

kind gerads
nifu

0 Likes

#2

I was scrolling again in the issues in https://github.com/randy3k/Terminus/issues and found a old one from 2020. The guy had only problems with the pipe. I could fix my problem with his key bindings:

[
 {  
    "keys": ["alt+7"], 
    "command": "terminus_keypress", 
    "args": 
        {
            "key": "|"
        }, 
    "context": 
        [
            {   
                "key": "terminus_view"
            }
        ] 
},
{  
    "keys": ["alt+n"], 
    "command": "terminus_keypress", 
    "args": 
        {
            "key": "~"
        }, 
    "context": 
        [
            {   
                "key": "terminus_view"
            }
        ] 
},
 {  
    "keys": ["alt+l"], 
    "command": "terminus_keypress", 
    "args": 
        {
            "key": "@"
        }, 
    "context": 
        [
            {   
                "key": "terminus_view"
            }
        ] 
    }
]

I hope this can also help other people with similar problems.

0 Likes