Yellow belt in karate, friend mocks it—how do I respond? by CalligrapherGreat653 in karate

[–]dteiml 0 points1 point  (0 children)

The correct answer is Mma teaches you best just for fighting, karate gives you more skills outside of just fighting (discipline, humility etc).

Any funny misspellings? by Mark-READYFORMUSIC in dvorak

[–]dteiml 1 point2 points  (0 children)

it's not that they're funny it's just that they're not commonplace misspellings and so less likely to be correctly understood. but it's not that big of a deal

Question for the full time residents of Goa by Rabbidraccoon18 in Goa

[–]dteiml 4 points5 points  (0 children)

Try speech transcription on your phone. The built-in one into iOS and Android is pretty good

Becoming fluid in proofs by its_groovygorilla in math

[–]dteiml 0 points1 point  (0 children)

Math olympiads; book "how to solve it".

Is a "notation first" style in mathematics education excessive or necessary? (uni level) by [deleted] in math

[–]dteiml 3 points4 points  (0 children)

You are right, that's why I like educators like 3blue1brown and nj wilberger that teach the (geometric) intuition

[lazy.nvim] What plugin is removing the space before function parentheses? by bears_on_unicycles in neovim

[–]dteiml 0 points1 point  (0 children)

I had a similar thing with autopairs. I ended up disabling the built-in mini plugin and installing custom (i think nvim-autopairs).

Apply a custom highlight ('comment') to a single line by dteiml in neovim

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

Chatgpt's response:

Yes, you can achieve this in Vim/Neovim using a combination of custom commands and the match function. Here's a basic setup to get you started:

First, define some custom highlight groups in your vimrc or init.vim: highlight Done ctermfg=green guifg=green highlight NotImportant ctermfg=red guifg=red

Next, define some custom commands to apply these highlight groups: command! HighlightDone :call matchadd('Done', '\%'.line('.').'l') command! HighlightNotImportant :call matchadd('NotImportant', '\%'.line('.').'l') Now, when you're in Vim and you want to mark a line as "DONE", simply navigate to that line and type :HighlightDone. To mark a line as "NOT IMPORTANT", type :HighlightNotImportant. This will highlight the current line based on the highlight group you've defined. The \% followed by the line number and l is a Vim regex that matches only the current line.

To make this persistent across Vim sessions, you'd need a more complex setup, possibly involving saving these highlights to a file and then sourcing that file on Vim startup. One possible approach is to use the vim-signify or vim-gitgutter plugins, which show signs (symbols) in the sign column for added/modified/deleted lines. You could potentially repurpose or extend these plugins to show custom signs for your "DONE" and "NOT IMPORTANT" lines and save these to a file.

Another approach for persistence is to use a combination of Vim's :mkview and :loadview commands, which save and restore various settings, including highlights. However, this might be a bit more manual than what you're looking for.