-
-
Notifications
You must be signed in to change notification settings - Fork 761
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
ToDo list #935
Comments
Following discussion from #267 I do think showing the the last characters of the file name should be prioritized in the case of file names longer than the name column. I was wondering if we should consider changing the |
Doesn't cover all cases inclusively. For some filenames the difference may be in the middle. There's always f/^F for file details. Just leave it be. |
@jarun (#499 (comment)) The prompt looks better than before with repl now. This morning, I got a three line error message starting with " |
Get used to the tilde. It was requested by multiple users. |
I noticed It may be true for other file types, but is most visible for big images since they take longer to load (on my phone running Debian and previewing with kitty's I tried: kitty +kitten icat --silent --place "$1"x"$2"@0x0 --transfer-mode=stream --stdin=no \
- "$3"
kitty +kitten icat --silent --place "$1"x"$2"@0x0 --transfer-mode=stream --stdin=no \
+ "$3" &
Which seemed to limit queued previews, but resulted in previews being shown only if scrolling slowly. Should I open a dedicated issue about it? While I mention preview plugins, how about making default - fifo_pager bat --terminal-width="$cols" --paging=never --decorations=always --color=always \
+ fifo_pager bat --terminal-width="$cols" --paging=never --style=numbers,header,plain --color=always \ It is a very minor difference and perhaps just personal taste, but I see no real advantage for the grid view by default: |
@leovilok @luukvbaal can you please take a look?
Yes, it actually looks awful to anyone from sane more/less background. Please raise a PR to remove this from all plugins. |
The preview plugins work with a FIFO so the previews are inherently queued. Not sure anything can be done about a slow machine that can't keep up with how fast you change the selection. Never noticed the |
I really have no clue how a FIFO works, but was hoping there was a way to interrupt prior previews if a new one is being issued, without waiting. Something I vaguely remember @leovilok solved with a simple [Edit] Similar issue with PDF and audio previews using |
I was actually able to reproduce the queuing to some extent with kitty on my laptop with key-repeat and #1006 should fix the issue. If at all possible I would suggest using |
Completely agree! As someone who multitasks all the time my experience with kitty has been horrible. And I have started compiling with |
TIL github will match "fix #XXX" in a middle of a sentence. |
Nice image BTW @KlzXS! |
@luukvbaal and @Kabouik can you guys audit Things I can think of:
This optimization document is a good start if you need any reference. |
Yeah some of those things have been bothering me since I started working on |
Doesn't matter. Please have a look if you have the time. |
@jarun hello there, sorry the thread is locked. About cleanfilename, with latest commit (merged) it won't overwrite any file... Instead, it will be prepended with _ if file with the same name already exists... Eg. file1 --> _file1 if file1 already exists... Already stated in doc:
|
@wustho awesome! Thanks for the confirmation. |
Ha, thanks for the advice! That's frustrating after I spent time configuring kitty over the last two days exactly because I wanted to use @jarun what exactly was horrible for you with kitty? Overall performance regardless of |
Image rendering performance. |
I failed at prioritizing I got much better rendering speed with I am sure it has drawbacks too, |
|
You're right, prioritzing
The problem I have with Having said that, if you can manage to add support for
Yeah, considering that, |
Nice, thanks a lot @luukvbaal! It's not instantaneous on my slow device but I can feel an improvement indeed. The queuing is there though (which is expected, it was prevented just for |
I do believe This will place converted images in |
Will do. Disk space is an issue since this is a phone but I know where to clear the cache when I reach the limit. Probably out of scope since it's not the official plugin, but it doesn't hurt to report it: with the diff to prioritize Peek.2021-05-15.00-23.mp4(Similar issue when using tmux panes: the preview follows layout changes but is cropped in certain positions.) |
Yeah Try the following
Updated the gist as well. |
This didn't solve the issue from my first tests, but that was just a quick test while on the move, I'll test more thoroughly with more terminals and scenarios. Unrelated: It was mentioned in #977 that scripts and vanilla functions outputs are garbled after several actions because they are displayed on top of each other. In Example of garbled output with I tried adding It may seem only an aesthetic issue but sometimes, depending on the length of sentences, it can be unreadable and it may be impossible to tell if the output expects an answer, what are the accepted answers, unless experienced with daily |
You can do that for all the scripts. Just ensure you see the problem in the script and then you do the change.
This is not an
That prompt is from advcpmv. You can try to add an |
May I request some better documentation in the form of docstrings and comments for variables and functions for the C source code? Since it isn't too clear what variable names mean at a glance, it's quite difficult to gain an understanding of the code from reading control flow alone. |
@Kabouik the broken overwrit eprompt is fixed at jarun/advcpmv@6adf544. @mizlan unfortunately no such documentation exists. Please feel free to ask any questions you have. Also, I invited to the nnn devs group. Please join that. We generally discuss there. |
So sorry, but I am unaware of the dev group and can't seem to find it. What platform is it on? Gitter? |
Awesome, thanks @jarun. I didn't even have the time to try what you suggested, can't keep up with your pace. :>
…On 2021-05-18 18:33 Piña Colada ***@***.***> wrote:
@Kabouik the broken overwrit eprompt is fixed at
jarun/advcpmv@6adf544
0545d23b94.
@mizlan unfortunately no such documentation exists. Please feel free
to ask any questions you have. Also, I invited to the nnn devs group.
Please join that. We generally discuss there.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#935 (comment)
|
Please check your mail. I sent you an invitation 1/2 days back. |
The invitation for was collaboration (push access) right? I do not see any sort of discussion group associated with it. Sorry for the inconvenience. |
Not that one. I've resent the invitation just now. Please check. |
Rolled from #881.
Cooking
'c'urrent / 's'el
prompt (Populating selection withx2sel
plugin #976)fzopen
(Weird behavior with fzopen plugin mcchrish/nnn.vim#82)preview-tui*
(Get the selected file for live preview to work with a MS Window previewer #959)preview-tui*
with the same custom plugin keypreview-tui*
(preview-tui: reformat toggle #966)listen_on
should be set in kitty.conf forpreview-tui*
(preview-tui: error to foreground #970)bat
style inpreview-tui*
, honors BAT_STYLEunmount-parent
: unmount a remote mountpoint from withinxdgdefault
: set the default application for hovered file typefzplug
: fuzzy find, preview and run other pluginscmusq
: queue/play music incmus
mocplay
renamed tomocq
+
) in reverse bold for improved visibility>
to mark hovered entry in detail modeO_CKBOARD
retired in favour of reversed block cursornetbsd-curses
+musl
on Ubuntunetbsd-curses
+musl
(nnn with netbsd-curses sabotage-linux/netbsd-curses#46)NNN_TMPFILE
exported and q to quitNOX11
: disable notis, sel->clipboard sync, xterm titleUp for grabs
NNN_FCOLORS
(Default light colorscheme #937)For anything else please discuss in this thread.
Contribution guideline.
The text was updated successfully, but these errors were encountered: