Comments (3)
Hey :)
I think with the latest version of the history patch this should be possible in normal mode; in normal mode you can click a location, which should subsequently become active. If you click twice, the word underneath is selected and copied into clipboard, I think if you click three times it copies the entire line.
In insert mode this is currently not possible, might be cool to add that (+ maybe a way to leave normal mode & keep the current location). But I think when I had a look at this initially, the naive implementation seemed like a bit more work / error prone than I expected, because we not only need the location on screen, but also extract the current location inside the command buffer. But that's quite a while ago, I am not too sure if I remember correctly
from st-history-vim.
or do you mean scroll up and down? That is currently not implemented, but should be an easy-ish addition (that you could also patch on top of the vim patch).
for moving up you can use:
historyMove(0, -(int)state.m.c, 0);
motion down is without the -
.
you can theoretically add this to the shortcuts table, but that would be executed even if not in normal mode, so probably you should implement it in executeMotion
or kPressHist;
(wherever you have access to the input produced by spinning the weel up / down resp).
If you want help on this I can look into this at some point in the future and come back to you about this in this issue in the next couple of days / weeks
from st-history-vim.
historyMove work ok for me.Thanks.
from st-history-vim.
Related Issues (20)
- Feature: switch ALT_SCREEN in history mode
- Bug: Infinite loop word movement (corner case) HOT 1
- Feature: Restore vanilla feature of selecting text with shift-double|tripple-click HOT 9
- 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
- How to change cursor color when in vim normal mode
- 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.