-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Things I want to see in vis #530
Comments
3 is
|
Speaking of windows is there any way to disable them currently ? I've been using vi for a lot of time and it's sure is annoying when a program has it's own windowing system. |
@throwaway217 you can disable themes completely with you can search github for configs, (although note that many will use an older format, since 0.3 was released recently): https://github.com/search?utf8=%E2%9C%93&q=filename%3Avisrc.lua&type=Code |
|
What is a use case for pasting a single line at every cursor location? - Mmm..only can say that I have used that in every single editor a lot, it seems indispensable for me 😕
P.S. |
I added some analogous commands to your table. The others are currently not supported. Count specifiers were discussed in #219 and on the mailing list. In general you will notice that kakoune has probably a much more polished UI while vis has traditionally focused more on "backend" issues. Selections are not merged because it was simpler to implement and not really deemed necessary. Regarding the system clipboard integration: if it is indeed indispensable for you, then it shouldn't be hard to list a few use cases? Assuming you have an arbitrary block of text copied, how do you even know that it matches the number of cursors? |
Everything is illuminated 😄 🙇♂️
before ([] - selection)
after cut - paste
Something like that, without changing number of cursors in between. |
Vis synchronized clipboard conceptRequirements: clipboard manager, such as copyq (0-9 registers functionality delegates to copyq)
Bindings:y/Y - copy to clipboard with delimiter Extra:
|
I'm still not convinced this clipboard integration is really necessary. In general vis is designed to work with external tools without having to deal with the system clipboard. For example if you have multiple selections then:
This covers my use cases. Admittedly the reverse, i.e. inserting the n-th line from a file at cursor position n is currently not easily possible.
Either I'm misunderstanding things, or this is already possible? If you use |
I'm still not convinced this clipboard integration is really necessary - Ok, now I think that too. It's better to be implemented in plugin and used in combination with commands that you gave. Thanks for commands. Either I'm misunderstanding things, or this is already possible? - You have asked for use case to explain how do you even know that it matches the number of cursors, I have answered that I am not counting number of copied lines, because I don't need to, maybe example was bad. |
I updated your table with recent developments. Vis is now also able to save/restore selections to/from registers and perform various set operations on them. Furthermore overlapping selections should now be merged (see also #582). |
👍 😺 |
remove windows
lets terminal multiplexer take care of it. You have made windows, user will demand tabs. Consider how kakoune have made this: kakoune provides
--session
option, in session registers and many other things are shared, also this allows such things as using kak as pager and others. Can vim do this? Not well enough (ehhh, if only dvtm had tabs, you know,layouts -> tabs -> windows
, its like current windows, but one window is visible and others are under, I am dreaming about that since tmux)full synchronization with system clipboard
I love when I can transfer text from browser to editor seamlessly, so I have made this:
y
andp
- to and from system clipboard,d
- remove and forget,,d
- cut, for yank history I'm using copyqWith multiple cursors things becoming tricky, lets consider how guys from sublime have dealt with this: sublime copy to system clipboard, delimiter is
\n
, if number of lines is the same as number of cursors - each line goes to corresponding cursor, if no - paste whole text under each cursorI'm not demanding this, but this is what I will do anyway if I will use your editor and vis can benefit from this too if insists on using modern ways of saving data
buffer autoreloading on change
kakoune have this feature: if file was changed externally it will be reloaded, if you have made uncommited changes - you can get them back with undo
vimgolf
again mawww showed charms of his editor for newbs in vimgolf, I personally have read a book (I'm lying) about sam and hasn't understood a thing about structural regexp and why you decided to use them
The text was updated successfully, but these errors were encountered: