If I’m being honest, when I started this quick project to reduce my Neovim plugin footprint size, I thought I was going to be +able to get rid of way more plugins! Inspired by this Reddit +post that setup a Neovim config +using only echasnovski’s mini library, I was +reminded that some of my remote server environments were still using Packer as their plugin manager, where my main machine +has upgraded to Lazy. In addition, I have since expanded my main config with more applicable plugins and key maps and the +Packer config was in a single neovim repo, as opposed to my more recently implemented dotfiles setup.

+

Right now, I am using a whopping 77 plugins. That’s mostly because I’m not great at cleaning out old plugins I don’t use as +much anymore. Since I am client facing, a lot of them are around making my Markdown notes easier to manage, and Python plugins +to help with scripting and file management in the terminal. This poll shows 10-25 plugins being the most common amount.

+
How many plugins in your config. List your favorites!
byu/Bamseg inneovim
+

+

Once I got my dotfiles to my server environment, I got to work and got rid of all the superfluous plugins like additional +color schemes, todo-trouble, or others that I considered nice-to-have. After all, across all my VMs I’m mostly editing yaml, +json, and python scripts and I’m not in there for a very long time. If I was a real pro, I would just use out-of-the-box Vim, +but I really like the speed some key maps and plugins have given me.

+

You can check out my git branch here. If you decide to clone it, make sure you symlink .config folder from a ~/.dotfiles/ directory to ~/.config/. I’ve been using +stow, but any symlink tool will work.

+

If you have a neovim config that you’d like to “minimize”, see some steps below. For any dotfile config - Neovim, tmux, zsh - +I like to make these changes in a clean environment. I want to replicate as closely as possible what a fresh install and +setup would be like. Here’s how I do it: + + + + + + + + + + + + + + + + + + +

+ + + +

Any curly brackets in the instructions below denote a word where you can insert whatever you’d like. But, most likely you +want to use the curly brackets in the final string that you use.

+
+

+
    +
  1. Navigate to the machine/vm/server that you want to work on. For me, this VM doesn’t have Neovim installed yet.
  2. +
  3. Install Neovim
  4. +
  5. Clone your main repository to either your .config or your .dotfiles directory. And run a few commands:
  6. +
+
    +
  • git branch {branch-name}
  • +
  • git checkout {branch-name}
  • +
+
    +
  1. You’ll now be in your branch, but everything will look the same. Start removing directories or files you don’t need.
  2. +
  3. Navigate to your plugins folder or init.lua that lists all your plugins and start hacking and slashing.
  4. +
  5. Once you’ve saved all those files and you can open and close neovim without any plugin errors, you’re ready to go.
  6. +
  7. Navigate back to the root git directory and run a few more commands:
  8. +
+
    +
  • git add .
  • +
  • git commit -m {Insert a detailed commit message of what you changed and updated.}
  • +
  • git push {remote-name} {branch-name}
  • +
+
    +
  1. And that’s it! Go check your Github/Gitlab and check your branches and commits. You should see everything there! Congrats.
  2. +
+

For that last command, you can always check what your remote repo’s push name is by running git remote -v. Most often, the name will be something like origin or main. If you saw my post on having multiple remote repos, you may something like “all”. Just make sure to check before pushing!

+ + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + +
+
Git Pull Request with an arrow pointing to a check mark +
+
+

My First Merged PR! +

+
+
+

Admittedly, I feel a bit like a child sharing something like this, as there are so many devs that pull and merge requests from contributors on a regular basis. However, while I’ve contributed to documentation and/or tutorials and other non-coding portions of repositories, I feel a tiny bit proud that this was the first instance where I was using a library, found a bug, created an issue, cloned the repo to my local machine, found and fixed the code, and opened a pull request....

+
+
September 1, 2022 · 2 min · 328 words · Me
+ +
+ +
+ + + + + + + + + + + + + + diff --git a/public/sitemap.xml b/public/sitemap.xml index 98b6cea..6d849ac 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -2,6 +2,24 @@ + /posts/mini_neovim.html + 2023-10-20T18:38:13-04:00 + + /tags/neovim.html + 2023-10-20T18:38:13-04:00 + + / + 2023-10-20T18:38:13-04:00 + + /posts.html + 2023-10-20T18:38:13-04:00 + + /tags.html + 2023-10-20T18:38:13-04:00 + + /tags/tools.html + 2023-10-20T18:38:13-04:00 + /tags/diy.html 2023-10-16T11:34:14-04:00 @@ -10,15 +28,6 @@ /posts/medicine_indicator_light.html 2023-10-16T11:34:14-04:00 - - / - 2023-10-16T11:34:14-04:00 - - /posts.html - 2023-10-16T11:34:14-04:00 - - /tags.html - 2023-10-16T11:34:14-04:00 /tags/tutorial.html 2023-10-16T11:34:14-04:00 diff --git a/public/tags.html b/public/tags.html index d122b25..da29133 100644 --- a/public/tags.html +++ b/public/tags.html @@ -118,6 +118,9 @@ if (!doNotTrack) {
  • homeassistant 2
  • +
  • + neovim 1 +
  • opensource 1
  • @@ -127,6 +130,9 @@ if (!doNotTrack) {
  • selfhosted 1
  • +
  • + tools 1 +
  • tutorial 1
  • diff --git a/public/tags/index.xml b/public/tags/index.xml index 5072140..5947f9e 100644 --- a/public/tags/index.xml +++ b/public/tags/index.xml @@ -6,7 +6,25 @@ Recent content in Tags on Norm-working Packets 💾 Hugo -- gohugo.io en-us - Mon, 16 Oct 2023 11:34:14 -0400 + Fri, 20 Oct 2023 18:38:13 -0400 + + neovim + /tags/neovim.html + Fri, 20 Oct 2023 18:38:13 -0400 + + /tags/neovim.html + + + + + tools + /tags/tools.html + Fri, 20 Oct 2023 18:38:13 -0400 + + /tags/tools.html + + + diy /tags/diy.html diff --git a/public/tags/neovim.html b/public/tags/neovim.html new file mode 100644 index 0000000..452d56d --- /dev/null +++ b/public/tags/neovim.html @@ -0,0 +1,189 @@ + + + + + + + + +neovim | Norm-working Packets 💾 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + +
    +
    Large Neovim logo, partly out of frame with a chalk arrow pointing to a smaller neovim logo with the word 'mini'. +
    +
    +

    Mini Neovim +

    +
    +
    +

    If I’m being honest, when I started this quick project to reduce my Neovim plugin footprint size, I thought I was going to be able to get rid of way more plugins! Inspired by this Reddit post that setup a Neovim config using only echasnovski’s mini library, I was reminded that some of my remote server environments were still using Packer as their plugin manager, where my main machine has upgraded to Lazy....

    +
    +
    October 20, 2023 · 3 min · 602 words · Me
    + +
    +
    + + + + + + + + + + + + + + diff --git a/public/tags/neovim/index.xml b/public/tags/neovim/index.xml new file mode 100644 index 0000000..2309446 --- /dev/null +++ b/public/tags/neovim/index.xml @@ -0,0 +1,20 @@ + + + + neovim on Norm-working Packets 💾 + /tags/neovim.html + Recent content in neovim on Norm-working Packets 💾 + Hugo -- gohugo.io + en-us + Fri, 20 Oct 2023 18:38:13 -0400 + + Mini Neovim + /posts/mini_neovim.html + Fri, 20 Oct 2023 18:38:13 -0400 + + /posts/mini_neovim.html + Neovim is already super efficient and lightweight, but sometimes I need a barebones config for my servers and remote, miniature development environments. + + + + diff --git a/public/tags/neovim/page/1.html b/public/tags/neovim/page/1.html new file mode 100644 index 0000000..18b00b0 --- /dev/null +++ b/public/tags/neovim/page/1.html @@ -0,0 +1,10 @@ + + + + /tags/neovim.html + + + + + + diff --git a/public/tags/tools.html b/public/tags/tools.html new file mode 100644 index 0000000..6e92834 --- /dev/null +++ b/public/tags/tools.html @@ -0,0 +1,189 @@ + + + + + + + + +tools | Norm-working Packets 💾 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + +
    +
    Large Neovim logo, partly out of frame with a chalk arrow pointing to a smaller neovim logo with the word 'mini'. +
    +
    +

    Mini Neovim +

    +
    +
    +

    If I’m being honest, when I started this quick project to reduce my Neovim plugin footprint size, I thought I was going to be able to get rid of way more plugins! Inspired by this Reddit post that setup a Neovim config using only echasnovski’s mini library, I was reminded that some of my remote server environments were still using Packer as their plugin manager, where my main machine has upgraded to Lazy....

    +
    +
    October 20, 2023 · 3 min · 602 words · Me
    + +
    +
    + + + + + + + + + + + + + + diff --git a/public/tags/tools/index.xml b/public/tags/tools/index.xml new file mode 100644 index 0000000..eba8c3f --- /dev/null +++ b/public/tags/tools/index.xml @@ -0,0 +1,20 @@ + + + + tools on Norm-working Packets 💾 + /tags/tools.html + Recent content in tools on Norm-working Packets 💾 + Hugo -- gohugo.io + en-us + Fri, 20 Oct 2023 18:38:13 -0400 + + Mini Neovim + /posts/mini_neovim.html + Fri, 20 Oct 2023 18:38:13 -0400 + + /posts/mini_neovim.html + Neovim is already super efficient and lightweight, but sometimes I need a barebones config for my servers and remote, miniature development environments. + + + + diff --git a/public/tags/tools/page/1.html b/public/tags/tools/page/1.html new file mode 100644 index 0000000..7eec401 --- /dev/null +++ b/public/tags/tools/page/1.html @@ -0,0 +1,10 @@ + + + + /tags/tools.html + + + + + +