Skip Navigation
suedit.nvim — A plugin to easily edit root files
  • how it is different from the alternative?

    I made this because I wanted to be able to change the command used for saving, and also so that I don't need to use any special commands to edit files in the first place. I just open the file I want to edit and if it needs sudo to edit, it prompts me.

    does it work in Windows?

    No. I don't use Windows so I'm not really interested in getting it to work.

  • A program that lets you use your drawing tablet to scroll on wayland
    codeberg.org tablet-scroll

    A quick hack so that I can use my drawing tablet to scroll on wayland.

    tablet-scroll

    I got a drawing tablet a couple of days ago and I really wanted to be able to scroll with it (it only has 4 buttons). I saw that it might be possible on X11 with xsetwacom but I'm on wayland and I couldn't find any way to make it work. So I hacked this together. Idk if anyone would find this useful but I did see a few threads around while looking to solve this exact problem so here you go.

    0
    suedit.nvim — A plugin to easily edit root files
    github.com GitHub - Grafcube/suedit.nvim: A neovim plugin to seamlessly edit files that require superuser access

    A neovim plugin to seamlessly edit files that require superuser access - Grafcube/suedit.nvim

    GitHub - Grafcube/suedit.nvim: A neovim plugin to seamlessly edit files that require superuser access

    I made a small plugin that other people might find handy. It checks if the file open in the current buffer has write access and if not, prompts for sudo (or any other command at your choice) and copies the file.

    No longer do you need to care about forgetting to use sudoedit or anything else, just edit the files you want to edit! This could change the world!!1!

    But in all seriousness, this is my first neovim plugin and I barely spent an hour on it but it's simple and it gets the job done. It scratches a minor itch and maybe you'll also find it useful.

    5
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)GR
    grafcube @programming.dev
    Posts 2
    Comments 1