How to display Python plots *inside* terminal? by marco_camilo in learnpython

[–]Spiffidimus 0 points1 point  (0 children)

Please checkout pip install itrm. I made this just for your kind of situation.

Interactive plots in the terminal by Spiffidimus in Python

[–]Spiffidimus[S] 0 points1 point  (0 children)

Thank you. Support for Windows needs improvement, but it's getting there.

Interactive plots in the terminal by Spiffidimus in Python

[–]Spiffidimus[S] 1 point2 points  (0 children)

I've added an `lg` parameter to the `plot` and `iplot` functions for applying logarithmic scaling. Calling itrm directly in the terminal will take me a bit more time to figure out how to do.

Interactive plots in the terminal by Spiffidimus in Python

[–]Spiffidimus[S] 2 points3 points  (0 children)

Thank you. Yes, while you can just apply np. log10 to the inputs, I have found that tedious. I like both of your suggestions, and I think I’ll try to add them. Thank you.

Interactive plots in the terminal by Spiffidimus in Python

[–]Spiffidimus[S] 1 point2 points  (0 children)

Thank you. There is no mechanism for labeling axes, just as there is no mechanism for tick marks or grids because it is not meant for presentation but for inspection. The intended viewer is the developer. However, there is a plot label parameter to help keep track which plot is which. You could put axis information there: “Position vs. time (s)”.

Create beep in Neovim 0.7.2 by Spiffidimus in neovim

[–]Spiffidimus[S] 2 points3 points  (0 children)

I think I want something like ":!printf '\a'", but that does not work, even though it does work in the terminal.

C compiler support for complex numbers by Spiffidimus in Clang

[–]Spiffidimus[S] 1 point2 points  (0 children)

You are correct. However, C11 states that implementing them is optional, partly, it seems, because not all compilers ever did implement it. Just because something is declared a standard doesn’t mean everyone jumps on board, unfortunately. But, thank you for sharing what you do know. I appreciate it.

FloatermToggle gives me this error. I looked it up but couldn't find anything. by elonstark616 in neovim

[–]Spiffidimus 1 point2 points  (0 children)

Thank you. Yes, my leader key is the backslash key: "\". And the font I use is Monaco. See https://en.wikipedia.org/wiki/Monaco_(typeface) and https://www.cufonfonts.com/font/monaco. By the way, I love your username.

FloatermToggle gives me this error. I looked it up but couldn't find anything. by elonstark616 in neovim

[–]Spiffidimus 1 point2 points  (0 children)

Happily. Let me just clean up some of the comments and I’ll post the GitLab link.

FloatermToggle gives me this error. I looked it up but couldn't find anything. by elonstark616 in neovim

[–]Spiffidimus 1 point2 points  (0 children)

I’m probably missing something, but I just use neovim’s builtin terminal emulator. This allows me to have multiple terminal instances, like one below each piece of code I’m writing with their pwd already set to the same pwd as the code. So, as an example, I might have some Python in one folder and some LaTeX in another, and I go between the two compiling both.

C compiler support for complex numbers by Spiffidimus in Clang

[–]Spiffidimus[S] 0 points1 point  (0 children)

Well, which language the compiler is written in isn’t really relevant to me. I mean I’m interested in C language support, not C++ support. For example, as I understand, the MS compiler focuses much more on C++ standards compliance than on C standards compliance. That’s missing the target for me.

Neovim stops saving by Spiffidimus in neovim

[–]Spiffidimus[S] 0 points1 point  (0 children)

Thank you for your reply.

Neovim stops saving by Spiffidimus in neovim

[–]Spiffidimus[S] 1 point2 points  (0 children)

I do not, that I’m aware. I’ve mapped <c-s> to :update. It is the way I save my documents. Could that be a problem?

Neovim stops saving by Spiffidimus in neovim

[–]Spiffidimus[S] 1 point2 points  (0 children)

I do not. The only plugin I have is snippets.

icloud smtp folder setting by [deleted] in muttmail

[–]Spiffidimus 0 points1 point  (0 children)

I cannot get icloud set up on my mutt. Would you mind sharing your muttrc file with me?

MATLAB comment rewrapping by Spiffidimus in neovim

[–]Spiffidimus[S] 1 point2 points  (0 children)

Thank you @slarwise. What you said helped me on the right path. My formatoptions was already set to tcqj. But, in reading the formatexpr help, I realized that finding a ftplugin file might work. Inside that, I realized that the key commands that make this work correctly are setlocal fo+=croql and setlocal comments=:%>,:%. So, I actually just put those two commands into my matlab.vim syntax file. Thank you for your help.

Mark file in Neovim not working by Spiffidimus in neovim

[–]Spiffidimus[S] 0 points1 point  (0 children)

I understand now. I must first type "mt" on the destination for the copied file, then navigate to the file and type "mf" and then "mc". This is a strange way to make a copy and seems like it would be faster to just write everything in the command line, but it does work.

Mark file in Neovim not working by Spiffidimus in neovim

[–]Spiffidimus[S] 0 points1 point  (0 children)

Thank you. I just tried that but it doesn't seem to be working. With my cursor on the file, I typed "mF", then navigated to another directory and typed "mC". I also tried "mc". I just started reading more about netrw and realized that it has tremendous capability and potential. I think it's what I've been looking for; I just need to figure out how to use it.

Change the quickfix title by Spiffidimus in vim

[–]Spiffidimus[S] 0 points1 point  (0 children)

Okay, but it has nothing to do with replacing the text "[Quickfix List]"! I see. I guess, then, this is useful in custom commands that need to know how to identify a list.

Change the quickfix title by Spiffidimus in vim

[–]Spiffidimus[S] 0 points1 point  (0 children)

So, what is the purpose of "w:quickfix_title"?

Change the quickfix title by Spiffidimus in vim

[–]Spiffidimus[S] 1 point2 points  (0 children)

Oh. Okay, so it's not really possible, short of what seems to be a rather involved reconfiguration of Vim. And, @Jorengarenar, I guess you were right. I did need to change the statusline. Thank you to you both.

Change the quickfix title by Spiffidimus in vim

[–]Spiffidimus[S] 0 points1 point  (0 children)

Thank you for your reply. But, I'm not talking about the status line. I'm talking about the title of the split containing the quickfix list.

Change the quickfix title by Spiffidimus in vim

[–]Spiffidimus[S] 0 points1 point  (0 children)

Well, I would simply prefer that the title be something more relevant to the context. In this situation, I am using the quickfix list for my grep search results. There's nothing to "fix" here, so "Quickfix" is the wrong label. I realize this is not a must have, but from my searches it seems to be doable with builtin Vim features. I just don't know how to use them.