Git Product home page Git Product logo

Comments (9)

juliusHuelsmann avatar juliusHuelsmann commented on June 26, 2024 2

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.

0xACE avatar 0xACE commented on June 26, 2024 1

@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.

juliusHuelsmann avatar juliusHuelsmann commented on June 26, 2024 1

Integrated into the current version (though through existing functionality of the vim patch).

from st-history-vim.

0xACE avatar 0xACE commented on June 26, 2024

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.

aldevv avatar aldevv commented on June 26, 2024

is there any progress with this?

from st-history-vim.

aldevv avatar aldevv commented on June 26, 2024

What solution is that?

from st-history-vim.

0xACE avatar 0xACE commented on June 26, 2024

Basically https://st.suckless.org/patches/externalpipe/ along with the scrollback patch...

from st-history-vim.

juliusHuelsmann avatar juliusHuelsmann commented on June 26, 2024

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.

0xACE avatar 0xACE commented on June 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.