Comments (11)
ctrl+backspace works however once I change it things become chaotic.
On top of that ctrl+w now inserts invisible characters too.
from cordless.
Hey there, thanks for creating an issue on this.
While you are right, that Ctrl+W is a less widely known variant of the shortcut, it's easily usable on every keyboard and every terminal and it's what command-line-application users are used to. Therefore I still deem it do be a good default.
However, cordless allows you to change any existing shortcut for pre-defined features, such as Delete word left
is one. You can change the shortcut via Ctrl+K, selecting relevant entry, hitting Enter ans hitting your desired key combination.
Note that right now, Ctrl+Backspace doesn't work, but Alt+Backspace will, depending on your operating system / terminal.
This is due to an underlying issue where some terminals don't differentiate between delete and backspace. Maybe this was a tcell issue and is resolved by know, i'll have to reinvestigate this.
from cordless.
Interesting. I'm using xfce4-terminal.
For some reason I also figured that the typical behavior of the vim-like delete word was slightly different from ctrl+backspace style but it does not seem to be the case (my bad I suppose), so the possibility to change the key combination for the shortcut pretty much closes this issue (at least, once it's possible to make ctrl+backspace work).
from cordless.
Hey @Greentaily can you checkout whether the latest commit solves your issue?
from cordless.
Just built from the latest commit and both ctrl+backspace and alt+backspace now seem to add invisible characters that need to be removed with normal backspace (which works) instead of deleting anything. Once I rebind the shortcut everything becomes chaotic and simply won't work, even regular backspace.
from cordless.
from cordless.
I might have poorly expressed myself. They both misbehave in my terminal. Even if I bind the shortcut to ctrl+w now, they both add invisible characters.
from cordless.
Yeah, I added another workaround. Can you try again please?
from cordless.
I noticed after I've committed haha. I now ignore all characters that aren't runes, tab or newline.
Also, what do you mean with chaotic?
from cordless.
Never mind, tested twice and it actually works perfectly except the invisible characters on ctrl+w. I launched the installed version of cordless the first time instead of the one built from cloned repo I suppose.
from cordless.
I'll be closing this then. Reopen it or recomment if you still have problems.
from cordless.
Related Issues (20)
- [request] Support for user statuses HOT 1
- custom binds/handlers for links and other content HOT 2
- Typo on the start of the application HOT 3
- cannot open attachments sometimes HOT 2
- Focus code can be improved HOT 1
- Add ability to send messages with scripts HOT 5
- Unable to search servers with pings HOT 2
- multiple cordless instances HOT 2
- Indent messages with multiple lines HOT 1
- DM list is empty; "index out of range" when running "dm-open" HOT 3
- android termux - can't connect HOT 2
- Feature request: implement the inbox
- error when trying to copy text from chatview. HOT 9
- make kitty colors work HOT 12
- Can't use backspace HOT 12
- Can't Navigate Containers with Arrow Keys in st (Part 2) HOT 3
- Appeal to Discord Trust and Safety, not mentioning cordless as a possible reason HOT 6
- Archive the repository so people know it's officially not going to be worked on upstream HOT 2
- This project cannot die. Not like this. HOT 42
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordless.