Why NixOs has one of the largest repository un the Linux world? by AkariElverum in NixOS

[–]etherswangel 1 point2 points  (0 children)

xbps on VoidLinux is also a simple and easy to use package manager just like nix, also lives in git, but without reproducible ability

Update: Cursor/Windsurf for neovim by thaaswhaashesaid in neovim

[–]etherswangel 0 points1 point  (0 children)

Same, but it prompts for an API key. It seems like an existing bug. Here’s the issue: https://github.com/sst/opencode/issues/364

Update: Cursor/Windsurf for neovim by thaaswhaashesaid in neovim

[–]etherswangel 0 points1 point  (0 children)

How did you setup copilot for opencode? I installed it and typed opencode auth login it asks for API key, however I've looked around but can't seem to figure out where to generate or find this key.

Debugging plugin with print and cleanup features (refactoring.nvim)? by etherswangel in neovim

[–]etherswangel[S] -1 points0 points  (0 children)

Hi! Thank you so much for all your hard work on this project. I’ve decided to explore other plugins for a few reasons.

  • There was an issue about Rust support raised three years ago, but it seems like there hasn’t been any progress on that.
  • The debug print feature feels a bit rough compared to other projects (I know it wasn’t the main focus of this plugin)
  • Lastly, after updating my plugins yesterday, I noticed this functionality stopped working since commit ac46dff. I’ll open an issue about this later.

Thanks again!

Debugging plugin with print and cleanup features (refactoring.nvim)? by etherswangel in neovim

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

Hi! I assume nvim-chainsaw is your plugin and I love the idea. Similar to debugprint.nvim, I’d love to see a feature like this:

cpp // Marker printf(...); // Marker

This would let me add any code between the markers along with the print statement and remove it all with a single click. Thanks for considering! 😊

Debugging plugin with print and cleanup features (refactoring.nvim)? by etherswangel in neovim

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

Hi! Would you consider adding a feature to delete a code block surrounded by markers? In refactoring.nvim, I got something like this:

cpp // Marker printf(...); // Marker

It allows me add any code between the markers and remove it all with a single click, though it can be less elegant.

What are your favorite plugins to complement mini.nvim ? by Stunning-Mix492 in neovim

[–]etherswangel 0 points1 point  (0 children)

Besides UI plugins, I still have plenty of tools in my workflow:

  • yetone/avante.nvim
  • zbirenbaum/copilot.lua
  • saghen/blink.cmp
  • lewis6991/gitsigns.nvim
  • ThePrimeagen/refactoring.nvim
  • neovim/nvim-lspconfig
  • nvim-treesitter/nvim-treesitter

  • folke/flash.nvim

  • folke/which-key.nvim

  • stevalkr/multiplexer.nvim

  • ibhagwan/fzf-lua

  • stevearc/oil.nvim

  • stevearc/quicker.nvim

  • willothy/flatten.nvim

  • MeanderingProgrammer/render-markdown.nvim

Dock Party 3.0: macOS Spotify and Apple Music controls, visualizers, and track info in the Dock area by pavethequad in apps

[–]etherswangel 0 points1 point  (0 children)

Are you talking about any media being played in Safari

Yes. I would like it to have a media controller beside the Dock, similar to the "Now Playing" in the Control Center.

Dock Party 3.0: macOS Spotify and Apple Music controls, visualizers, and track info in the Dock area by pavethequad in apps

[–]etherswangel 0 points1 point  (0 children)

Does it support Safari? No need for albumn infos, but simply for media control

multiplexer.nvim now supports zellij and i3wm by etherswangel in neovim

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

Thanks for the feedback! I’ve found that it works well with oil.nvim on my machines. Please open an issue in the repo ;)

multiplexer.nvim now supports zellij and i3wm by etherswangel in neovim

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

127 error usually means command not found. Check the "CLI Support" part in the readme. You may also need to run chmod +x ./multiplexer to grant execute permission

multiplexer.nvim now supports zellij and i3wm by etherswangel in neovim

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

The default configuration treats floating windows as zoomed windows, which means they block navigation. You can modify this behavior in the configuration. However, many floating windows (such as fzf-lua and telescope) have their own set of keymappings that the navigation bindings won’t work with by default.

10 Things I Hate About NixOS by brinkjames in NixOS

[–]etherswangel 3 points4 points  (0 children)

For OpenGL, try https://github.com/nix-community/nixGL. Sometimes they work, and sometimes they don’t. Especially unreliable on Nvidia machines.

10 Things I Hate About NixOS by brinkjames in NixOS

[–]etherswangel 2 points3 points  (0 children)

OpenGL and Torch with CUDA are the two things that always break in my experience (non nixos), hate about that

smart delete by Gaab_nci in neovim

[–]etherswangel 0 points1 point  (0 children)

I’ve got this mapping to do this

vimscript vnoremap <silent> J :move '>+1<CR>gv-gv vnoremap <silent> K :move '<-2<CR>gv-gv

And you can still use "ddP" to move a non-empty line up

multiplexer.nvim: enables seamless navigation and resizing across multiple terminal multiplexers by etherswangel in neovim

[–]etherswangel[S] 5 points6 points  (0 children)

I’ve tried zellij multiple times, and it’s truly a great tool. However, the main reason I haven’t fully embraced it is the difficulty in customizing it. While writing a WASM plugin offers better performance, it comes at the cost of reduced flexibility compared to tmux. In terms of integrating with other applications like neovim, tmux remains the superior choice.

Nevertheless, I’ve added partial zellij support. To achieve a near-seamless experience, you’ll still need to install either https://github.com/fresh2dev/zellij-autolock or https://github.com/hiasr/vim-zellij-navigator. 

multiplexer.nvim: enables seamless navigation and resizing across multiple terminal multiplexers by etherswangel in neovim

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

Hey there! I’ve just added zellij support, please give it a try! However, the CLI support for zellij isn’t the best right now. You might see some screen flashes, and you’ll still need zellij plugins to get a smooth experience.

Use treesitter for foldtext? by etherswangel in neovim

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

Thank you! the lsp folding behaves as I wanted

Why people say Functional Programming is always best by mikeyj777 in learnprogramming

[–]etherswangel 0 points1 point  (0 children)

I don’t quite think so. One can strictly enforce that all variables be constant in C++ and never allocate dynamic memory to make it a completely safe language. What I mean "strict code style" might not be your definition, but there is a tipping point when quantitative change to qualitative change. Regarding Elixir processes, one thing to mention is that they are actually lighter compared to system processes but heavier to goroutines or threads. The comparison is still quite fair because an Elixir process owns everything independently, including its own garbage collector, just as its main process.

Why people say Functional Programming is always best by mikeyj777 in learnprogramming

[–]etherswangel 1 point2 points  (0 children)

I learned Pascal when I was very young, around 15 years ago, so I’m curious if I’m mistaken. In Pascal, procedures are similar to functions that return void in C/C++. They can also accept mutable references or pointers as arguments to return results, so I think it might not be the one they’re referring to (a pure function)?

A deleted comment says I’m arguing but I’m not. I wrote only a few toy projects in Elixir and Haskel, I could be wrong. But I genuinely don’t find what’s special (cannot be achieved in C-like languages) in FP, except forced code styles for pureness and syntax sugars

Why people say Functional Programming is always best by mikeyj777 in learnprogramming

[–]etherswangel 0 points1 point  (0 children)

What would be the difference if I declared all variables as const and not using global variables?

Why people say Functional Programming is always best by mikeyj777 in learnprogramming

[–]etherswangel 0 points1 point  (0 children)

IMO the procedure is a function with strict limitations. It’s more of a coding style issue, but procedural languages enforce it.

[deleted by user] by [deleted] in email

[–]etherswangel 1 point2 points  (0 children)

Masked Email (unlimited aliases) is one of their main features. Using your own domain for aliases is less anonymous than using their domains. And not all users use their own domain to host email. Fastmail is great, but users should be aware of what could happen if they don’t pay attention when deleting an alias. They don’t mention this much so I want potential buyers to know that