feat: i really tried to like these but it's just not neovim

This commit is contained in:
♥ Minnie ♥ 2025-04-17 19:57:41 +08:00
parent 1eca29efa3
commit e8da1ecc1a
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
3 changed files with 0 additions and 89 deletions

View file

@ -1,59 +0,0 @@
{pkgs, ...}: let
# Plugin list to build our IDE's with
buildIdeWithPlugins = ide:
pkgs.jetbrains.plugins.addPlugins ide [
"ideavim" # vim engine
"github-copilot" # patched to work with NixOS
# Plugin ID: gruvbox-material-dark
(pkgs.stdenv.mkDerivation {
name = "gruvbox-material-dark";
version = "1.0.2";
src = pkgs.fetchurl {
url = "https://downloads.marketplace.jetbrains.com/files/25641/650322/gruvbox-material-dark.jar";
hash = "sha256-cgTJRisPqtZf5NMQqdbRhx1fbrx9U2eeHkpT8+rb+8E=";
};
dontUnpack = true;
installPhase = ''
mkdir -p $out
cp $src $out
'';
})
];
in {
# List of packages to be installed
home.packages = with pkgs; [
# Toolchain
gcc
unstable.python313Full # Note: keep this in sync with school.
# Install jetbrains IDE's with plugins
(buildIdeWithPlugins pkgs.jetbrains.clion)
(buildIdeWithPlugins pkgs.jetbrains.idea-ultimate)
(buildIdeWithPlugins pkgs.jetbrains.pycharm-professional)
];
# Copy our vim configuration over for jetbrains
home.file.".ideavimrc".source = ./ideavimrc;
# Enable Visual Studio Code (VSCode) program
programs.vscode = {
enable = true;
package = pkgs.unstable.vscode;
extensions = with pkgs.vscode-extensions; [
sainnhe.gruvbox-material # Gruvbox with softer contrast
vscodevim.vim # Vim Emulation
james-yu.latex-workshop # Core features for LaTeX typesetting
# Artificial Intelligence
github.copilot
github.copilot-chat
];
# Configuration
userSettings = {
"window.menuBarVisibility" = "compact";
"window.titleBarStyle" = "custom";
"workbench.colorTheme" = "Gruvbox Material Dark";
};
};
}

View file

@ -1,29 +0,0 @@
" .ideavimrc is a configuration file for IdeaVim plugin. It uses
" the same commands as the original .vimrc configuration.
" You can find a list of commands here: https://jb.gg/h38q75
" Find more examples here: https://jb.gg/share-ideavimrc
" Display relative line numbers
set number
set relativenumber
" Use the clipboard for all operations
set clipboard=unnamedplus
" Show a few lines of context around the cursor. Note that this makes the
" text scroll if you mouse-click near the start or end of the window.
set scrolloff=5
" Do incremental searching.
set incsearch
" Don't use Ex mode, use Q for formatting.
map Q gq
" --- Enable IdeaVim plugins https://jb.gg/ideavim-plugins
" Highlight copied text
Plug 'machakann/vim-highlightedyank'
" Commentary plugin
Plug 'tpope/vim-commentary'

View file

@ -3,7 +3,6 @@
./global
./features/cli
./features/desktop
./features/editors
./features/games
./features/printing
./features/university