Comments (9)
Hi!
You're right, that functionality is removed in the selection
patch patch_sel
; the selection does not snap to the word that was defined. The task of the selection patch is to allow for selections spanning more than the current screen size and I did not port the selection-snap code. If you want to use this patch as-is, you might want to try out the vim patch
without the selection patch pre-applied.
As for the TMUX window: I think this is due to the missing selclear
in tclearregion
in the selection
patch.
If you're using tmux during your entire terminal sessions, you don't benefit from the history feature of this patch, as TMUX is an ALT-screen application and manages the history on its own (which cannot be searched by the vim patch
). Maybe the keyboard select
patch is a better solution for you, as it allows for some vim-like selection & search motions without shipping a history patch.
I'm currently busy but I can have a look at this bug some time in the future!
from st-history-vim.
@Akuseru1 no idea, but i encountered other issues with this branch/patch set so I stuck with the st
pipe solutions and haven't looked back since...
from st-history-vim.
Integrated into the current version (though through existing functionality of the vim patch).
from st-history-vim.
Posting here because I think it's somewhat related.
Selecting text with the mouse (shift+ drag left mouse button
) in a tmux window and then switching to another window within tmux makes the selection highlight remain from the previous window tmux was in.
Wouldn't it be better to keep the logic of this vim-patch
seperated from st
?
from st-history-vim.
is there any progress with this?
from st-history-vim.
What solution is that?
from st-history-vim.
Basically https://st.suckless.org/patches/externalpipe/ along with the scrollback patch...
from st-history-vim.
is there any progress with this?
No, sorry I didn't have a look at this issue yet.
I didn't use the mouse tripple click feature before writing this patch (I'm not even entirely sure if it existed in the version in which I started my work on this patch, I ported my code since) and I needed to completely rewrite the selection functions in order to also operate on data that is not currently visible on screen, therefore I most likely dropped the feature without noticing.
When I work on other issues I want to solve on this patch, I can have a look at this, even though I cannot say for certain when this will be the case.
from st-history-vim.
I recall checking out the problem. it wasn't hard to fix but this repo had completely rewritten the functions that where relevant to this issue. Rather than making them work together I just stopped using this repo... I opted to manage my own branches as I did before this, vim in st seemed nice, but this repo had too many issues for my taste...
from st-history-vim.
Related Issues (18)
- Feature: switch ALT_SCREEN in history mode
- Bug: Infinite loop word movement (corner case) HOT 1
- Patch bugs neatvi HOT 2
- Mouse scroll HOT 1
- segment fault when applied on top of st-clipboard patch HOT 3
- how to user vw instead vE HOT 7
- Issue column patch
- CRASH: 0001-feat-create-column-patch-equivalent-for-unpatched-st HOT 3
- Where's the column_patch? HOT 15
- Feature: Actions like `i` and `d` for mutable text
- Feature: Paste search string
- Bug: speed issue on output
- Feature: Regular expression search mode
- invalid memory access if height = 1
- Feature: Hide overlay
- Wrong behavior scrolling up at the "bottom" of the buffer.
- `yy` does not yank entire line
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 st-history-vim.