Compare commits

..

2 Commits

Author SHA1 Message Date
cf1470cb63 Added Neovim Plugins:
- Remenber where you exited file
- Limited treesitter header context
- Added autocompletion
2026-03-24 09:30:30 +01:00
4962c1bb03 Plasma manager now longer overrides everything. New aliases for searching plasma settings differences 2026-03-24 09:22:18 +01:00
6 changed files with 48 additions and 11 deletions

View File

@ -65,6 +65,8 @@
];
plugins = {
# Remeber where you left the file last time
lastplace.enable = true;
# Statusline at the bottom of the screen
lualine.enable = true;
# Tab bar at the top of the screen
@ -84,7 +86,40 @@
};
};
# Shows the current function/class context pinned at the top of the buffer
treesitter-context.enable = true;
treesitter-context = {
enable = true;
settings = {
# Cap the context header
max_lines = 4;
# When over the limit, drop outermost context
trim_scope = "outer";
# Only show context in tall-enough windows
min_window_height = 20;
};
};
# Provides autocompletion suggestions
blink-cmp = {
enable = true;
settings = {
keymap.preset = "default"; # Tab/S-Tab to navigate, Enter to confirm
sources.default = ["lsp" "path" "snippets" "buffer"];
completion = {
documentation.auto_show = true;
ghost_text.enabled = true; # inline preview of the top suggestion
};
};
};
lsp = {
enable = true;
servers = {
nixd.enable = true; # Nix
ts_ls.enable = true; # TypeScript/JavaScript
# ... add more as needed
};
};
# Text objects based on treesitter nodes (e.g. select a function body)
treesitter-textobjects.enable = true;
# Auto-closes and renames HTML/JSX tags using treesitter

View File

@ -26,7 +26,8 @@ alias nix-clear="sudo nix-store --gc"
#KDE Plasma Specific
#-----
alias kde-theme-apply="source $HOME/NixOS/plasma/konsave.sh"
alias plasma-snap="cp ~/.config/plasma-org.kde.plasma.desktop-appletsrc ~/appletsrc.snap"
alias plasma-diff="diff ~/appletsrc.snap ~/.config/plasma-org.kde.plasma.desktop-appletsrc"
#LaTeX Commands
alias makepdf="makeglossaries main && pdflatex main.tex"

View File

@ -9,7 +9,7 @@
programs = {
plasma = {
enable = true;
overrideConfig = true;
overrideConfig = false;
input.mice = [
{

View File

@ -8,10 +8,9 @@
}: {
programs = {
plasma = {
overrideConfig = true;
panels = [
{
screen = "all";
height = 44;
location = "bottom";
alignment = "center";
@ -111,7 +110,8 @@
theme = "Win10OS-cursors";
size = 24;
};
wallpaper = /home/${username}/${project}/other/wallpaper1.png;
# Do not use wallpaper option here as it causes issues! Use it in configFile
# wallpaper = /home/${username}/${project}/other/wallpaper1.png;
soundTheme = "ocean";
iconTheme = "We10X";
splashScreen = {
@ -122,6 +122,9 @@
theme = "__aurorae__svg__Win11OS-dark";
};
};
configFile = {
plasmarc.Wallpapers.usersWallpapers = "/home/cookiez/NixOS/other/wallpaper1.png";
};
};
};
}

View File

@ -8,10 +8,9 @@
}: {
programs = {
plasma = {
overrideConfig = true;
panels = [
{
screen = "all";
height = 44;
location = "top";
alignment = "center";
@ -134,7 +133,8 @@
theme = "Breeze_Light";
size = 24;
};
wallpaper = /home/${username}/${project}/other/wallpaper3.png;
# Do not use wallpaper option here as it causes issues! Use it in configFile
# wallpaper = /home/${username}/${project}/other/wallpaper3.png;
soundTheme = "freedesktop";
iconTheme = "Breeze-LaCapitaine-apps";
splashScreen = {

View File

@ -23,8 +23,6 @@
in {
programs = {
plasma = {
overrideConfig = true;
powerdevil = {
AC = {
powerProfile = selectedProfile.AC.powerProfile;