pleb's avatar
pleb
_@satstack.dev
npub1dxs2...n4st
Have I done something for the common good? Then I share in the benefits. To stay centered on that. Not to give up.
pleb's avatar
pleb 1 year ago
One of my better looking ☕ roasts image
pleb's avatar
pleb 1 year ago
TIL if I just rebuild vim-huge in nix, I'll get vim with clipboard support enabled. Upstream defaults ftw. Every distro ships vim without clipboard enabled, nixos included. But this is nixos, so I can just set it in configuration.nix and forget it. Try it out if you want: ``` nix-shell -p 'vim_configurable.overrideAttrs (oldAttrs: { features = "huge"; })' ``` Boom. You can yank to the system primary clipboard using key chorn `"+y` Supposedly you're supposed to be able have the normal yank chords do this to by setting `set clipboard+=unnamedplus`, but that didn't work in my environement for some reason. So I just did the reckless thing and remapped them directly: ``` " -- Buffers: yank to system primary clipboard. yay! nnoremap y "+y nnoremap yy "+yy noremap y "+y ``` AT LAST. YES!
pleb's avatar
pleb 1 year ago
pep8: Only use underscores in your package names, no hyphens PyPi: Only use hyphens in your package names, no underscores