[-] oscar@programming.dev 4 points 2 weeks ago

Codeberg looks pretty good at a quick glance.

[-] oscar@programming.dev 5 points 5 months ago* (last edited 5 months ago)

Using a the ubuntu 24.04 docker image for testing, I was able to disable automatic indentation with this config in ~/.config/nvim/init.lua:

vim.cmd("filetype indent off")

If you prefer using vim syntax it would instead be the following in ~/.config/nvim/init.vim:

filetype indent off

Note: it seems this file is not loaded if a init.lua file is present in that directory

Edit to add: So the reason this is required is, similar to vim (so you may already be familiar with this), there are filetype-specific configurations loaded. These usually reside in /usr/share/nvim/runtime/<plugin/indent/syntax/etc>/<filetype>. You can configure what files to load using the :filetype command.

There's more info here: https://neovim.io/doc/user/filetype.html

Second edit: Also when filetype indent/plugin/syntax is on, it seems to be loaded after your user config, so it overrides it. You can investigate if your actual config was applied or not by running, for example, :set autoindent? or :set cindent?. If the values do not match your configuration, it was likely overridden by :filetype. This was the case for me.

[-] oscar@programming.dev 5 points 8 months ago

By the same argument, wouldn't GPL and other copyleft licenses be considered non-free as well since you are not free to do whatever you want with the source? For example, incorporating it into a proprietary project, refusing to provide the source to users upon request, or not disclosing attribution, etc. The latter would even go against the terms of permissive licenses.

Clearly defining what free, and by extension FOSS, means is very relevant.

[-] oscar@programming.dev 3 points 9 months ago* (last edited 9 months ago)

I'm swedish and I use EurKEY. It's basically US but makes it possible to use Å/Ä/Ö through altgr + W/A/O. I don't write that much swedish so I'm not too bothered, meanwhile the coding advantage is huge for ' " \ | / ? | [ ] { } .

[-] oscar@programming.dev 6 points 10 months ago

Another package to check out is lxml. I personally don't like it due to its typing but sometimes I have been forced to use it for its added features over the builtin etree.

[-] oscar@programming.dev 4 points 10 months ago

Did you have to enable non-free for that? Or, I guess, nowadays it would probably be in non-free-firmware.

[-] oscar@programming.dev 4 points 1 year ago* (last edited 1 year ago)

PF works with proton, I use it. But you have to continuously call it to stay open. (On linux)

[-] oscar@programming.dev 4 points 1 year ago* (last edited 1 year ago)

Interesting! I used arch for about 2 years on my gaming rig and it worked fine but I was worried if he went with something based on Arch that he would eventually run into issues due to not properly maintaining it (avoiding partial upgrades for example). But I'm probably overthinking it. If he sticks to a GUI for installing and updating packages and avoid messing with the terminal initially it should be fine.

I will add EndeavourOS to a small list of recommendations (rolling vs point release) so he can decide for himself.

[-] oscar@programming.dev 4 points 1 year ago

I will sound really nit-picky buy the biggest thing keeping me away from using KDE is that accent-colored bar on each window in the taskbar, and the different coloring of open/focused/minimized windows. I want it sleek but not cluttery.

I've tried about a dozen themes but I couldn't find any that got rid of that and looked good. I tried fixing it myself but editing svg files was too difficult for me.

I hope plasma 6 adds more options for this but I'm not holding my breath.

[-] oscar@programming.dev 4 points 1 year ago* (last edited 1 year ago)

Of course they weren't asked as often, there's significantly less number of users on Linux. 96.21% of the users asked was on Windows.

[-] oscar@programming.dev 4 points 1 year ago

You can self host GitLab CE for free.

[-] oscar@programming.dev 3 points 1 year ago

You could write a shell script:

#!/usr/bin/env sh

export SOME_ENV_VAR=value

command

Then place it on your path, for example /usr/local/bin/command_with_env.

I avoided overriding the command itself and naming the script the same, because then I think it would try to invoke itself.

view more: ‹ prev next ›

oscar

joined 1 year ago