Comments (7)
Are you running cmd.exe?
from terminus.
I guess we just need to implement ctrl+home
and ctrl+end
.
Ps: closed by accident
from terminus.
7dd50b7 add ctrl+home
and ctrl+end
ultilities to remove text.
from terminus.
Are you running cmd.exe?
You mean in the posted video? Yeah, that one was recorded spawning cmd
on top of conemu.
I've pulled master and tried the new shortcuts... mmm... how difficult would be to implement something like this?
from terminus.
In theory, it is doable. The implementation won't be standard, so there are a few things that we need to address. What if the selected text is read-only? How conemu handles it? Does it only delete text in the current line?
from terminus.
Mmm, it seems conemu has 2 section modes:
- When using shift+arrow_keys it seems internally conemu is detecting what's readonly and non-readonly
- Selection mode is made with the mouse, in this case it seems Conemu wont' allow to delete any kind of text.
Here's a little demo... In any case, maybe terminus could do much better as SublimeText text management is much better than conemu's one. Guess the idea will be to figure out which parts of the view are editable and which ones are not. For instance:
- output dumped on the terminal generated by processes, commands executed have become readonly
- text written by users that hasn't been still executed is readonly
In fact, maybe it's a matter of knowing all the time what are these 2 regions, ie:
I guess if were able to track from the very beginning the intersection point to discard non-readonly content you'd be able to use the whole SublimeText power to manage/edit views really well... even using multiselection would become feasible... :)
Dunno, maybe just talking nonsense... in any case, you're the expert here so you'll know the best way to tackle this useful feature.
from terminus.
It looks more tricky than I originally thought. Your best bet for now is to use ctrl+arrow
, ctrl+backspace
, ctrl+delete
and ctrl+home/end
.
from terminus.
Related Issues (20)
- MSYS2 Integration HOT 1
- Vim stop working, getting TypeError (macOS 13.2) HOT 7
- Rendering Gum CLI commands takes 10+ seconds
- termius shows blank HOT 7
- High CPU usage of Sublime when Terminus is used with some commands
- can't type in terminal
- Add option to suppress bell in Terminus with Sublime Text HOT 6
- Toggle Terminus panel closes it HOT 5
- Cygwin64 does not execute the path to the file being edited
- sublime 4149 breaks terminus HOT 1
- Weird behaviour with default terminal size and ANSI escape codes HOT 2
- Terminus doesn't forward mouse inputs to tmux
- Update default shell on Mac to zsh HOT 4
- [windows] Suspicious winpty-agent.exe i/o rate when idle HOT 1
- Let's have Terminus menu under Tools -> Packages
- Page Up, Page Down, Ctrl+Home and Ctrl+End in Terminus Build System HOT 1
- Powershell doesn't work properly with ctrl+c
- Contributing HOT 1
- [Fixed] activate a conda environment before calling Python
- Terminus Build System not working for Python since Python v3.11
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 terminus.