-
Notifications
You must be signed in to change notification settings - Fork 66
Directory size #194
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
Comments
1K should work. Just tried it and it works for me on macOS, which it looks like you're using... Looks like vim can't open temp files on your system...? That leads to weird problems, Vim uses temp files to run shell commands (weird but true). |
Weird. I opened Vim as root, similar issue.
Yes, I'm running a Mac, Mojave 10.14.6.
I even tried with a barebones vimrc, with only |
Isn't necessarily a permissions issue. You need to figure out why Vim can't open temp files it created using the Vimscript |
This works:
|
Does the Dirvish issue go away if you (do this at the top of your vimrc, before Dirvish loads):
|
Nope :( |
Oh, that's because in Vim Can you confirm this is failing (replace
Then try this:
Actually I think this is a Dirvish bug because Vim doesn't support the list form. The tempfile error was a red herring. |
I think you nailed it. |
Thanks a lot. |
Use whatever you like, but that trope always gets me so I must respond :) If you use vim 9 or 8.2 then that also is not "everywhere". Some systems have e.g. vim 7.x, and going back to vim 7.x from nvim is analogous to going from vim 8.x. This applies to any new version of vim. BSDs don't ship with vim at all. |
I think Ubuntu 20 comes with 8.1, which is pretty recent, but it's a fair point. Most of my .vimrc checks for feature support, so I'm used to the vim experience being on a spectrum while remaining mostly consistent, from 7.4 to 8.2, full MacVim.app to Terminal.app, “graceful degradation” style. But I guess this could be accomplished with nvim as well. I tend to prefer stock stuff whenever possible, it's usually simpler, but the thought of writing Lua instead of Vimscript is tantalizing. Anyway, thanks again :) |
The list form of system([...]) only works in Nvim. fix justinmk#194
The list form of system([...]) only works in Nvim. fix justinmk#194
The list form of system([...]) only works in Nvim. fix justinmk#194
Hi, I couldn't figure this out
K Shows file info. [count] shows directory size.
Hitting K over a file shows its size. When over a directory it shows “0.00K”.
Trying 1K (what I understand from [count] K) displays this error:
Error detected while processing function 27_info:
line 5:
E730: using List as a String
E484: Can't open file /var/folders/t3/n79wv4td5gd2z1by299ll1pc0000gn/T/vPtth4v/0
The text was updated successfully, but these errors were encountered: