From 8c71e7aade26dccc46eb72b4d0bbc0bd301e90ab Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Wed, 27 Dec 2023 18:01:58 +0800 Subject: [PATCH] refactor: move yazi/helix into server related apps --- home/base/desktop/neovim/README.md | 2 +- home/base/server/helix/README.md | 19 +++++++++++++++++++ .../helix.nix => server/helix/default.nix} | 0 home/base/{desktop => server}/yazi.nix | 0 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 home/base/server/helix/README.md rename home/base/{desktop/helix.nix => server/helix/default.nix} (100%) rename home/base/{desktop => server}/yazi.nix (100%) diff --git a/home/base/desktop/neovim/README.md b/home/base/desktop/neovim/README.md index e6975361..6487e3ce 100644 --- a/home/base/desktop/neovim/README.md +++ b/home/base/desktop/neovim/README.md @@ -1,4 +1,4 @@ -# AstroNvim Configuration and Shortcuts +# Neovim Editor My Neovim config based on [AstroNvim](https://github.com/AstroNvim/AstroNvim). For more details, visit the [AstroNvim website](https://astronvim.com/). diff --git a/home/base/server/helix/README.md b/home/base/server/helix/README.md new file mode 100644 index 00000000..0df5fcd2 --- /dev/null +++ b/home/base/server/helix/README.md @@ -0,0 +1,19 @@ +# Helix Editor + +Neovim is really powerful, and have a very active community. I use it as my main editor, and I'm very happy with it. I use it for everything, from writing code to writing this document. + +But its configuration is a bit complex, and finding the right plugins, writing configurations, and keeping everything up to date is not easy. + +That's why I'm interested in Helix, Helix is similar to Neovim, but it's more opinionated, and it's batteries included. +Whether I'll switch my main editor to Helix or not, it gives me a lot of ideas on how to improve my Neovim workflow. + +## Differences between Neovim and Helixer + +1. Neovim have a very activate plugin ecosystem, and it's easy to find plugins for almost everything. + 1. Helix is still new, and it even do have a stable plugin system yet. A PR to add a plugin system is still envolving: +2. Neovim has intergrated terminal, and it's very powerful. It's quite similar to VSCode's intergrated terminal. I use it a lot. + 1. Helix doesn't have a intergrated terminal yet, as it's complicated to implement. Users are recommended to use tmux/zellij or Wezterm/Kitty to implement this feature instead. + 1. + 1. + 1. **My Neovim often gets stuck when I switch to [toggleterm.nvim](https://github.com/akinsho/toggleterm.nvim), this Helix issue made me consider to switch from this neovim plugin to zellij**. + diff --git a/home/base/desktop/helix.nix b/home/base/server/helix/default.nix similarity index 100% rename from home/base/desktop/helix.nix rename to home/base/server/helix/default.nix diff --git a/home/base/desktop/yazi.nix b/home/base/server/yazi.nix similarity index 100% rename from home/base/desktop/yazi.nix rename to home/base/server/yazi.nix