Zsh und neue waybar hinzugefügt

This commit is contained in:
2025-08-07 12:51:42 +02:00
parent db84803624
commit 3f55587e18
111 changed files with 2372 additions and 2887 deletions
+303
View File
@@ -0,0 +1,303 @@
# This is an example Hyprland config file.
# Refer to the wiki for more information.
# https://wiki.hyprland.org/Configuring/
# Please note not all available settings / options are set here.
# For a full list, see the wiki
# You can split this configuration into multiple files
# Create your files separately and then link them to this file like this:
# source = ~/.config/hypr/myColors.conf
################
### MONITORS ###
################
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=eDP-1,1920x1080,0x0,1
###################
### MY PROGRAMS ###
###################
# See https://wiki.hyprland.org/Configuring/Keywords/
# Set programs that you use
$terminal = kitty
$fileManager = thunar
$menu = rofi -show drun
#################
### AUTOSTART ###
#################
# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:
exec-once = wal -R & nm-applet & $terminal &
exec-once = waybar & hyprpaper &
exec-once = dunst &
exec-once = $filemanager &
exec-once = blueman-applet &
#############################
### ENVIRONMENT VARIABLES ###
#############################
# See https://wiki.hyprland.org/Configuring/Environment-variables/
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
#####################
### LOOK AND FEEL ###
#####################
# Refer to https://wiki.hyprland.org/Configuring/Variables/
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
gaps_in = 4
gaps_out = 2
border_size = 2
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
# Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = false
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false
layout = dwindle
}
# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
rounding = 10
rounding_power = 2
# Change transparency of focused and unfocused windows
active_opacity = 0.90
inactive_opacity = 0.80
shadow {
enabled = true
range = 4
render_power = 3
color = rgba(1a1a1aee)
}
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
enabled = true
size = 3
passes = 1
vibrancy = 0.75
}
}
# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
enabled = yes, please :)
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = easeOutQuint,0.23,1,0.32,1
bezier = easeInOutCubic,0.65,0.05,0.36,1
bezier = linear,0,0,1,1
bezier = almostLinear,0.5,0.5,0.75,1.0
bezier = quick,0.15,0,0.1,1
animation = global, 1, 10, default
animation = border, 1, 5.39, easeOutQuint
animation = windows, 1, 4.79, easeOutQuint
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
animation = windowsOut, 1, 1.49, linear, popin 87%
animation = fadeIn, 1, 1.73, almostLinear
animation = fadeOut, 1, 1.46, almostLinear
animation = fade, 1, 3.03, quick
animation = layers, 1, 3.81, easeOutQuint
animation = layersIn, 1, 4, easeOutQuint, fade
animation = layersOut, 1, 1.5, linear, fade
animation = fadeLayersIn, 1, 1.79, almostLinear
animation = fadeLayersOut, 1, 1.39, almostLinear
animation = workspaces, 1, 1.94, almostLinear, fade
animation = workspacesIn, 1, 1.21, almostLinear, fade
animation = workspacesOut, 1, 1.94, almostLinear, fade
}
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
# "Smart gaps" / "No gaps when only"
# uncomment all if you wish to use that.
# workspace = w[tv1], gapsout:0, gapsin:0
# workspace = f[1], gapsout:0, gapsin:0
# windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
# windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
# windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
# windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
windowrule=opacity 1.0 override 0.85 override 1.0,class:SevTech Ages
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
preserve_split = true # You probably want this
}
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
master {
new_status = master
}
# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
}
#############
### INPUT ###
#############
# https://wiki.hyprland.org/Configuring/Variables/#input
input {
kb_layout = de
kb_variant = nodeadkeys
#kb_model = microsoftsurface
kb_options =
kb_rules =
follow_mouse = 1
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
touchpad {
natural_scroll = true
disable_while_typing = false
}
}
# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
workspace_swipe = true
}
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
name = epic-mouse-v1
sensitivity = -0.5
}
###################
### KEYBINDINGS ###
###################
# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, F, exec, firefox
bind = $mainMod, T, exec, thunderbird
bind = $mainMod, Z, fullscreen
bind = $mainMod, G, exec, steam
bind = $mainMod, D, exec, vesktop
bind = $mainMod, O, exec, spotify
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
# Screenshots
bind = $mainMod, PRINT, exec, hyprshot -m window
bind = ,PRINT, exec, hyprshot -m output
bind= $shiftMod, PRINT, exec, hyprshot -m region
# Requires playerctl
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
##############################
### WINDOWS AND WORKSPACES ###
##############################
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# Ignore maximize requests from apps. You'll probably like this.
windowrulev2 = suppressevent maximize, class:.*
# Fix some dragging issues with XWayland
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
+22
View File
@@ -0,0 +1,22 @@
preload= ~/Pictures/blue_mountains.jpg
#preload= ~/Pictures/Miami_GruvBox.jpg
preload= ~/Pictures/sunset_gruvbox.png
preload=~/Pictures/astronaut_GruvBox.jpg
preload= ~/Pictures/Berge_GruvBox.jpg
#preload= ~/Pictures/girl_gruvbox.png
preload= ~/Pictures/girl2_gruvbox.png
preload= ~/Pictures/wolf_GruvBox.jpg
preload= ~/Pictures/scrap_GruvBox.jpg
preload= ~/Pictures/moon_gruvbox.png
preload= ~/Pictures/japan_gruvbox.png
preload= ~/Pictures/garage_GruvBox.jpg
preload= ~/Pictures/japan_gruvbox.png
preload= ~/Pictures/Blumen_gruvbox.png
preload= ~/Pictures/japan_weg_gruvbox.png
preload= ~/Pictures/cyberpunk_GruvBox.jpg
wallpaper =eDP-1, ~/Pictures/blue_mountains.jpg
#wallpaper =eDP-1, ~/Pictures/Miami_GruvBox.jpg
#wallpaper =, ~/Pictures/sunset_gruvbox.png
#wallpaper =, ~/Pictures/astronaut_GruvBox.jpg
+52
View File
@@ -0,0 +1,52 @@
require("core.options")
require("core.keymaps")
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo({
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
{ out, "WarningMsg" },
{ "\nPress any key to exit..." },
}, true, {})
vim.fn.getchar()
os.exit(1)
end
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
require("plugins.neotree"),
-- require 'plugins.colortheme',
require("plugins.colors.colortheme_catppuccin"),
-- require 'plugins.colors.colortheme_tokyo_night',
-- require 'plugins.colors.colortheme_gruvbox',
-- require 'plugins.colors.colortheme_nord',
-- require 'plugins.colors.colortheme_everfrost',
require("plugins.docker"),
require("plugins.bufferline"),
require("plugins.lualine"),
require("plugins.treesitter"),
require("plugins.telescope"),
require("plugins.lsp"),
require("plugins.latex"),
require("plugins.autocompletion"),
require("plugins.autoformatting"),
require("plugins.gitsigns"),
require("plugins.alpha"),
require("plugins.indent-backline"),
require("plugins.misc"),
-- require("plugins.chatGPT"),
-- require("plugins.copilot"),
require("plugins.lazygit"),
require("plugins.harpoon"),
require("plugins.comment"),
require("plugins.debug"),
require("plugins.none-ls"),
require("plugins.dap-ui"),
require("plugins.flutter.dart-syntax"),
require("plugins.flutter.flutter-tools"),
require("plugins.nvim-jdtls"),
})
+62
View File
@@ -0,0 +1,62 @@
{
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"CopilotChat.nvim": { "branch": "canary", "commit": "451d365928a994cda3505a84905303f790e28df8" },
"LuaSnip": { "branch": "master", "commit": "c1851d5c519611dfc451b6582961b2602e0af89b" },
"alpha-nvim": { "branch": "main", "commit": "de72250e054e5e691b9736ee30db72c65d560771" },
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
"cmp-nvim-lsp": { "branch": "main", "commit": "a8912b88ce488f411177fc8aed358b04dc246d7b" },
"cmp-path": { "branch": "main", "commit": "c6635aae33a50d6010bf1aa756ac2398a2d54c32" },
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"copilot.vim": { "branch": "release", "commit": "d1e8429bef7f7709586886b0a23a46fbecc685c4" },
"dart-vim-plugin": { "branch": "master", "commit": "4bdc04e2540edf90fda2812434c11d19dc04bc8f" },
"fidget.nvim": { "branch": "main", "commit": "4e854f3299e21d1c18279add340428a97520fc44" },
"flutter-tools.nvim": { "branch": "main", "commit": "d5bb1dc3db78d7ab65dd8c5a6f32a38e383b9cb1" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"gitsigns.nvim": { "branch": "main", "commit": "39e0d1cd44eafed5f30c372e377ab1cb1781ec9f" },
"harpoon": { "branch": "harpoon2", "commit": "ed1f853847ffd04b2b61c314865665e1dadf22c7" },
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
"lazydocker.nvim": { "branch": "main", "commit": "3330d1fc32ff2f52652d5abb1f75123ce5549cfc" },
"lazygit.nvim": { "branch": "main", "commit": "b9eae3badab982e71abab96d3ee1d258f0c07961" },
"lualine.nvim": { "branch": "master", "commit": "15884cee63a8c205334ab13ab1c891cd4d27101a" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "d39a75bbce4b8aad5d627191ea915179c77c100f" },
"mason-null-ls.nvim": { "branch": "main", "commit": "de19726de7260c68d94691afb057fa73d3cc53e7" },
"mason-nvim-dap.nvim": { "branch": "main", "commit": "4c2cdc69d69fe00c15ae8648f7e954d99e5de3ea" },
"mason-tool-installer.nvim": { "branch": "main", "commit": "75d60a8f928decd8b38897f80849768b7c540a5b" },
"mason.nvim": { "branch": "main", "commit": "888d6ee499d8089a3a4be4309d239d6be1c1e6c0" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "f481de16a0eb59c985abac8985e3f2e2f75b4875" },
"none-ls-extras.nvim": { "branch": "main", "commit": "924fe88a9983c7d90dbb31fc4e3129a583ea0a90" },
"none-ls.nvim": { "branch": "main", "commit": "a5954f00ee88bcdf154e931198ec636a26a1077c" },
"nui.nvim": { "branch": "main", "commit": "f535005e6ad1016383f24e39559833759453564e" },
"nvim": { "branch": "main", "commit": "1bf070129c0b6f77cc23f6a2212dcdc868308c52" },
"nvim-autopairs": { "branch": "master", "commit": "4d74e75913832866aa7de35e4202463ddf6efd1b" },
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
"nvim-colorizer.lua": { "branch": "master", "commit": "a065833f35a3a7cc3ef137ac88b5381da2ba302e" },
"nvim-dap": { "branch": "master", "commit": "8df427aeba0a06c6577dc3ab82de3076964e3b8d" },
"nvim-dap-go": { "branch": "main", "commit": "8763ced35b19c8dc526e04a70ab07c34e11ad064" },
"nvim-dap-python": { "branch": "master", "commit": "261ce649d05bc455a29f9636dc03f8cdaa7e0e2c" },
"nvim-dap-ui": { "branch": "master", "commit": "73a26abf4941aa27da59820fd6b028ebcdbcf932" },
"nvim-jdtls": { "branch": "master", "commit": "c23f200fee469a415c77265ca55b496feb646992" },
"nvim-lspconfig": { "branch": "master", "commit": "ac1dfbe3b60e5e23a2cff90e3bd6a3bc88031a57" },
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
"nvim-treesitter": { "branch": "master", "commit": "066fd6505377e3fd4aa219e61ce94c2b8bdb0b79" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "b0debd5c424969b4baeabdc8f54db3036c691732" },
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
"nvim-web-devicons": { "branch": "master", "commit": "1fb58cca9aebbc4fd32b086cb413548ce132c127" },
"nvim-window-picker": { "branch": "main", "commit": "6382540b2ae5de6c793d4aa2e3fe6dbb518505ec" },
"plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" },
"rust-tools.nvim": { "branch": "master", "commit": "676187908a1ce35ffcd727c654ed68d851299d3e" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
"todo-comments.nvim": { "branch": "main", "commit": "304a8d204ee787d2544d8bc23cd38d2f929e7cc5" },
"toggleterm.nvim": { "branch": "main", "commit": "9a88eae817ef395952e08650b3283726786fb5fb" },
"vim-bbye": { "branch": "master", "commit": "25ef93ac5a87526111f43e5110675032dbcacf56" },
"vim-fugitive": { "branch": "master", "commit": "4a745ea72fa93bb15dd077109afbb3d1809383f2" },
"vim-rhubarb": { "branch": "master", "commit": "386daa2e9d98e23e27ad089afcbe5c5a903e488d" },
"vim-sleuth": { "branch": "master", "commit": "be69bff86754b1aa5adcbb527d7fcd1635a84080" },
"vim-tmux-navigator": { "branch": "master", "commit": "33afa80db65113561dc53fa732b7f5e53d5ecfd0" },
"vimtex": { "branch": "master", "commit": "9d9f74c3ab073b70bc943279af1aa86075de632c" },
"which-key.nvim": { "branch": "main", "commit": "370ec46f710e058c9c1646273e6b225acf47cbed" }
}
-24
View File
@@ -1,24 +0,0 @@
local function blend_colors(fg, bg, alpha)
-- fg, bg are hex colors as strings (e.g., "#a1112a")
-- alpha is a value between 0 (fully transparent) and 1 (fully opaque)
local function hex_to_rgb(hex)
return tonumber(hex:sub(2, 3), 16), tonumber(hex:sub(4, 5), 16), tonumber(hex:sub(6, 7), 16)
end
local function rgb_to_hex(r, g, b)
return string.format("#%02x%02x%02x", r, g, b)
end
local r1, g1, b1 = hex_to_rgb(fg)
local r2, g2, b2 = hex_to_rgb(bg)
local r = math.floor(r1 * alpha + r2 * (1 - alpha))
local g = math.floor(g1 * alpha + g2 * (1 - alpha))
local b = math.floor(b1 * alpha + b2 * (1 - alpha))
return rgb_to_hex(r, g, b)
end
return {
blend_colors = blend_colors,
}
-120
View File
@@ -1,120 +0,0 @@
-- Keymaps for better default experience
-- Set leader key
vim.g.mapleader = ' '
vim.g.maplocalleader = ' '
-- For conciseness
local opts = { noremap = true, silent = true }
-- Disable the spacebar key's default behavior in Normal and Visual modes
vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true })
-- Allow moving the cursor through wrapped lines with j, k
vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true })
vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true })
-- clear highlights
vim.keymap.set('n', '<Esc>', ':noh<CR>', opts)
-- save file
vim.keymap.set('n', '<C-s>', '<cmd> w <CR>', opts)
-- save file without auto-formatting
vim.keymap.set('n', '<leader>sn', '<cmd>noautocmd w <CR>', opts)
-- quit file
vim.keymap.set('n', '<C-q>', '<cmd> q <CR>', opts)
-- delete single character without copying into register
vim.keymap.set('n', 'x', '"_x', opts)
-- Vertical scroll and center
vim.keymap.set('n', '<C-d>', '<C-d>zz', opts)
vim.keymap.set('n', '<C-u>', '<C-u>zz', opts)
-- Find and center
vim.keymap.set('n', 'n', 'nzzzv')
vim.keymap.set('n', 'N', 'Nzzzv')
-- Resize with arrows
vim.keymap.set('n', '<Up>', ':resize -2<CR>', opts)
vim.keymap.set('n', '<Down>', ':resize +2<CR>', opts)
vim.keymap.set('n', '<Left>', ':vertical resize -2<CR>', opts)
vim.keymap.set('n', '<Right>', ':vertical resize +2<CR>', opts)
-- Buffers
vim.keymap.set('n', '<Tab>', ':bnext<CR>', opts)
vim.keymap.set('n', '<S-Tab>', ':bprevious<CR>', opts)
vim.keymap.set('n', '<leader>x', ':Bdelete!<CR>', opts) -- close buffer
vim.keymap.set('n', '<leader>b', '<cmd> enew <CR>', opts) -- new buffer
-- Increment/decrement numbers
vim.keymap.set('n', '<leader>+', '<C-a>', opts) -- increment
vim.keymap.set('n', '<leader>-', '<C-x>', opts) -- decrement
-- Window management
vim.keymap.set('n', '<leader>v', '<C-w>v', opts) -- split window vertically
vim.keymap.set('n', '<leader>h', '<C-w>s', opts) -- split window horizontally
vim.keymap.set('n', '<leader>se', '<C-w>=', opts) -- make split windows equal width & height
vim.keymap.set('n', '<leader>xs', ':close<CR>', opts) -- close current split window
-- Navigate between splits
vim.keymap.set('n', '<C-k>', ':wincmd k<CR>', opts)
vim.keymap.set('n', '<C-j>', ':wincmd j<CR>', opts)
vim.keymap.set('n', '<C-h>', ':wincmd h<CR>', opts)
vim.keymap.set('n', '<C-l>', ':wincmd l<CR>', opts)
-- Tabs
vim.keymap.set('n', '<leader>to', ':tabnew<CR>', opts) -- open new tab
vim.keymap.set('n', '<leader>tx', ':tabclose<CR>', opts) -- close current tab
vim.keymap.set('n', '<leader>tn', ':tabn<CR>', opts) -- go to next tab
vim.keymap.set('n', '<leader>tp', ':tabp<CR>', opts) -- go to previous tab
-- Toggle line wrapping
vim.keymap.set('n', '<leader>lw', '<cmd>set wrap!<CR>', opts)
-- Press jk fast to exit insert mode
vim.keymap.set('i', 'jk', '<ESC>', opts)
vim.keymap.set('i', 'kj', '<ESC>', opts)
-- Stay in indent mode
vim.keymap.set('v', '<', '<gv', opts)
vim.keymap.set('v', '>', '>gv', opts)
-- Move text up and down
vim.keymap.set('v', '<A-j>', ':m .+1<CR>==', opts)
vim.keymap.set('v', '<A-k>', ':m .-2<CR>==', opts)
-- Keep last yanked when pasting
vim.keymap.set('v', 'p', '"_dP', opts)
-- Replace word under cursor
vim.keymap.set('n', '<leader>j', '*``cgn', opts)
-- Explicitly yank to system clipboard (highlighted and entire row)
vim.keymap.set({ 'n', 'v' }, '<leader>y', [["+y]])
vim.keymap.set('n', '<leader>Y', [["+Y]])
-- Toggle diagnostics
local diagnostics_active = true
vim.keymap.set('n', '<leader>do', function()
diagnostics_active = not diagnostics_active
if diagnostics_active then
vim.diagnostic.enable(0)
else
vim.diagnostic.disable(0)
end
end)
-- Diagnostic keymaps
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous diagnostic message' })
vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next diagnostic message' })
vim.keymap.set('n', '<leader>d', vim.diagnostic.open_float, { desc = 'Open floating diagnostic message' })
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostics list' })
-- Save and load session
vim.keymap.set('n', '<leader>ss', ':mksession! .session.vim<CR>', { noremap = true, silent = false })
vim.keymap.set('n', '<leader>sl', ':source .session.vim<CR>', { noremap = true, silent = false })
-46
View File
@@ -1,46 +0,0 @@
vim.o.shell = "/bin/bash" -- Set default shell to bash
vim.o.hlsearch = false -- Set highlight on search
vim.wo.number = true -- Make line numbers default
vim.o.mouse = "a" -- Enable mouse mode
vim.o.clipboard = "unnamedplus" -- Sync clipboard between OS and Neovim.
vim.o.breakindent = true -- Enable break indent
vim.o.undofile = true -- Save undo history
vim.o.ignorecase = true -- Case-insensitive searching UNLESS \C or capital in search
vim.o.smartcase = true -- smart case
vim.wo.signcolumn = "yes" -- Keep signcolumn on by default
vim.o.updatetime = 250 -- Decrease update time
vim.o.timeoutlen = 300 -- time to wait for a mapped sequence to complete (in milliseconds)
vim.o.backup = false -- creates a backup file
vim.o.writebackup = false -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited
vim.o.completeopt = "menuone,noselect" -- Set completeopt to have a better completion experience
vim.opt.termguicolors = true
vim.o.termguicolors = true -- set termguicolors to enable highlight groups
vim.o.whichwrap = "bs<>[]hl" -- which "horizontal" keys are allowed to travel to prev/next line
vim.o.wrap = false -- display lines as one long line
vim.o.linebreak = true -- companion to wrap don't split words
vim.o.scrolloff = 4 -- minimal number of screen lines to keep above and below the cursor
vim.o.sidescrolloff = 8 -- minimal number of screen columns either side of cursor if wrap is `false`
vim.o.relativenumber = true -- set relative numbered lines
vim.o.numberwidth = 2 -- set number column width to 2 {default 4}
vim.o.shiftwidth = 2 -- the number of spaces inserted for each indentation
vim.o.tabstop = 2 -- insert n spaces for a tab
vim.o.softtabstop = 2 -- Number of spaces that a tab counts for while performing editing operations
vim.o.expandtab = true -- convert tabs to spaces
vim.o.cursorline = false -- highlight the current line
vim.o.splitbelow = true -- force all horizontal splits to go below current window
vim.o.splitright = true -- force all vertical splits to go to the right of current window
vim.o.swapfile = false -- creates a swapfile
vim.o.smartindent = true -- make indenting smarter again
vim.o.showmode = false -- we don't need to see things like -- INSERT -- anymore
vim.o.showtabline = 2 -- always show tabs
vim.o.backspace = "indent,eol,start" -- allow backspace on
vim.o.pumheight = 10 -- pop up menu height
vim.o.conceallevel = 0 -- so that `` is visible in markdown files
vim.o.fileencoding = "utf-8" -- the encoding written to a file
vim.o.cmdheight = 1 -- more space in the neovim command line for displaying messages
vim.o.autoindent = true -- copy indent from current line when starting new one
vim.opt.shortmess:append("c") -- don't give |ins-completion-menu| messages
vim.opt.iskeyword:append("-") -- hyphenated words recognized by searches
vim.opt.formatoptions:remove({ "c", "r", "o" }) -- don't insert the current comment leader automatically for auto-wrapping comments using 'textwidth', hitting <Enter> in insert mode, or hitting 'o' or 'O' in normal mode.
vim.opt.runtimepath:remove("/usr/share/vim/vimfiles") -- separate vim plugins from neovim in case vim still in use
vim.opt.termguicolors = true -- True color support
-24
View File
@@ -1,24 +0,0 @@
return {
"goolord/alpha-nvim",
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
local alpha = require("alpha")
local dashboard = require("alpha.themes.startify")
dashboard.section.header.val = {
[[ ]],
[[ ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ ]],
[[ ████╗ ██║██╔════╝██╔═══██╗██║ ██║██║████╗ ████║ ]],
[[ ██╔██╗ ██║█████╗ ██║ ██║██║ ██║██║██╔████╔██║ ]],
[[ ██║╚██╗██║██╔══╝ ██║ ██║╚██╗ ██╔╝██║██║╚██╔╝██║ ]],
[[ ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ ]],
[[ ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ ]],
[[ ]],
}
alpha.setup(dashboard.opts)
end,
}
-143
View File
@@ -1,143 +0,0 @@
return { -- Autocompletion
"hrsh7th/nvim-cmp",
-- event = 'InsertEnter',
dependencies = {
-- Snippet Engine & its associated nvim-cmp source
{
"L3MON4D3/LuaSnip",
build = (function()
-- Build Step is needed for regex support in snippets
-- This step is not supported in many windows environments
-- Remove the below condition to re-enable on windows
if vim.fn.has("win32") == 1 or vim.fn.executable("make") == 0 then
return
end
return "make install_jsregexp"
end)(),
},
"saadparwaiz1/cmp_luasnip",
-- Adds other completion capabilities.
-- nvim-cmp does not ship with all sources by default. They are split
-- into multiple repos for maintenance purposes.
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-path",
-- Adds a number of user-friendly snippets
"rafamadriz/friendly-snippets",
},
config = function()
local cmp = require("cmp")
require("luasnip.loaders.from_vscode").lazy_load()
local luasnip = require("luasnip")
luasnip.config.setup({})
local kind_icons = {
Text = "󰉿",
Method = "m",
Function = "󰊕",
Constructor = "",
Field = "",
Variable = "󰆧",
Class = "󰌗",
Interface = "",
Module = "",
Property = "",
Unit = "",
Value = "󰎠",
Enum = "",
Keyword = "󰌋",
Snippet = "",
Color = "󰏘",
File = "󰈙",
Reference = "",
Folder = "󰉋",
EnumMember = "",
Constant = "󰇽",
Struct = "",
Event = "",
Operator = "󰆕",
TypeParameter = "󰊄",
}
cmp.setup({
snippet = {
expand = function(args)
luasnip.lsp_expand(args.body)
end,
},
completion = { completeopt = "menu,menuone,noinsert" },
-- window = {
-- completion = cmp.config.window.bordered(),
-- documentation = cmp.config.window.bordered(),
-- },
mapping = cmp.mapping.preset.insert({
["<C-j>"] = cmp.mapping.select_next_item(), -- Select the [n]ext item
["<C-k>"] = cmp.mapping.select_prev_item(), -- Select the [p]revious item
["<CR>"] = cmp.mapping.confirm({ select = true }), -- Accept the completion with Enter.
["<C-c>"] = cmp.mapping.complete({}), -- Manually trigger a completion from nvim-cmp.
-- Think of <c-l> as moving to the right of your snippet expansion.
-- So if you have a snippet that's like:
-- function $name($args)
-- $body
-- end
--
-- <c-l> will move you to the right of each of the expansion locations.
-- <c-h> is similar, except moving you backwards.
["<C-l>"] = cmp.mapping(function()
if luasnip.expand_or_locally_jumpable() then
luasnip.expand_or_jump()
end
end, { "i", "s" }),
["<C-h>"] = cmp.mapping(function()
if luasnip.locally_jumpable(-1) then
luasnip.jump(-1)
end
end, { "i", "s" }),
-- Select next/previous item with Control + Tab / Shift + Tab
["<C-Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_next_item()
elseif luasnip.expand_or_locally_jumpable() then
luasnip.expand_or_jump()
else
fallback()
end
end, { "i", "s" }),
["<S-Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_prev_item()
elseif luasnip.locally_jumpable(-1) then
luasnip.jump(-1)
else
fallback()
end
end, { "i", "s" }),
}),
sources = {
{ name = "nvim_lsp" },
{ name = "luasnip" },
{ name = "buffer" },
{ name = "path" },
},
formatting = {
fields = { "kind", "abbr", "menu" },
format = function(entry, vim_item)
-- Kind icons
vim_item.kind = string.format("%s", kind_icons[vim_item.kind])
-- vim_item.kind = string.format('%s %s', kind_icons[vim_item.kind], vim_item.kind) -- This concatonates the icons with the name of the item kind
vim_item.menu = ({
nvim_lsp = "[LSP]",
luasnip = "[Snippet]",
buffer = "[Buffer]",
path = "[Path]",
})[entry.source.name]
return vim_item
end,
},
})
end,
}
-56
View File
@@ -1,56 +0,0 @@
-- Format on save and linters
return {
'nvimtools/none-ls.nvim',
dependencies = {
'nvimtools/none-ls-extras.nvim',
'jayp0521/mason-null-ls.nvim', -- ensure dependencies are installed
},
config = function()
local null_ls = require 'null-ls'
local formatting = null_ls.builtins.formatting -- to setup formatters
local diagnostics = null_ls.builtins.diagnostics -- to setup linters
-- list of formatters & linters for mason to install
require('mason-null-ls').setup {
ensure_installed = {
'checkmake',
'prettier', -- ts/js formatter
'stylua', -- lua formatter
'eslint_d', -- ts/js linter
'shfmt',
'ruff',
},
-- auto-install configured formatters & linters (with null-ls)
automatic_installation = true,
}
local sources = {
diagnostics.checkmake,
formatting.prettier.with { filetypes = { 'html', 'json', 'yaml', 'markdown' } },
formatting.stylua,
formatting.shfmt.with { args = { '-i', '4' } },
formatting.terraform_fmt,
require('none-ls.formatting.ruff').with { extra_args = { '--extend-select', 'I' } },
require 'none-ls.formatting.ruff_format',
}
local augroup = vim.api.nvim_create_augroup('LspFormatting', {})
null_ls.setup {
-- debug = true, -- Enable debug mode. Inspect logs with :NullLsLog.
sources = sources,
-- you can reuse a shared lspconfig on_attach callback here
on_attach = function(client, bufnr)
if client.supports_method 'textDocument/formatting' then
vim.api.nvim_clear_autocmds { group = augroup, buffer = bufnr }
vim.api.nvim_create_autocmd('BufWritePre', {
group = augroup,
buffer = bufnr,
callback = function()
vim.lsp.buf.format { async = false }
end,
})
end
end,
}
end,
}
-81
View File
@@ -1,81 +0,0 @@
return {
'akinsho/bufferline.nvim',
dependencies = {
'moll/vim-bbye',
'nvim-tree/nvim-web-devicons',
},
config = function()
-- vim.opt.linespace = 8
require('bufferline').setup {
options = {
mode = 'buffers', -- set to "tabs" to only show tabpages instead
themable = true, -- allows highlight groups to be overriden i.e. sets highlights as default
numbers = 'none', -- | "ordinal" | "buffer_id" | "both" | function({ ordinal, id, lower, raise }): string,
close_command = 'Bdelete! %d', -- can be a string | function, see "Mouse actions"
right_mouse_command = 'Bdelete! %d', -- can be a string | function, see "Mouse actions"
left_mouse_command = 'buffer %d', -- can be a string | function, see "Mouse actions"
middle_mouse_command = nil, -- can be a string | function, see "Mouse actions"
-- buffer_close_icon = '󰅖',
buffer_close_icon = '',
-- buffer_close_icon = '✕',
close_icon = '',
path_components = 1, -- Show only the file name without the directory
modified_icon = '',
left_trunc_marker = '',
right_trunc_marker = '',
max_name_length = 30,
max_prefix_length = 30, -- prefix used when a buffer is de-duplicated
tab_size = 21,
diagnostics = false,
diagnostics_update_in_insert = false,
color_icons = true,
show_buffer_icons = true,
show_buffer_close_icons = true,
show_close_icon = true,
persist_buffer_sort = true, -- whether or not custom sorted buffers should persist
separator_style = { "|", "|" }, -- Left slope and right slope
enforce_regular_tabs = true,
always_show_bufferline = true,
show_tab_indicators = false,
indicator = {
-- icon = '▎', -- this should be omitted if indicator style is not 'icon'
style = 'none', -- Options: 'icon', 'underline', 'none'
},
icon_pinned = '󰐃',
minimum_padding = 1,
maximum_padding = 5,
maximum_length = 15,
sort_by = 'insert_at_end',
},
highlights = {
separator = {
fg = '#434C5E',
},
buffer_selected = {
bold = true,
italic = false,
},
-- separator_selected = {},
-- tab_selected = {},
-- background = {},
-- indicator_selected = {},
-- fill = {},
},
}
-- Keymaps
local opts = { noremap = true, silent = true, desc = 'Go to Buffer' }
-- vim.keymap.set("n", "<Tab>", "<Cmd>BufferLineCycleNext<CR>", {})
-- vim.keymap.set("n", "<S-Tab>", "<Cmd>BufferLineCyclePrev<CR>", {})
-- vim.keymap.set('n', '<leader>1', "<cmd>lua require('bufferline').go_to_buffer(1)<CR>", opts)
-- vim.keymap.set('n', '<leader>2', "<cmd>lua require('bufferline').go_to_buffer(2)<CR>", opts)
-- vim.keymap.set('n', '<leader>3', "<cmd>lua require('bufferline').go_to_buffer(3)<CR>", opts)
-- vim.keymap.set('n', '<leader>4', "<cmd>lua require('bufferline').go_to_buffer(4)<CR>", opts)
-- vim.keymap.set('n', '<leader>5', "<cmd>lua require('bufferline').go_to_buffer(5)<CR>", opts)
-- vim.keymap.set('n', '<leader>6', "<cmd>lua require('bufferline').go_to_buffer(6)<CR>", opts)
-- vim.keymap.set('n', '<leader>7', "<cmd>lua require('bufferline').go_to_buffer(7)<CR>", opts)
-- vim.keymap.set('n', '<leader>8', "<cmd>lua require('bufferline').go_to_buffer(8)<CR>", opts)
-- vim.keymap.set('n', '<leader>9', "<cmd>lua require('bufferline').go_to_buffer(9)<CR>", opts)
end,
}
-159
View File
@@ -1,159 +0,0 @@
return {
"jackMort/ChatGPT.nvim",
event = "VeryLazy",
config = function()
vim.api.nvim_set_hl(0, "ChatGPTNormalFloat", { bg = "NONE", fg = "NONE" })
vim.api.nvim_set_hl(0, "ChatGPTFloatBorder", { bg = "NONE", fg = "NONE" })
require("chatgpt").setup({
api_key_cmd = "gpg --decrypt " .. vim.fn.expand("$HOME") .. "/Dokumente/secret.txt.gpg",
yank_register = "+",
edit_with_instructions = {
diff = false,
keymaps = {
close = "<C-c>",
accept = "<C-y>",
toggle_diff = "<C-d>",
toggle_settings = "<C-o>",
cycle_windows = "<Tab>",
use_output_as_input = "<C-i>",
},
},
chat = {
loading_text = "Loading, please wait ...",
question_sign = "", -- 🙂
-- answer_sign = '', -- 🤖
answer_sign = "🤖",
max_line_length = 120,
sessions_window = {
border = {
style = "rounded",
text = {
top = " Sessions ",
},
},
win_options = {
winhighlight = "Normal:ChatGPTNormalFloat,FloatBorder:ChatGPTFloatBorder",
},
},
},
keymaps = {
close = { "<C-c>" },
yank_last = "<C-y>",
yank_last_code = "<C-k>",
scroll_up = "<C-u>",
scroll_down = "<C-d>",
new_session = "<C-n>",
cycle_windows = "<Tab>",
cycle_modes = "<C-f>",
next_message = "<C-j>",
prev_message = "<C-k>",
select_session = "<Space>",
rename_session = "r",
delete_session = "d",
draft_message = "<C-d>",
edit_message = "e",
delete_message = "d",
toggle_settings = "<C-o>",
toggle_message_role = "<C-r>",
toggle_system_role_open = "<C-s>",
stop_generating = "<C-x>",
},
popup_layout = {
default = "center",
center = {
width = "60%",
height = "80%",
},
right = {
width = "30%",
width_settings_open = "50%",
},
},
popup_window = {
border = {
highlight = "Normal:ChatGPTNormalFloat,FloatBorder:ChatGPTFloatBorder",
style = "rounded",
text = {
top = " ChatGPT ",
},
},
win_options = {
wrap = true,
linebreak = true,
foldcolumn = "1",
winhighlight = "Normal:ChatGPTNormalFloat,FloatBorder:ChatGPTFloatBorder",
},
buf_options = {
filetype = "markdown",
},
},
system_window = {
border = {
highlight = "Normal:ChatGPTNormalFloat,FloatBorder:ChatGPTFloatBorder",
style = "rounded",
text = {
top = " SYSTEM ",
},
},
win_options = {
wrap = true,
linebreak = true,
foldcolumn = "2",
winhighlight = "Normal:ChatGPTNormalFloat,FloatBorder:ChatGPTFloatBorder",
},
},
popup_input = {
prompt = "",
border = {
highlight = "Normal:ChatGPTNormalFloat,FloatBorder:ChatGPTFloatBorder",
style = "rounded",
text = {
top_align = "center",
top = " Prompt ",
},
},
win_options = {
winhighlight = "Normal:ChatGPTNormalFloat,FloatBorder:ChatGPTFloatBorder",
},
submit = "<C-Enter>",
submit_n = "<Enter>",
max_visible_lines = 20,
},
settings_window = {
border = {
style = "rounded",
text = {
top = " Settings ",
},
},
win_options = {
winhighlight = "Normal:ChatGPTNormalFloat,FloatBorder:ChatGPTFloatBorder",
},
},
-- this config assumes you have OPENAI_API_KEY environment variable set
openai_params = {
model = "gpt-4o-mini",
frequency_penalty = 0,
presence_penalty = 0,
max_tokens = 4095,
temperature = 0.2,
top_p = 0.1,
n = 1,
},
openai_edit_params = {
model = "gpt-3.5-turbo",
frequency_penalty = 0,
presence_penalty = 0,
temperature = 0,
top_p = 1,
n = 1,
},
})
end,
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim",
},
}
@@ -1,33 +0,0 @@
return {
'catppuccin/nvim',
lazy = false,
priority = 1000,
config = function()
-- Setup Catppuccin with desired options
require('catppuccin').setup({
flavour = 'mocha', -- Options: 'latte', 'frappe', 'macchiato', 'mocha'
transparent_background = true, -- Enable transparency
term_colors = true, -- Use terminal colors
})
-- Load the colorscheme
vim.cmd('colorscheme catppuccin')
-- Toggle background transparency
local bg_transparency = true
local toggle_transparency = function()
bg_transparency = not bg_transparency
-- Manually set transparency
if bg_transparency then
require('catppuccin').setup({ transparent_background = true })
else
require('catppuccin').setup({ transparent_background = false })
end
vim.cmd('colorscheme catppuccin')
end
vim.keymap.set('n', '<leader>bg', toggle_transparency, { noremap = true, silent = true })
end
}
@@ -1,26 +0,0 @@
return {
'sainnhe/everforest',
lazy = false,
priority = 1000,
config = function()
-- Example config for Everforest
vim.g.everforest_background = 'soft' -- Options: 'hard', 'medium', 'soft'
vim.g.everforest_transparent_background = true -- Enable transparency
vim.g.everforest_better_performance = 1 -- Better performance settings
-- Load the colorscheme
vim.cmd('colorscheme everforest')
-- Toggle background transparency
local bg_transparency = true
local toggle_transparency = function()
bg_transparency = not bg_transparency
vim.g.everforest_transparent_background = bg_transparency
vim.cmd('colorscheme everforest')
end
vim.keymap.set('n', '<leader>bg', toggle_transparency, { noremap = true, silent = true })
end
}
@@ -1,25 +0,0 @@
return {
'morhetz/gruvbox',
lazy = false,
priority = 1000,
config = function()
-- Example config for Gruvbox
vim.g.gruvbox_contrast_dark = 'medium' -- Options: 'soft', 'medium', 'hard'
vim.g.gruvbox_transparent_bg = true -- Enable transparency
-- Load the colorscheme
vim.cmd('colorscheme gruvbox')
-- Toggle background transparency
local bg_transparency = true
local toggle_transparency = function()
bg_transparency = not bg_transparency
vim.g.gruvbox_transparent_bg = bg_transparency
vim.cmd('colorscheme gruvbox')
end
vim.keymap.set('n', '<leader>bg', toggle_transparency, { noremap = true, silent = true })
end
}
@@ -1,28 +0,0 @@
return {
'shaunsingh/nord.nvim',
lazy = false,
priority = 1000,
config = function()
-- Example config in lua
vim.g.nord_contrast = true
vim.g.nord_borders = false
vim.g.nord_disable_background = true
vim.g.nord_italic = false
vim.g.nord_uniform_diff_background = true
vim.g.nord_bold = false
-- Load the colorscheme
require('nord').set()
-- Toggle background transparency
local bg_transparency = true
local toggle_transparency = function()
bg_transparency = not bg_transparency
vim.g.nord_disable_background = bg_transparency
vim.cmd('colorscheme nord')
end
vim.keymap.set('n', '<leader>bg', toggle_transparency, { noremap = true, silent = true })
end
}
@@ -1,25 +0,0 @@
return {
'folke/tokyonight.nvim',
lazy = false,
priority = 1000,
config = function()
-- Example config for Tokyo Night
vim.g.tokyonight_style = 'night' -- Options: 'night', 'day'
vim.g.tokyonight_transparent = true -- Enable transparency
-- Load the colorscheme
vim.cmd('colorscheme tokyonight')
-- Toggle background transparency
local bg_transparency = true
local toggle_transparency = function()
bg_transparency = not bg_transparency
vim.g.tokyonight_transparent = bg_transparency
vim.cmd('colorscheme tokyonight')
end
vim.keymap.set('n', '<leader>bg', toggle_transparency, { noremap = true, silent = true })
end
}
-29
View File
@@ -1,29 +0,0 @@
-- Easily comment visual regions/lines
return {
"numToStr/Comment.nvim",
opts = {},
config = function()
local opts = { noremap = true, silent = true }
vim.keymap.set("n", "<C-_>", require("Comment.api").toggle.linewise.current, opts)
vim.keymap.set("n", "<C-c>", require("Comment.api").toggle.linewise.current, opts)
vim.keymap.set("n", "<C-/>", require("Comment.api").toggle.linewise.current, opts)
vim.keymap.set(
"v",
"<C-_>",
"<ESC><cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<cr>",
opts
)
vim.keymap.set(
"v",
"<C-c>",
"<ESC><cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<cr>",
opts
)
vim.keymap.set(
"v",
"<C-/>",
"<ESC><cmd>lua require('Comment.api').toggle.linewise(vim.fn.visualmode())<cr>",
opts
)
end,
}
-130
View File
@@ -1,130 +0,0 @@
return {
{
"CopilotC-Nvim/CopilotChat.nvim",
branch = "canary",
dependencies = {
{ "github/copilot.vim" },
{ "nvim-lua/plenary.nvim" },
},
build = "make tiktoken",
opts = function()
local copilot_select = require("CopilotChat.select") -- Importiere hier
return {
debug = true,
system_prompt = "You are an AI coding assistant called Copilot.",
model = "gpt-4o",
temperature = 0.1,
question_header = "## User ",
answer_header = "## Copilot ",
error_header = "## Error ",
separator = "───",
show_folds = true,
show_help = true,
auto_follow_cursor = true,
auto_insert_mode = false,
insert_at_end = false,
clear_chat_on_new_prompt = false,
highlight_selection = true,
context = nil,
history_path = vim.fn.stdpath("data") .. "/copilotchat_history",
callback = nil,
-- Default selection (visual or line)
selection = function(source)
return copilot_select.visual(source) or copilot_select.line(source)
end,
-- Default prompts
prompts = {
Explain = {
prompt = "/COPILOT_EXPLAIN Write an explanation for the active selection as paragraphs of text.",
},
Review = {
prompt = "/COPILOT_REVIEW Review the selected code.",
callback = function(response, source)
-- siehe config.lua für die Implementierung
end,
},
Fix = {
prompt = "/COPILOT_GENERATE There is a problem in this code. Rewrite the code to show it with the bug fixed.",
},
Optimize = {
prompt = "/COPILOT_GENERATE Optimize the selected code to improve performance and readability.",
},
Docs = {
prompt = "/COPILOT_GENERATE Please add documentation comment for the selection.",
},
Tests = {
prompt = "/COPILOT_GENERATE Please generate tests for my code.",
},
FixDiagnostic = {
prompt = "Please assist with the following diagnostic issue in file:",
selection = copilot_select.diagnostics,
},
Commit = {
prompt = "Write commit message for the change with commitizen convention. Make sure the title has maximum 50 characters and message is wrapped at 72 characters. Wrap the whole message in code block with language gitcommit.",
selection = copilot_select.gitdiff,
},
CommitStaged = {
prompt = "Write commit message for the change with commitizen convention. Make sure the title has maximum 50 characters and message is wrapped at 72 characters. Wrap the whole message in code block with language gitcommit.",
selection = function(source)
return copilot_select.gitdiff(source, true)
end,
},
},
-- Default window options
window = {
layout = "vertical",
width = 0.5,
height = 0.5,
relative = "editor",
border = "single",
title = "Copilot Chat",
zindex = 1,
},
-- Default mappings
mappings = {
complete = {
detail = "Use @<Tab> or /<Tab> for options.",
insert = "<Tab>",
},
close = {
normal = "q",
insert = "<C-c>",
},
reset = {
normal = "<C-l>",
insert = "<C-l>",
},
submit_prompt = {
normal = "<CR>",
insert = "<C-s>",
},
accept_diff = {
normal = "<C-y>",
insert = "<C-y>",
},
yank_diff = {
normal = "gy",
register = '"',
},
show_diff = {
normal = "gd",
},
show_system_prompt = {
normal = "gp",
},
show_user_selection = {
normal = "gs",
},
},
}
end,
},
}
-141
View File
@@ -1,141 +0,0 @@
return {
"rcarriga/nvim-dap-ui",
dependencies = { "mfussenegger/nvim-dap", "nvim-neotest/nvim-nio" },
config = function()
local dap, dapui = require("dap"), require("dapui")
local color_blend = require("color_blend")
dap.defaults.fallback.external_terminal = {
command = "/usr/bin/kitty",
args = { "-e" },
}
dap.defaults.fallback.force_external_terminal = true
dap.adapters.gdb = {
type = "executable",
command = "gdb",
args = {
"--interpreter=dap",
"--eval-command",
"set print pretty on",
},
}
-- Define the custom highlight group for the stopped line
vim.api.nvim_set_hl(0, "DapCustomHighlight", { bg = "#44475a", fg = "NONE" })
-- Define the custom highlight group for Breakpoint
vim.api.nvim_set_hl(0, "DapCustomBreakpoint", { bg = "NONE", fg = "#ff5555" })
-- Define the custom highlight group for Breakpoint line
vim.api.nvim_set_hl(
0,
"DapCustomBreakpointLine",
{ bg = color_blend.blend_colors("#a1112a", "#000000", 0.5), fg = "NONE" }
)
vim.fn.sign_define("DapBreakpoint", {
text = "", -- nerdfonts icon here
texthl = "DapCustomBreakpoint",
linehl = "DapCustomBreakpointLine",
numhl = "DapBreakpoint",
})
vim.fn.sign_define("DapStopped", {
text = "->", -- nerdfonts icon here TODO:: add a different icon depending on my nerd font
texthl = "",
linehl = "DapCustomHighlight",
numhl = "DapBreakpoint",
})
dap.configurations.c = {
{
name = "Launch",
type = "gdb",
request = "launch",
program = function()
return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/", "file")
end,
cwd = "${workspaceFolder}",
stopAtBeginningOfMainSubprogram = false,
console = "externalTerminal",
},
{
name = "Select and attach to process",
type = "gdb",
request = "attach",
program = function()
return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/", "file")
end,
pid = function()
local name = vim.fn.input("Executable name (filter): ")
return require("dap.utils").pick_process({ filter = name })
end,
cwd = "${workspaceFolder}",
},
{
name = "Attach to gdbserver :1234",
type = "gdb",
request = "attach",
target = "localhost:1234",
program = function()
return vim.fn.input("Path to executable: ", vim.fn.getcwd() .. "/", "file")
end,
cwd = "${workspaceFolder}",
},
}
dap.configurations.cpp = dap.configurations.c
vim.keymap.set("n", "<Leader>b", function()
require("dap").toggle_breakpoint()
end, { desc = "DAP-UI: toggle [B]reakpoint" })
vim.keymap.set("n", "<Leader>ev", function()
require("dapui").eval(nil, { enter = true })
end, { desc = "DAP-UI: [E][v]aluate line" })
-- vim.keymap.set("n", "<Leader>df", function()
-- local widgets = require("dap.ui.widgets")
-- widgets.centered_float(widgets.frames)
-- end)
-- vim.keymap.set("n", "<Leader>dr", function()
-- require("dap").repl.open()
-- -- Set up autocmd for terminal mode to handle color properly
-- vim.cmd([[
-- autocmd TermOpen * setlocal nonumber norelativenumber | startinsert
-- ]])
-- end)
vim.keymap.set("n", "<F5>", function()
require("dap").continue()
end, { desc = "DAP-UI: [F5] continue" })
vim.keymap.set("n", "<F10>", function()
require("dap").step_over()
end, { desc = "DAP-UI: [F10] step over" })
vim.keymap.set("n", "<F11>", function()
require("dap").step_into()
end, { desc = "DAP-UI: [F11] step into" })
vim.keymap.set("n", "<F12>", function()
require("dap").step_out()
end, { desc = "DAP-UI: [F12] step out" })
dap.listeners.before.attach.dapui_config = function()
dapui.open()
end
dap.listeners.before.launch.dapui_config = function()
dapui.open()
end
dap.listeners.before.event_terminated.dapui_config = function()
dapui.close()
end
dap.listeners.before.event_exited.dapui_config = function()
dapui.close()
end
vim.keymap.set("n", "<Leader>df", function()
require("dapui").toggle()
end, { desc = "DAP-UI: Toggle Debug Window" })
end,
}
-82
View File
@@ -1,82 +0,0 @@
return {
"mfussenegger/nvim-dap",
dependencies = {
-- Creates a beautiful debugger UI
"rcarriga/nvim-dap-ui",
"nvim-neotest/nvim-nio",
-- Installs the debug adapters for you
"williamboman/mason.nvim",
"jay-babu/mason-nvim-dap.nvim",
-- Add your own debuggers here
"leoluz/nvim-dap-go",
"mfussenegger/nvim-dap-python",
},
config = function()
local dap = require("dap")
local dapui = require("dapui")
require("mason-nvim-dap").setup({
-- Makes a best effort to setup the various debuggers with
-- reasonable debug configurations
automatic_setup = true,
automatic_installation = true,
-- You can provide additional configuration to the handlers,
-- see mason-nvim-dap README for more information
handlers = {},
-- You'll need to check that you have the required things installed
-- online, please don't ask me how to install them :)
ensure_installed = {
-- Update this to ensure that you have the debuggers for the langs you want
-- 'delve',
"debugpy",
},
})
-- Basic debugging keymaps, feel free to change to your liking!
vim.keymap.set("n", "<F5>", dap.continue, { desc = "Debug: Start/Continue" })
vim.keymap.set("n", "<F1>", dap.step_into, { desc = "Debug: Step Into" })
vim.keymap.set("n", "<F2>", dap.step_over, { desc = "Debug: Step Over" })
vim.keymap.set("n", "<F3>", dap.step_out, { desc = "Debug: Step Out" })
vim.keymap.set("n", "<leader>b", dap.toggle_breakpoint, { desc = "Debug: Toggle Breakpoint" })
vim.keymap.set("n", "<leader>B", function()
dap.set_breakpoint(vim.fn.input("Breakpoint condition: "))
end, { desc = "Debug: Set Breakpoint" })
-- Dap UI setup
-- For more information, see |:help nvim-dap-ui|
dapui.setup({
-- Set icons to characters that are more likely to work in every terminal.
-- Feel free to remove or use ones that you like more! :)
-- Don't feel like these are good choices.
icons = { expanded = "", collapsed = "", current_frame = "*" },
controls = {
icons = {
pause = "",
play = "",
step_into = "",
step_over = "",
step_out = "",
step_back = "b",
run_last = "▶▶",
terminate = "",
disconnect = "",
},
},
})
-- Toggle to see last session result. Without this, you can't see session output in case of unhandled exception.
vim.keymap.set("n", "<F7>", dapui.toggle, { desc = "Debug: See last session result." })
dap.listeners.after.event_initialized["dapui_config"] = dapui.open
dap.listeners.before.event_terminated["dapui_config"] = dapui.close
dap.listeners.before.event_exited["dapui_config"] = dapui.close
-- Install golang specific config
-- require('dap-go').setup()
require("dap-python").setup()
end,
}
-20
View File
@@ -1,20 +0,0 @@
return -- lazydocker.nvim
{
"mgierada/lazydocker.nvim",
dependencies = { "akinsho/toggleterm.nvim" },
config = function()
require("lazydocker").setup({
border = "curved", -- valid options are "single" | "double" | "shadow" | "curved"
})
end,
event = "BufRead",
keys = {
{
"<leader>ld",
function()
require("lazydocker").open()
end,
desc = "Open Lazydocker floating window",
},
},
}
@@ -1,7 +0,0 @@
return {
"dart-lang/dart-vim-plugin",
config = function()
vim.g.dart_html_in_string = true
vim.g.dart_format_on_save = true
end,
}
@@ -1,51 +0,0 @@
return {
"nvim-flutter/flutter-tools.nvim",
lazy = false,
dependencies = {
"nvim-lua/plenary.nvim",
-- "stevearc/dressing.nvim", -- optional for vim.ui.select
},
config = function()
require("flutter-tools").setup({
-- (uncomment below line for windows only)
-- flutter_path = "home/flutter/bin/flutter.bat",
flutter_path = "/home/llinde/development/flutter/bin/flutter", -- <-- this takes priority over the lookup
-- flutter_lookup_cmd = "dirname $(which flutter)", -- example "dirname $(which flutter)" or "asdf where flutter"
-- lsp = {
-- cmd = { "/usr/lib/flutter/bin/cache/dart-sdk/bin/dart", "language-server", "--protocol=lsp" },
-- },
debugger = {
-- make these two params true to enable debug mode
enabled = true,
run_via_dap = true,
register_configurations = function(_)
require("dap").adapters.dart = {
type = "executable",
command = vim.fn.stdpath("data") .. "/mason/bin/dart-debug-adapter",
args = { "flutter" },
}
require("dap").configurations.dart = {
{
type = "dart",
request = "launch",
name = "Launch flutter",
dartSdkPath = "home/flutter/bin/cache/dart-sdk/",
flutterSdkPath = "home/flutter",
program = "${workspaceFolder}/lib/main.dart",
cwd = "${workspaceFolder}",
},
}
-- uncomment below line if you've launch.json file already in your vscode setup
-- require("dap.ext.vscode").load_launchjs()
end,
},
dev_log = {
-- toggle it when you run without DAP
enabled = false,
open_cmd = "tabedit",
},
})
end,
}
-21
View File
@@ -1,21 +0,0 @@
-- Adds git related signs to the gutter, as well as utilities for managing changes
return {
"lewis6991/gitsigns.nvim",
opts = {
-- See `:help gitsigns.txt`
signs = {
add = { text = "+" },
change = { text = "~" },
delete = { text = "_" },
topdelete = { text = "" },
changedelete = { text = "~" },
},
signs_staged = {
add = { text = "+" },
change = { text = "~" },
delete = { text = "_" },
topdelete = { text = "" },
changedelete = { text = "~" },
},
},
}
-67
View File
@@ -1,67 +0,0 @@
return {
"ThePrimeagen/harpoon",
branch = "harpoon2",
dependencies = { "nvim-lua/plenary.nvim" },
config = function()
local harpoon = require("harpoon")
harpoon:setup({})
-- -- Use Telescope as a UI
-- local conf = require('telescope.config').values
-- local function toggle_telescope(harpoon_files)
-- local file_paths = {}
-- for _, item in ipairs(harpoon_files.items) do
-- table.insert(file_paths, item.value)
-- end
--
-- require('telescope.pickers')
-- .new({}, {
-- prompt_title = 'Harpoon',
-- finder = require('telescope.finders').new_table {
-- results = file_paths,
-- },
-- previewer = conf.file_previewer {},
-- sorter = conf.generic_sorter {},
-- })
-- :find()
-- end
--
-- vim.keymap.set('n', '<leader>M', function()
-- toggle_telescope(harpoon:list())
-- end, { desc = 'Open harpoon window' })
-- Default UI
vim.keymap.set("n", "<leader>M", function()
harpoon.ui:toggle_quick_menu(harpoon:list())
end)
vim.keymap.set("n", "<leader>m", function()
harpoon:list():add()
end)
vim.keymap.set("n", "<leader>1", function()
harpoon:list():select(1)
end)
vim.keymap.set("n", "<leader>2", function()
harpoon:list():select(2)
end)
vim.keymap.set("n", "<leader>3", function()
harpoon:list():select(3)
end)
vim.keymap.set("n", "<leader>4", function()
harpoon:list():select(4)
end)
-- Toggle previous & next buffers stored within Harpoon list
vim.keymap.set("n", "<leader>p", function()
harpoon:list():prev()
end)
vim.keymap.set("n", "<leader>n", function()
harpoon:list():next()
end)
end,
}
-25
View File
@@ -1,25 +0,0 @@
return {
"lukas-reineke/indent-blankline.nvim",
main = "ibl",
opts = {
indent = {
char = "",
},
scope = {
show_start = false,
show_end = false,
show_exact_scope = false,
},
exclude = {
filetypes = {
"help",
"startify",
"dashboard",
"packer",
"neogitstatus",
"NvimTree",
"Trouble",
},
},
},
}
-10
View File
@@ -1,10 +0,0 @@
return {
"lervag/vimtex",
lazy = false, -- we don't want to lazy load VimTeX
-- tag = "v2.15", -- uncomment to pin to a specific release
init = function()
-- VimTeX configuration goes here, e.g.
vim.g.vimtex_compiler_method = 'latexmk'
vim.g.vimtex_view_method = "zathura"
end
}
-33
View File
@@ -1,33 +0,0 @@
return {
"kdheepak/lazygit.nvim",
cmd = {
"LazyGit",
"LazyGitConfig",
"LazyGitCurrentFile",
"LazyGitFilter",
"LazyGitFilterCurrentFile",
},
-- optional for floating window border decoration
dependencies = {
"nvim-lua/plenary.nvim",
},
-- setting the keybinding for LazyGit with 'keys' is recommended in
-- order to load the plugin when the command is run for the first time
keys = {
-- Run LazyGit command and set background to transparent
{
"<leader>lg",
"<cmd>LazyGit<cr><cmd>hi LazyGitFloat guibg=NONE guifg=NONE<cr><cmd>setlocal winhl=NormalFloat:LazyGitFloat<cr>",
desc = "LazyGit",
},
},
config = function()
vim.g.lazygit_floating_window_winblend = 0 -- transparency of floating window (0-100)
vim.g.lazygit_floating_window_scaling_factor = 0.9 -- scaling factor for floating window
vim.g.lazygit_floating_window_border_chars = { "", "", "", "", "", "", "", "" } -- customize lazygit popup window border characters
vim.g.lazygit_floating_window_use_plenary = 0 -- use plenary.nvim to manage floating window if available
vim.g.lazygit_use_neovim_remote = 1 -- fallback to 0 if neovim-remote is not installed
vim.g.lazygit_use_custom_config_file_path = 0 -- config file path is evaluated if this value is 1
vim.g.lazygit_config_file_path = {} -- table of custom config file paths
end,
}
-292
View File
@@ -1,292 +0,0 @@
return { -- LSP Configuration & Plugins
"neovim/nvim-lspconfig",
dependencies = {
-- Automatically install LSPs and related tools to stdpath for neovim
"williamboman/mason.nvim",
"williamboman/mason-lspconfig.nvim",
"WhoIsSethDaniel/mason-tool-installer.nvim",
"hrsh7th/nvim-cmp", -- Completion plugin
"hrsh7th/cmp-nvim-lsp", -- LSP source for nvim-cmp
"simrat39/rust-tools.nvim",
-- Useful status updates for LSP.
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
{
"j-hui/fidget.nvim",
tag = "v1.4.0",
opts = {
progress = {
display = {
done_icon = "", -- Icon shown when all LSP progress tasks are complete
},
},
notification = {
window = {
winblend = 0, -- Background color opacity in the notification window
},
},
},
},
},
config = function()
vim.api.nvim_create_autocmd("LspAttach", {
group = vim.api.nvim_create_augroup("lsp-attach", { clear = true }),
-- Create a function that lets us more easily define mappings specific LSP related items.
-- It sets the mode, buffer and description for us each time.
callback = function(event)
local map = function(keys, func, desc)
vim.keymap.set("n", keys, func, { buffer = event.buf, desc = "LSP: " .. desc })
end
-- check if gl and ge work
-- Show diagnostics for the line under the cursor
map("gl", function()
vim.diagnostic.open_float(nil, { scope = "line" })
end, "[G]oto [L]ine Diagnostics")
-- Show diagnostics for the current buffer
map("ge", require("telescope.builtin").diagnostics, "[G]oto [E]rrors")
-- Jump to the definition of the word under your cursor.
-- This is where a variable was first declared, or where a function is defined, etc.
-- To jump back, press <C-T>.
map("gd", require("telescope.builtin").lsp_definitions, "[G]oto [D]efinition")
-- Find references for the word under your cursor.
map("gr", require("telescope.builtin").lsp_references, "[G]oto [R]eferences")
-- Jump to the implementation of the word under your cursor.
-- Useful when your language has ways of declaring types without an actual implementation.
map("gI", require("telescope.builtin").lsp_implementations, "[G]oto [I]mplementation")
-- Jump to the type of the word under your cursor.
-- Useful when you're not sure what type a variable is and you want to see
-- the definition of its *type*, not where it was *defined*.
map("<leader>D", require("telescope.builtin").lsp_type_definitions, "Type [D]efinition")
-- Fuzzy find all the symbols in your current document.
-- Symbols are things like variables, functions, types, etc.
map("<leader>ds", require("telescope.builtin").lsp_document_symbols, "[D]ocument [S]ymbols")
-- Fuzzy find all the symbols in your current workspace
-- Similar to document symbols, except searches over your whole project.
map("<leader>ws", require("telescope.builtin").lsp_dynamic_workspace_symbols, "[W]orkspace [S]ymbols")
-- Rename the variable under your cursor
-- Most Language Servers support renaming across files, etc.
map("<leader>rn", vim.lsp.buf.rename, "[R]e[n]ame")
-- Execute a code action, usually your cursor needs to be on top of an error
-- or a suggestion from your LSP for this to activate.
map("<leader>ca", vim.lsp.buf.code_action, "[C]ode [A]ction")
-- Opens a popup that displays documentation about the word under your cursor
-- See `:help K` for why this keymap
map("K", vim.lsp.buf.hover, "Hover Documentation")
-- WARN: This is not Goto Definition, this is Goto Declaration.
-- For example, in C this would take you to the header
map("gD", vim.lsp.buf.declaration, "[G]oto [D]eclaration")
map("<leader>wa", vim.lsp.buf.add_workspace_folder, "[W]orkspace [A]dd Folder")
map("<leader>wr", vim.lsp.buf.remove_workspace_folder, "[W]orkspace [R]emove Folder")
map("<leader>wl", function()
print(vim.inspect(vim.lsp.buf.list_workspace_folders()))
end, "[W]orkspace [L]ist Folders")
-- The following two autocommands are used to highlight references of the
-- word under your cursor when your cursor rests there for a little while.
-- See `:help CursorHold` for information about when this is executed
--
-- When you move your cursor, the highlights will be cleared (the second autocommand).
local client = vim.lsp.get_client_by_id(event.data.client_id)
if client and client.server_capabilities.documentHighlightProvider then
vim.api.nvim_create_autocmd({ "CursorHold", "CursorHoldI" }, {
buffer = event.buf,
callback = vim.lsp.buf.document_highlight,
})
vim.api.nvim_create_autocmd({ "CursorMoved", "CursorMovedI" }, {
buffer = event.buf,
callback = vim.lsp.buf.clear_references,
})
end
end,
})
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = vim.tbl_deep_extend("force", capabilities, require("cmp_nvim_lsp").default_capabilities())
local lspconfig = require("lspconfig")
-- Enable the following language servers
local servers = {
html = { filetypes = { "html", "twig", "hbs" } },
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
ts_ls = {},
lua_ls = {
-- cmd = {...},
-- filetypes { ...},
-- capabilities = {},
settings = {
Lua = {
runtime = { version = "LuaJIT" },
workspace = {
checkThirdParty = false,
-- Tells lua_ls where to find all the Lua files that you have loaded
-- for your neovim configuration.
library = {
"${3rd}/luv/library",
unpack(vim.api.nvim_get_runtime_file("", true)),
},
-- If lua_ls is really slow on your computer, you can try this instead:
-- library = { vim.env.VIMRUNTIME },
},
completion = {
callSnippet = "Replace",
},
telemetry = { enable = false },
diagnostics = { disable = { "missing-fields" } },
},
},
},
-- dcm = {},
dockerls = {},
docker_compose_language_service = {},
pylsp = {
settings = {
pylsp = {
plugins = {
pyflakes = { enabled = false },
pycodestyle = { enabled = false },
autopep8 = { enabled = false },
yapf = { enabled = false },
mccabe = { enabled = false },
pylsp_mypy = { enabled = false },
pylsp_black = { enabled = false },
pylsp_isort = { enabled = false },
},
},
},
},
-- basedpyright = {
-- -- Config options: https://github.com/DetachHead/basedpyright/blob/main/docs/settings.md
-- settings = {
-- basedpyright = {
-- disableOrganizeImports = true, -- Using Ruff's import organizer
-- disableLanguageServices = false,
-- analysis = {
-- ignore = { '*' }, -- Ignore all files for analysis to exclusively use Ruff for linting
-- typeCheckingMode = 'off',
-- diagnosticMode = 'openFilesOnly', -- Only analyze open files
-- useLibraryCodeForTypes = true,
-- autoImportCompletions = true, -- whether pyright offers auto-import completions
-- },
-- },
-- },
-- },
clangd = {
cmd = {
"clangd",
"--background-index",
"--clang-tidy",
"--header-insertion=iwyu",
"--completion-style=detailed",
"--function-arg-placeholders",
"--fallback-style=llvm",
},
filetypes = { "c", "cpp", "objc", "objcpp", "hpp" },
},
ruff = {
-- Notes on code actions: https://github.com/astral-sh/ruff-lsp/issues/119#issuecomment-1595628355
-- Get isort like behavior: https://github.com/astral-sh/ruff/issues/8926#issuecomment-1834048218
commands = {
RuffAutofix = {
function()
vim.lsp.buf.execute_command({
command = "ruff.applyAutofix",
arguments = {
{ uri = vim.uri_from_bufnr(0) },
},
})
end,
description = "Ruff: Fix all auto-fixable problems",
},
RuffOrganizeImports = {
function()
vim.lsp.buf.execute_command({
command = "ruff.applyOrganizeImports",
arguments = {
{ uri = vim.uri_from_bufnr(0) },
},
})
end,
description = "Ruff: Format imports",
},
},
},
rust_analyzer = {
["rust-analyzer"] = {
cargo = {
features = "all",
},
checkOnSave = true,
check = {
command = "clippy",
},
},
},
tailwindcss = {},
jsonls = {},
sqlls = {},
terraformls = {},
yamlls = {},
bashls = {},
graphql = {},
cssls = {},
ltex = {
language = "de-DE",
},
texlab = {},
-- Java Language Server configuration
jdtls = {},
}
-- Ensure the servers and tools above are installed
require("mason").setup()
-- You can add other tools here that you want Mason to install
-- for you, so that they are available from within Neovim.
local ensure_installed = vim.tbl_keys(servers or {})
vim.list_extend(ensure_installed, {
"stylua", -- Used to format lua code
})
require("mason-tool-installer").setup({ ensure_installed = ensure_installed })
require("mason-lspconfig").setup({
handlers = {
function(server_name)
local server = servers[server_name] or {}
-- This handles overriding only values explicitly passed
-- by the server configuration above. Useful when disabling
-- certain features of an LSP (for example, turning off formatting for tsserver)
server.capabilities = vim.tbl_deep_extend("force", {}, capabilities, server.capabilities or {})
require("lspconfig")[server_name].setup(server)
end,
},
})
local rt = require("rust-tools")
rt.setup({
server = {
on_attach = function(_, bufnr)
-- Hover actions
vim.keymap.set("n", "<C-space>", rt.hover_actions.hover_actions, { buffer = bufnr })
-- Code action groups
vim.keymap.set("n", "<Leader>a", rt.code_action_group.code_action_group, { buffer = bufnr })
end,
},
})
end,
}
-116
View File
@@ -1,116 +0,0 @@
-- Set lualine as statusline
return {
'nvim-lualine/lualine.nvim',
config = function()
-- Adapted from: https://github.com/nvim-lualine/lualine.nvim/blob/master/lua/lualine/themes/onedark.lua
local colors = {
blue = '#61afef',
green = '#98c379',
purple = '#c678dd',
cyan = '#56b6c2',
red1 = '#e06c75',
red2 = '#be5046',
yellow = '#e5c07b',
fg = '#abb2bf',
bg = '#282c34',
gray1 = '#828997',
gray2 = '#2c323c',
gray3 = '#3e4452',
}
local onedark_theme = {
normal = {
a = { fg = colors.bg, bg = colors.green, gui = 'bold' },
b = { fg = colors.fg, bg = colors.gray3 },
c = { fg = colors.fg, bg = colors.gray2 },
},
command = { a = { fg = colors.bg, bg = colors.yellow, gui = 'bold' } },
insert = { a = { fg = colors.bg, bg = colors.blue, gui = 'bold' } },
visual = { a = { fg = colors.bg, bg = colors.purple, gui = 'bold' } },
terminal = { a = { fg = colors.bg, bg = colors.cyan, gui = 'bold' } },
replace = { a = { fg = colors.bg, bg = colors.red1, gui = 'bold' } },
inactive = {
a = { fg = colors.gray1, bg = colors.bg, gui = 'bold' },
b = { fg = colors.gray1, bg = colors.bg },
c = { fg = colors.gray1, bg = colors.gray2 },
},
}
-- Import color theme based on environment variable NVIM_THEME
local env_var_nvim_theme = os.getenv 'NVIM_THEME' or 'nord'
-- Define a table of themes
local themes = {
onedark = onedark_theme,
nord = 'nord',
}
local mode = {
'mode',
fmt = function(str)
-- return ' ' .. str:sub(1, 1) -- displays only the first character of the mode
return '' .. str
end,
}
local filename = {
'filename',
file_status = true, -- displays file status (readonly status, modified status)
path = 0, -- 0 = just filename, 1 = relative path, 2 = absolute path
}
local hide_in_width = function()
return vim.fn.winwidth(0) > 100
end
local diagnostics = {
'diagnostics',
sources = { 'nvim_diagnostic' },
sections = { 'error', 'warn' },
symbols = { error = '', warn = '', info = '', hint = '' },
colored = false,
update_in_insert = false,
always_visible = false,
cond = hide_in_width,
}
local diff = {
'diff',
colored = false,
symbols = { added = '', modified = '', removed = '' }, -- changes diff symbols
cond = hide_in_width,
}
require('lualine').setup {
options = {
icons_enabled = true,
theme = themes[env_var_nvim_theme], -- Set theme based on environment variable
-- Some useful glyphs:
-- https://www.nerdfonts.com/cheat-sheet
--        
section_separators = { left = '', right = '' },
component_separators = { left = '', right = '' },
disabled_filetypes = { 'alpha', 'neo-tree', 'Avante' },
always_divide_middle = true,
},
sections = {
lualine_a = { mode },
lualine_b = { 'branch' },
lualine_c = { filename },
lualine_x = { diagnostics, diff, { 'encoding', cond = hide_in_width }, { 'filetype', cond = hide_in_width } },
lualine_y = { 'location' },
lualine_z = { 'progress' },
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = { { 'filename', path = 1 } },
lualine_x = { { 'location', padding = 0 } },
lualine_y = {},
lualine_z = {},
},
tabline = {},
extensions = { 'fugitive' },
}
end,
}
-62
View File
@@ -1,62 +0,0 @@
-- Standalone plugins with less than 10 lines of config go here
return {
{
-- tmux & split window navigation
"christoomey/vim-tmux-navigator",
},
{
-- autoclose tags
"windwp/nvim-ts-autotag",
},
{
-- detect tabstop and shiftwidth automatically
"tpope/vim-sleuth",
},
{
-- Powerful Git integration for Vim
"tpope/vim-fugitive",
},
{
-- GitHub integration for vim-fugitive
"tpope/vim-rhubarb",
},
{
-- Hints keybinds
"folke/which-key.nvim",
opts = {
-- win = {
-- border = {
-- { '┌', 'FloatBorder' },
-- { '─', 'FloatBorder' },
-- { '┐', 'FloatBorder' },
-- { '│', 'FloatBorder' },
-- { '┘', 'FloatBorder' },
-- { '─', 'FloatBorder' },
-- { '└', 'FloatBorder' },
-- { '│', 'FloatBorder' },
-- },
-- },
},
},
{
-- Autoclose parentheses, brackets, quotes, etc.
"windwp/nvim-autopairs",
event = "InsertEnter",
config = true,
opts = {},
},
{
-- Highlight todo, notes, etc in comments
"folke/todo-comments.nvim",
event = "VimEnter",
dependencies = { "nvim-lua/plenary.nvim" },
opts = { signs = false },
},
{
-- high-performance color highlighter
"norcalli/nvim-colorizer.lua",
config = function()
require("colorizer").setup()
end,
},
}
-327
View File
@@ -1,327 +0,0 @@
return {
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
"MunifTanjim/nui.nvim",
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
{
's1n7ax/nvim-window-picker',
version = '2.*',
config = function()
require 'window-picker'.setup({
filter_rules = {
include_current_win = false,
autoselect_one = true,
-- filter using buffer options
bo = {
-- if the file type is one of following, the window will be ignored
filetype = { 'neo-tree', "neo-tree-popup", "notify" },
-- if the buffer type is one of following, the window will be ignored
buftype = { 'terminal', "quickfix" },
},
},
})
end,
},
},
config = function ()
-- If you want icons for diagnostic errors, you'll need to define them somewhere:
vim.fn.sign_define("DiagnosticSignError",
{text = "", texthl = "DiagnosticSignError"})
vim.fn.sign_define("DiagnosticSignWarn",
{text = "", texthl = "DiagnosticSignWarn"})
vim.fn.sign_define("DiagnosticSignInfo",
{text = "", texthl = "DiagnosticSignInfo"})
vim.fn.sign_define("DiagnosticSignHint",
{text = "󰌵", texthl = "DiagnosticSignHint"})
require("neo-tree").setup({
close_if_last_window = false, -- Close Neo-tree if it is the last window left in the tab
popup_border_style = "rounded",
enable_git_status = true,
enable_diagnostics = true,
open_files_do_not_replace_types = { "terminal", "trouble", "qf" }, -- when opening files, do not use windows containing these filetypes or buftypes
sort_case_insensitive = false, -- used when sorting files and directories in the tree
sort_function = nil , -- use a custom function for sorting files and directories in the tree
-- sort_function = function (a,b)
-- if a.type == b.type then
-- return a.path > b.path
-- else
-- return a.type > b.type
-- end
-- end , -- this sorts files and directories descendantly
default_component_configs = {
container = {
enable_character_fade = true
},
indent = {
indent_size = 2,
padding = 1, -- extra padding on left hand side
-- indent guides
with_markers = true,
indent_marker = "",
last_indent_marker = "",
highlight = "NeoTreeIndentMarker",
-- expander config, needed for nesting files
with_expanders = nil, -- if nil and file nesting is enabled, will enable expanders
expander_collapsed = "",
expander_expanded = "",
expander_highlight = "NeoTreeExpander",
},
icon = {
folder_closed = "",
folder_open = "",
folder_empty = "󰜌",
provider = function(icon, node, state) -- default icon provider utilizes nvim-web-devicons if available
if node.type == "file" or node.type == "terminal" then
local success, web_devicons = pcall(require, "nvim-web-devicons")
local name = node.type == "terminal" and "terminal" or node.name
if success then
local devicon, hl = web_devicons.get_icon(name)
icon.text = devicon or icon.text
icon.highlight = hl or icon.highlight
end
end
end,
-- The next two settings are only a fallback, if you use nvim-web-devicons and configure default icons there
-- then these will never be used.
default = "*",
highlight = "NeoTreeFileIcon"
},
modified = {
symbol = "[+]",
highlight = "NeoTreeModified",
},
name = {
trailing_slash = false,
use_git_status_colors = true,
highlight = "NeoTreeFileName",
},
git_status = {
symbols = {
-- Change type
added = "", -- or "✚", but this is redundant info if you use git_status_colors on the name
modified = "", -- or "", but this is redundant info if you use git_status_colors on the name
deleted = "",-- this can only be used in the git_status source
renamed = "󰁕",-- this can only be used in the git_status source
-- Status type
untracked = "",
ignored = "",
unstaged = "󰄱",
staged = "",
conflict = "",
}
},
-- If you don't want to use these columns, you can set `enabled = false` for each of them individually
file_size = {
enabled = true,
required_width = 64, -- min width of window required to show this column
},
type = {
enabled = true,
required_width = 122, -- min width of window required to show this column
},
last_modified = {
enabled = true,
required_width = 88, -- min width of window required to show this column
},
created = {
enabled = true,
required_width = 110, -- min width of window required to show this column
},
symlink_target = {
enabled = false,
},
},
-- A list of functions, each representing a global custom command
-- that will be available in all sources (if not overridden in `opts[source_name].commands`)
-- see `:h neo-tree-custom-commands-global`
commands = {},
window = {
position = "left",
width = 40,
mapping_options = {
noremap = true,
nowait = true,
},
mappings = {
["<space>"] = {
"toggle_node",
nowait = false, -- disable `nowait` if you have existing combos starting with this char that you want to use
},
["<2-LeftMouse>"] = "open",
["<cr>"] = "open",
["<esc>"] = "cancel", -- close preview or floating neo-tree window
["P"] = { "toggle_preview", config = { use_float = true, use_image_nvim = true } },
-- Read `# Preview Mode` for more information
["l"] = "focus_preview",
["S"] = "open_split",
["s"] = "open_vsplit",
-- ["S"] = "split_with_window_picker",
-- ["s"] = "vsplit_with_window_picker",
["t"] = "open_tabnew",
-- ["<cr>"] = "open_drop",
-- ["t"] = "open_tab_drop",
["w"] = "open_with_window_picker",
--["P"] = "toggle_preview", -- enter preview mode, which shows the current node without focusing
["C"] = "close_node",
-- ['C'] = 'close_all_subnodes',
["z"] = "close_all_nodes",
--["Z"] = "expand_all_nodes",
["a"] = {
"add",
-- this command supports BASH style brace expansion ("x{a,b,c}" -> xa,xb,xc). see `:h neo-tree-file-actions` for details
-- some commands may take optional config options, see `:h neo-tree-mappings` for details
config = {
show_path = "none" -- "none", "relative", "absolute"
}
},
["A"] = "add_directory", -- also accepts the optional config.show_path option like "add". this also supports BASH style brace expansion.
["d"] = "delete",
["r"] = "rename",
["y"] = "copy_to_clipboard",
["x"] = "cut_to_clipboard",
["p"] = "paste_from_clipboard",
["c"] = "copy", -- takes text input for destination, also accepts the optional config.show_path option like "add":
-- ["c"] = {
-- "copy",
-- config = {
-- show_path = "none" -- "none", "relative", "absolute"
-- }
--}
["m"] = "move", -- takes text input for destination, also accepts the optional config.show_path option like "add".
["q"] = "close_window",
["R"] = "refresh",
["?"] = "show_help",
["<"] = "prev_source",
[">"] = "next_source",
["i"] = "show_file_details",
}
},
nesting_rules = {},
filesystem = {
filtered_items = {
visible = false, -- when true, they will just be displayed differently than normal items
hide_dotfiles = true,
hide_gitignored = true,
hide_hidden = true, -- only works on Windows for hidden files/directories
hide_by_name = {
--"node_modules"
},
hide_by_pattern = { -- uses glob style patterns
--"*.meta",
--"*/src/*/tsconfig.json",
},
always_show = { -- remains visible even if other settings would normally hide it
--".gitignored",
},
always_show_by_pattern = { -- uses glob style patterns
--".env*",
},
never_show = { -- remains hidden even if visible is toggled to true, this overrides always_show
--".DS_Store",
--"thumbs.db"
},
never_show_by_pattern = { -- uses glob style patterns
--".null-ls_*",
},
},
follow_current_file = {
enabled = false, -- This will find and focus the file in the active buffer every time
-- -- the current file is changed while the tree is open.
leave_dirs_open = false, -- `false` closes auto expanded dirs, such as with `:Neotree reveal`
},
group_empty_dirs = false, -- when true, empty folders will be grouped together
hijack_netrw_behavior = "open_default", -- netrw disabled, opening a directory opens neo-tree
-- in whatever position is specified in window.position
-- "open_current", -- netrw disabled, opening a directory opens within the
-- window like netrw would, regardless of window.position
-- "disabled", -- netrw left alone, neo-tree does not handle opening dirs
use_libuv_file_watcher = false, -- This will use the OS level file watchers to detect changes
-- instead of relying on nvim autocmd events.
window = {
mappings = {
["<bs>"] = "navigate_up",
["."] = "set_root",
["H"] = "toggle_hidden",
["/"] = "fuzzy_finder",
["D"] = "fuzzy_finder_directory",
["#"] = "fuzzy_sorter", -- fuzzy sorting using the fzy algorithm
-- ["D"] = "fuzzy_sorter_directory",
["f"] = "filter_on_submit",
["<c-x>"] = "clear_filter",
["[g"] = "prev_git_modified",
["]g"] = "next_git_modified",
["o"] = { "show_help", nowait=false, config = { title = "Order by", prefix_key = "o" }},
["oc"] = { "order_by_created", nowait = false },
["od"] = { "order_by_diagnostics", nowait = false },
["og"] = { "order_by_git_status", nowait = false },
["om"] = { "order_by_modified", nowait = false },
["on"] = { "order_by_name", nowait = false },
["os"] = { "order_by_size", nowait = false },
["ot"] = { "order_by_type", nowait = false },
-- ['<key>'] = function(state) ... end,
},
fuzzy_finder_mappings = { -- define keymaps for filter popup window in fuzzy_finder_mode
["<down>"] = "move_cursor_down",
["<C-n>"] = "move_cursor_down",
["<up>"] = "move_cursor_up",
["<C-p>"] = "move_cursor_up",
-- ['<key>'] = function(state, scroll_padding) ... end,
},
},
commands = {} -- Add a custom command or override a global one using the same function name
},
buffers = {
follow_current_file = {
enabled = true, -- This will find and focus the file in the active buffer every time
-- -- the current file is changed while the tree is open.
leave_dirs_open = false, -- `false` closes auto expanded dirs, such as with `:Neotree reveal`
},
group_empty_dirs = true, -- when true, empty folders will be grouped together
show_unloaded = true,
window = {
mappings = {
["bd"] = "buffer_delete",
["<bs>"] = "navigate_up",
["."] = "set_root",
["o"] = { "show_help", nowait=false, config = { title = "Order by", prefix_key = "o" }},
["oc"] = { "order_by_created", nowait = false },
["od"] = { "order_by_diagnostics", nowait = false },
["om"] = { "order_by_modified", nowait = false },
["on"] = { "order_by_name", nowait = false },
["os"] = { "order_by_size", nowait = false },
["ot"] = { "order_by_type", nowait = false },
}
},
},
git_status = {
window = {
position = "float",
mappings = {
["A"] = "git_add_all",
["gu"] = "git_unstage_file",
["ga"] = "git_add_file",
["gr"] = "git_revert_file",
["gc"] = "git_commit",
["gp"] = "git_push",
["gg"] = "git_commit_and_push",
["o"] = { "show_help", nowait=false, config = { title = "Order by", prefix_key = "o" }},
["oc"] = { "order_by_created", nowait = false },
["od"] = { "order_by_diagnostics", nowait = false },
["om"] = { "order_by_modified", nowait = false },
["on"] = { "order_by_name", nowait = false },
["os"] = { "order_by_size", nowait = false },
["ot"] = { "order_by_type", nowait = false },
}
}
}
})
vim.cmd([[nnoremap \ :Neotree reveal<cr>]])
vim.keymap.set('n', '<leader>e', ':Neotree toggle position=left<CR>', { noremap = true, silent = true })
end
}
-56
View File
@@ -1,56 +0,0 @@
-- Format on save and linters
return {
"nvimtools/none-ls.nvim",
dependencies = {
"nvimtools/none-ls-extras.nvim",
"jayp0521/mason-null-ls.nvim", -- ensure dependencies are installed
},
config = function()
local null_ls = require("null-ls")
local formatting = null_ls.builtins.formatting -- to setup formatters
local diagnostics = null_ls.builtins.diagnostics -- to setup linters
-- list of formatters & linters for mason to install
require("mason-null-ls").setup({
ensure_installed = {
"checkmake",
"prettier", -- ts/js formatter
"stylua", -- lua formatter
"eslint_d", -- ts/js linter
"shfmt",
"ruff",
},
-- auto-install configured formatters & linters (with null-ls)
automatic_installation = true,
})
local sources = {
diagnostics.checkmake,
formatting.prettier.with({ filetypes = { "html", "json", "yaml", "markdown" } }),
formatting.stylua,
formatting.shfmt.with({ args = { "-i", "4" } }),
formatting.terraform_fmt,
require("none-ls.formatting.ruff").with({ extra_args = { "--extend-select", "I" } }),
require("none-ls.formatting.ruff_format"),
}
local augroup = vim.api.nvim_create_augroup("LspFormatting", {})
null_ls.setup({
-- debug = true, -- Enable debug mode. Inspect logs with :NullLsLog.
sources = sources,
-- you can reuse a shared lspconfig on_attach callback here
on_attach = function(client, bufnr)
if client.supports_method("textDocument/formatting") then
vim.api.nvim_clear_autocmds({ group = augroup, buffer = bufnr })
vim.api.nvim_create_autocmd("BufWritePre", {
group = augroup,
buffer = bufnr,
callback = function()
vim.lsp.buf.format({ async = false })
end,
})
end
end,
})
end,
}
-10
View File
@@ -1,10 +0,0 @@
return {
"mfussenegger/nvim-jdtls",
ft = "java",
config = function()
require("jdtls").start_or_attach({
cmd = { "/home/llinde/.local/share/nvim/mason/packages/jdtls/bin/jdtls" },
root_dir = require("jdtls.setup").find_root({ "gradlew", ".git", "mvnw" }),
})
end,
}
-118
View File
@@ -1,118 +0,0 @@
-- Fuzzy Finder (files, lsp, etc)
return {
"nvim-telescope/telescope.nvim",
branch = "0.1.x",
dependencies = {
"nvim-lua/plenary.nvim",
-- Fuzzy Finder Algorithm which requires local dependencies to be built.
-- Only load if `make` is available. Make sure you have the system
-- requirements installed.
{
"nvim-telescope/telescope-fzf-native.nvim",
build = "make",
cond = function()
return vim.fn.executable("make") == 1
end,
},
"nvim-telescope/telescope-ui-select.nvim",
-- Useful for getting pretty icons, but requires a Nerd Font.
"nvim-tree/nvim-web-devicons",
},
config = function()
local telescope = require("telescope")
local actions = require("telescope.actions")
local builtin = require("telescope.builtin")
require("telescope").setup({
defaults = {
mappings = {
i = {
["<C-k>"] = actions.move_selection_previous, -- move to prev result
["<C-j>"] = actions.move_selection_next, -- move to next result
["<C-l>"] = actions.select_default, -- open file
},
n = {
["q"] = actions.close,
},
},
},
pickers = {
find_files = {
file_ignore_patterns = { "node_modules", ".git", ".venv" },
hidden = true,
},
buffers = {
initial_mode = "normal",
sort_lastused = true,
-- sort_mru = true,
mappings = {
n = {
["d"] = actions.delete_buffer,
["l"] = actions.select_default,
},
},
},
},
live_grep = {
file_ignore_patterns = { "node_modules", ".git", ".venv" },
additional_args = function(_)
return { "--hidden" }
end,
},
path_display = {
filename_first = {
reverse_directories = true,
},
},
extensions = {
["ui-select"] = {
require("telescope.themes").get_dropdown(),
},
},
git_files = {
previewer = false,
},
})
-- Enable telescope fzf native, if installed
pcall(require("telescope").load_extension, "fzf")
pcall(require("telescope").load_extension, "ui-select")
require("telescope").load_extension("flutter")
vim.keymap.set("n", "<leader>tf", ":Telescope flutter commands<CR>", { desc = "[T]elescope [F]lutter" })
vim.keymap.set("n", "<leader>?", builtin.oldfiles, { desc = "[?] Find recently opened files" })
vim.keymap.set("n", "<leader>sb", builtin.buffers, { desc = "[S]earch existing [B]uffers" })
vim.keymap.set("n", "<leader>sm", builtin.marks, { desc = "[S]earch [M]arks" })
vim.keymap.set("n", "<leader>gf", builtin.git_files, { desc = "Search [G]it [F]iles" })
vim.keymap.set("n", "<leader>gc", builtin.git_commits, { desc = "Search [G]it [C]ommits" })
vim.keymap.set("n", "<leader>gcf", builtin.git_bcommits, { desc = "Search [G]it [C]ommits for current [F]ile" })
vim.keymap.set("n", "<leader>gb", builtin.git_branches, { desc = "Search [G]it [B]ranches" })
vim.keymap.set("n", "<leader>gs", builtin.git_status, { desc = "Search [G]it [S]tatus (diff view)" })
vim.keymap.set("n", "<leader>sf", builtin.find_files, { desc = "[S]earch [F]iles" })
vim.keymap.set("n", "<leader>sh", builtin.help_tags, { desc = "[S]earch [H]elp" })
vim.keymap.set("n", "<leader>sw", builtin.grep_string, { desc = "[S]earch current [W]ord" })
vim.keymap.set("n", "<leader>sg", builtin.live_grep, { desc = "[S]earch by [G]rep" })
vim.keymap.set("n", "<leader>sd", builtin.diagnostics, { desc = "[S]earch [D]iagnostics" })
vim.keymap.set("n", "<leader>sr", builtin.resume, { desc = "[S]earch [R]resume" })
vim.keymap.set("n", "<leader>s.", builtin.oldfiles, { desc = '[S]earch Recent Files ("." for repeat)' })
vim.keymap.set("n", "<leader>sds", function()
builtin.lsp_document_symbols({
symbols = { "Class", "Function", "Method", "Constructor", "Interface", "Module", "Property" },
})
end, { desc = "[S]each LSP document [S]ymbols" })
vim.keymap.set("n", "<leader><leader>", builtin.buffers, { desc = "[ ] Find existing buffers" })
vim.keymap.set("n", "<leader>s/", function()
builtin.live_grep({
grep_open_files = true,
prompt_title = "Live Grep in Open Files",
})
end, { desc = "[S]earch [/] in Open Files" })
vim.keymap.set("n", "<leader>/", function()
-- You can pass additional configuration to telescope to change theme, layout, etc.
builtin.current_buffer_fuzzy_find(require("telescope.themes").get_dropdown({
previewer = false,
}))
end, { desc = "[/] Fuzzily search in current buffer" })
end,
}
-104
View File
@@ -1,104 +0,0 @@
-- Highlight, edit, and navigate code
return {
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
dependencies = {
'nvim-treesitter/nvim-treesitter-textobjects',
},
config = function()
require('nvim-treesitter.configs').setup {
-- Add languages to be installed here that you want installed for treesitter
ensure_installed = {
'lua',
'python',
'javascript',
'typescript',
'vimdoc',
'vim',
'regex',
'sql',
'dockerfile',
'json',
'java',
'go',
'gitignore',
'graphql',
'yaml',
'make',
'cmake',
'markdown',
'markdown_inline',
'bash',
'tsx',
'css',
'html',
'latex',
},
-- Autoinstall languages that are not installed
auto_install = true,
highlight = { enable = true },
indent = { enable = true },
incremental_selection = {
enable = true,
keymaps = {
init_selection = '<c-space>',
node_incremental = '<c-space>',
scope_incremental = '<c-s>',
node_decremental = '<M-space>',
},
},
textobjects = {
select = {
enable = true,
lookahead = true, -- Automatically jump forward to textobj, similar to targets.vim
keymaps = {
-- You can use the capture groups defined in textobjects.scm
['aa'] = '@parameter.outer',
['ia'] = '@parameter.inner',
['af'] = '@function.outer',
['if'] = '@function.inner',
['ac'] = '@class.outer',
['ic'] = '@class.inner',
},
},
move = {
enable = true,
set_jumps = true, -- whether to set jumps in the jumplist
goto_next_start = {
[']m'] = '@function.outer',
[']]'] = '@class.outer',
},
goto_next_end = {
[']M'] = '@function.outer',
[']['] = '@class.outer',
},
goto_previous_start = {
['[m'] = '@function.outer',
['[['] = '@class.outer',
},
goto_previous_end = {
['[M'] = '@function.outer',
['[]'] = '@class.outer',
},
},
swap = {
enable = true,
swap_next = {
['<leader>a'] = '@parameter.inner',
},
swap_previous = {
['<leader>A'] = '@parameter.inner',
},
},
},
}
-- Register additional file extensions
vim.filetype.add { extension = { tf = 'terraform' } }
vim.filetype.add { extension = { tfvars = 'terraform' } }
vim.filetype.add { extension = { pipeline = 'groovy' } }
vim.filetype.add { extension = { multibranch = 'groovy' } }
end,
}
+5 -3
View File
@@ -1,7 +1,7 @@
return { return {
{ {
"CopilotC-Nvim/CopilotChat.nvim", "CopilotC-Nvim/CopilotChat.nvim",
branch = "canary", branch = "main",
dependencies = { dependencies = {
{ "github/copilot.vim" }, { "github/copilot.vim" },
{ "nvim-lua/plenary.nvim" }, { "nvim-lua/plenary.nvim" },
@@ -66,11 +66,13 @@ return {
selection = copilot_select.diagnostics, selection = copilot_select.diagnostics,
}, },
Commit = { Commit = {
prompt = "Write commit message for the change with commitizen convention. Make sure the title has maximum 50 characters and message is wrapped at 72 characters. Wrap the whole message in code block with language gitcommit.", prompt =
"Write commit message for the change with commitizen convention. Make sure the title has maximum 50 characters and message is wrapped at 72 characters. Wrap the whole message in code block with language gitcommit.",
selection = copilot_select.gitdiff, selection = copilot_select.gitdiff,
}, },
CommitStaged = { CommitStaged = {
prompt = "Write commit message for the change with commitizen convention. Make sure the title has maximum 50 characters and message is wrapped at 72 characters. Wrap the whole message in code block with language gitcommit.", prompt =
"Write commit message for the change with commitizen convention. Make sure the title has maximum 50 characters and message is wrapped at 72 characters. Wrap the whole message in code block with language gitcommit.",
selection = function(source) selection = function(source)
return copilot_select.gitdiff(source, true) return copilot_select.gitdiff(source, true)
end, end,
+37
View File
@@ -0,0 +1,37 @@
--Place this file in your .xmonad/lib directory and import module Colors into .xmonad/xmonad.hs config
--The easy way is to create a soft link from this file to the file in .xmonad/lib using ln -s
--Then recompile and restart xmonad.
module Colors
( wallpaper
, background, foreground, cursor
, color0, color1, color2, color3, color4, color5, color6, color7
, color8, color9, color10, color11, color12, color13, color14, color15
) where
-- Shell variables
-- Generated by 'wal'
wallpaper="/home/zaske/Pictures/cyberpunk_GruvBox.jpg"
-- Special
background="#101725"
foreground="#c3c5c8"
cursor="#c3c5c8"
-- Colors
color0="#101725"
color1="#4C4D4F"
color2="#6C6A5F"
color3="#C15E59"
color4="#6F8F70"
color5="#979274"
color6="#DC9548"
color7="#c3c5c8"
color8="#5f6674"
color9="#4C4D4F"
color10="#6C6A5F"
color11="#C15E59"
color12="#6F8F70"
color13="#979274"
color14="#DC9548"
color15="#c3c5c8"
+16 -16
View File
@@ -1,16 +1,16 @@
#0f0d16 #101725
#98364A #4C4D4F
#C6394B #6C6A5F
#A84859 #C15E59
#DE5F67 #6F8F70
#F3877C #979274
#DA7C82 #DC9548
#f1c3bf #c3c5c8
#a88885 #5f6674
#98364A #4C4D4F
#C6394B #6C6A5F
#A84859 #C15E59
#DE5F67 #6F8F70
#F3877C #979274
#DA7C82 #DC9548
#f1c3bf #c3c5c8
+53
View File
@@ -0,0 +1,53 @@
colors:
primary:
background: "#101725"
foreground: "#c3c5c8"
cursor:
text: CellBackground
cursor: CellForeground
vi_mode_cursor:
text: CellBackground
cursor: CellForeground
search:
matches:
foreground: '#101725'
background: '#c3c5c8'
focused_match:
foreground: CellBackground
background: CellForeground
line_indicator:
foreground: None
background: None
footer_bar:
foreground: '#5f6674'
background: '#c3c5c8'
selection:
text: CellBackground
background: CellForeground
normal:
black: "#101725"
red: "#4C4D4F"
green: "#6C6A5F"
yellow: "#C15E59"
blue: "#6F8F70"
magenta: "#979274"
cyan: "#DC9548"
white: "#c3c5c8"
bright:
black: "#5f6674"
red: "#4C4D4F"
green: "#6C6A5F"
yellow: "#C15E59"
blue: "#6F8F70"
magenta: "#979274"
cyan: "#DC9548"
white: "#c3c5c8"
+62
View File
@@ -0,0 +1,62 @@
[colors.primary]
background = "#101725"
foreground = "#c3c5c8"
[colors.cursor]
text = "#101725"
cursor = "#c3c5c8"
[colors.vi_mode_cursor]
text = "#101725"
cursor = "#c3c5c8"
[colors.search.matches]
foreground = "#101725"
background = "#c3c5c8"
[colors.search.focused_match]
foreground = "CellBackground"
background = "CellForeground"
[colors.line_indicator]
foreground = "None"
background = "None"
[colors.footer_bar]
foreground = "#5f6674"
background = "#c3c5c8"
[colors.selection]
text = "CellBackground"
background = "CellForeground"
[colors.normal]
black = "#101725"
red = "#4C4D4F"
green = "#6C6A5F"
yellow = "#C15E59"
blue = "#6F8F70"
magenta = "#979274"
cyan = "#DC9548"
white = "#c3c5c8"
[colors.bright]
black = "#5f6674"
red = "#4C4D4F"
green = "#6C6A5F"
yellow = "#C15E59"
blue = "#6F8F70"
magenta = "#979274"
cyan = "#DC9548"
white = "#c3c5c8"
[colors.dim]
black = "#c3c5c8"
red = "#4C4D4F"
green = "#979274"
yellow = "#C15E59"
blue = "#6F8F70"
magenta = "#6C6A5F"
cyan = "#DC9548"
white = "#5f6674"
+63
View File
@@ -0,0 +1,63 @@
colors:
primary:
background: "#101725"
foreground: "#c3c5c8"
cursor:
text: CellBackground
cursor: CellForeground
vi_mode_cursor:
text: CellBackground
cursor: CellForeground
search:
matches:
foreground: '#101725'
background: '#c3c5c8'
focused_match:
foreground: CellBackground
background: CellForeground
line_indicator:
foreground: None
background: None
footer_bar:
foreground: '#5f6674'
background: '#c3c5c8'
selection:
text: CellBackground
background: CellForeground
normal:
black: "#101725"
red: "#4C4D4F"
green: "#6C6A5F"
yellow: "#C15E59"
blue: "#6F8F70"
magenta: "#979274"
cyan: "#DC9548"
white: "#c3c5c8"
bright:
black: "#5f6674"
red: "#4C4D4F"
green: "#6C6A5F"
yellow: "#C15E59"
blue: "#6F8F70"
magenta: "#979274"
cyan: "#DC9548"
white: "#c3c5c8"
dim:
black: "#c3c5c8"
red: "#4C4D4F"
green: "#979274"
yellow: "#C15E59"
blue: "#6F8F70"
magenta: "#6C6A5F"
cyan: "#DC9548"
white: "#5f6674"
+19
View File
@@ -0,0 +1,19 @@
[colors]
background=101725
foreground=c3c5c8
regular0=101725
regular1=4C4D4F
regular2=6C6A5F
regular3=C15E59
regular4=6F8F70
regular5=979274
regular6=DC9548
regular7=c3c5c8
bright0=5f6674
bright1=4C4D4F
bright2=6C6A5F
bright3=C15E59
bright4=6F8F70
bright5=979274
bright6=DC9548
bright7=c3c5c8
+11
View File
@@ -0,0 +1,11 @@
[colors]
background=101725ff
prompt=c3c5c8ff
text=c3c5c8ff
placeholder=c3c5c8ff
input=c3c5c8ff
match=c3c5c8ff
selection=4C4D4Fff
selection-text=101725ff
selection-match=c3c5c8ff
border=4C4D4Fff
+21
View File
@@ -0,0 +1,21 @@
$wallpaper = /home/zaske/Pictures/cyberpunk_GruvBox.jpg
$foreground = rgba(195,197,200,1.0)
$background = rgba(16,23,37,1.0)
$color0 = rgba(16,23,37,1.0)
$color1 = rgba(76,77,79,1.0)
$color2 = rgba(108,106,95,1.0)
$color3 = rgba(193,94,89,1.0)
$color4 = rgba(111,143,112,1.0)
$color5 = rgba(151,146,116,1.0)
$color6 = rgba(220,149,72,1.0)
$color7 = rgba(195,197,200,1.0)
$color8 = rgba(95,102,116,1.0)
$color9 = rgba(76,77,79,1.0)
$color10 = rgba(108,106,95,1.0)
$color11 = rgba(193,94,89,1.0)
$color12 = rgba(111,143,112,1.0)
$color13 = rgba(151,146,116,1.0)
$color14 = rgba(220,149,72,1.0)
$color15 = rgba(195,197,200,1.0)
+29 -19
View File
@@ -1,20 +1,30 @@
foreground #f1c3bf foreground #c3c5c8
background #0f0d16 background #101725
cursor #f1c3bf background_opacity 1.0
cursor #c3c5c8
color0 #0f0d16 active_tab_foreground #101725
color8 #a88885 active_tab_background #c3c5c8
color1 #98364A inactive_tab_foreground #c3c5c8
color9 #98364A inactive_tab_background #101725
color2 #C6394B
color10 #C6394B active_border_color #c3c5c8
color3 #A84859 inactive_border_color #101725
color11 #A84859 bell_border_color #4C4D4F
color4 #DE5F67
color12 #DE5F67 color0 #101725
color5 #F3877C color8 #5f6674
color13 #F3877C color1 #4C4D4F
color6 #DA7C82 color9 #4C4D4F
color14 #DA7C82 color2 #6C6A5F
color7 #f1c3bf color10 #6C6A5F
color15 #f1c3bf color3 #C15E59
color11 #C15E59
color4 #6F8F70
color12 #6F8F70
color5 #979274
color13 #979274
color6 #DC9548
color14 #DC9548
color7 #c3c5c8
color15 #c3c5c8
+20 -20
View File
@@ -1,62 +1,62 @@
[Background] [Background]
Color=15,13,22 Color=16,23,37
[BackgroundIntense] [BackgroundIntense]
Color=15,13,22 Color=16,23,37
[Color0] [Color0]
Color=15,13,22 Color=16,23,37
[Color0Intense] [Color0Intense]
Color=168,136,133 Color=95,102,116
[Color1] [Color1]
Color=152,54,74 Color=76,77,79
[Color1Intense] [Color1Intense]
Color=152,54,74 Color=76,77,79
[Color2] [Color2]
Color=198,57,75 Color=108,106,95
[Color2Intense] [Color2Intense]
Color=198,57,75 Color=108,106,95
[Color3] [Color3]
Color=168,72,89 Color=193,94,89
[Color3Intense] [Color3Intense]
Color=168,72,89 Color=193,94,89
[Color4] [Color4]
Color=222,95,103 Color=111,143,112
[Color4Intense] [Color4Intense]
Color=222,95,103 Color=111,143,112
[Color5] [Color5]
Color=243,135,124 Color=151,146,116
[Color5Intense] [Color5Intense]
Color=243,135,124 Color=151,146,116
[Color6] [Color6]
Color=218,124,130 Color=220,149,72
[Color6Intense] [Color6Intense]
Color=218,124,130 Color=220,149,72
[Color7] [Color7]
Color=241,195,191 Color=195,197,200
[Color7Intense] [Color7Intense]
Color=241,195,191 Color=195,197,200
[Foreground] [Foreground]
Color=241,195,191 Color=195,197,200
[ForegroundIntense] [ForegroundIntense]
Color=241,195,191 Color=195,197,200
[General] [General]
Description=Colorscheme generated by wal Description=Colorscheme generated by wal
+9
View File
@@ -0,0 +1,9 @@
#![enable(implicit_some)]
(
border_width: 2,
margin: [4, 4],
default_border_color: "#101725",
floating_border_color: "#DC9548",
focused_border_color: "#c3c5c8",
background_color: "#101725",
)
+3
View File
@@ -0,0 +1,3 @@
background-color=#101725
text-color=#c3c5c8
border-color=#4C4D4F
+31
View File
@@ -0,0 +1,31 @@
/*
* pywal theme template for notepadqq by threadreaper
* https://github.com/threadreaper
*/
.cm-s-nqqwal .CodeMirror-gutters { background: #101725 !important; }
.cm-s-nqqwal .CodeMirror-foldgutter-open, .CodeMirror-foldgutter-folded { color: #c3c5c8; }
.cm-s-nqqwal .CodeMirror-cursor { border-left: 1px solid #c3c5c8; background-color: rgba(220,149,72,0.4)}
.cm-s-nqqwal { background-color: #101725; color: #c3c5c8; }
.cm-s-nqqwal span.cm-builtin { color: #6C6A5F; font-weight: bold; }
.cm-s-nqqwal span.cm-comment { color: #5f6674; }
.cm-s-nqqwal span.cm-keyword { color: #C15E59; font-weight: bold; }
.cm-s-nqqwal span.cm-atom { color: #6F8F70; }
.cm-s-nqqwal span.cm-def { color: #979274; }
.cm-s-nqqwal span.cm-variable { color: #DC9548; }
.cm-s-nqqwal span.cm-variable-2 { color: #979274; }
.cm-s-nqqwal span.cm-string { color: #6C6A5F; }
.cm-s-nqqwal span.cm-string-2 { color: #6C6A5F; }
.cm-s-nqqwal span.cm-number { color: #979274; }
.cm-s-nqqwal span.cm-tag { color: #C15E59; }
.cm-s-nqqwal span.cm-property { color: #DC9548; }
.cm-s-nqqwal span.cm-attribute { color: #DC9548; }
.cm-s-nqqwal span.cm-qualifier { color: #6F8F70; }
.cm-s-nqqwal span.cm-meta { color: #979274; }
.cm-s-nqqwal span.cm-header { color: #C15E59; }
.cm-s-nqqwal span.cm-operator { color: #C15E59; }
.cm-s-nqqwal span.CodeMirror-matchingbracket { box-sizing: border-box; background: transparent; border-bottom: 1px solid; }
.cm-s-nqqwal span.CodeMirror-nonmatchingbracket { border-bottom: 1px solid; background: none; }
.cm-s-nqqwal .CodeMirror-activeline-background { background: rgba(151,146,116,0.4); }
.cm-s-nqqwal div.CodeMirror-selected { background: #C15E59; }
.cm-s-nqqwal .CodeMirror-focused div.CodeMirror-selected { background: #101725); }
+12 -12
View File
@@ -1,16 +1,16 @@
NAME=wal NAME=wal
BG=0f0d16 BG=101725
FG=f1c3bf FG=c3c5c8
MENU_BG=0f0d16 MENU_BG=101725
MENU_FG=f1c3bf MENU_FG=c3c5c8
SEL_BG=98364A SEL_BG=4C4D4F
SEL_FG=0f0d16 SEL_FG=101725
TXT_BG=0f0d16 TXT_BG=101725
TXT_FG=f1c3bf TXT_FG=c3c5c8
BTN_BG=C6394B BTN_BG=6C6A5F
BTN_FG=f1c3bf BTN_FG=c3c5c8
HDR_BTN_BG=A84859 HDR_BTN_BG=C15E59
HDR_BTN_FG=f1c3bf HDR_BTN_FG=c3c5c8
GTK3_GENERATE_DARK=True GTK3_GENERATE_DARK=True
ROUNDNESS=0 ROUNDNESS=0
SPACING=3 SPACING=3
+8
View File
@@ -0,0 +1,8 @@
background = d9101725
background-alt = 5f6674
foreground = c3c5c8
foreground-alt = c3c5c8
primary = 4C4D4F
secondary = 6C6A5F
alert = C15E59
disabled = c3c5c8
+22 -22
View File
@@ -1,26 +1,26 @@
Windows Registry Editor Version 5.00 Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\wal] [HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\wal]
"Colour0"="241,195,191" ; Default Foreground "Colour0"="195,197,200" ; Default Foreground
"Colour1"="241,195,191" ; Default Bold Foreground "Colour1"="195,197,200" ; Default Bold Foreground
"Colour2"="15,13,22" ; Default Background "Colour2"="16,23,37" ; Default Background
"Colour3"="15,13,22" ; Default Bold Background "Colour3"="16,23,37" ; Default Bold Background
"Colour4"="15,13,22" ; Cursor Text "Colour4"="16,23,37" ; Cursor Text
"Colour5"="241,195,191" ; Cursor Color "Colour5"="195,197,200" ; Cursor Color
"Colour6"="15,13,22" ; ANSI Black "Colour6"="16,23,37" ; ANSI Black
"Colour7"="168,136,133" ; ANSI Black Bold "Colour7"="95,102,116" ; ANSI Black Bold
"Colour8"="152,54,74" ; ANSI Red "Colour8"="76,77,79" ; ANSI Red
"Colour9"="152,54,74" ; ANSI Red Bold "Colour9"="76,77,79" ; ANSI Red Bold
"Colour10"="198,57,75" ; ANSI Green "Colour10"="108,106,95" ; ANSI Green
"Colour11"="198,57,75" ; ANSI Green Bold "Colour11"="108,106,95" ; ANSI Green Bold
"Colour12"="168,72,89" ; ANSI Yellow "Colour12"="193,94,89" ; ANSI Yellow
"Colour13"="168,72,89" ; ANSI Yellow Bold "Colour13"="193,94,89" ; ANSI Yellow Bold
"Colour14"="222,95,103" ; ANSI Blue "Colour14"="111,143,112" ; ANSI Blue
"Colour15"="222,95,103" ; ANSI Blue Bold "Colour15"="111,143,112" ; ANSI Blue Bold
"Colour16"="243,135,124" ; ANSI Magenta "Colour16"="151,146,116" ; ANSI Magenta
"Colour17"="243,135,124" ; ANSI Magenta Bold "Colour17"="151,146,116" ; ANSI Magenta Bold
"Colour18"="218,124,130" ; ANSI Cyan "Colour18"="220,149,72" ; ANSI Cyan
"Colour19"="218,124,130" ; ANSI Cyan Bold "Colour19"="220,149,72" ; ANSI Cyan Bold
"Colour20"="241,195,191" ; ANSI White "Colour20"="195,197,200" ; ANSI White
"Colour21"="241,195,191" ; ANSI White Bold "Colour21"="195,197,200" ; ANSI White Bold
+8
View File
@@ -0,0 +1,8 @@
rgui_entry_normal_color = "0xFF4C4D4F"
rgui_entry_hover_color = "0xFFDC9548"
rgui_title_color = "0xFFc3c5c8"
rgui_bg_dark_color = "0xFF101725"
rgui_bg_light_color = "0xFF101725"
rgui_border_dark_color = "0xFF5f6674"
rgui_border_light_color = "0xFF5f6674"
rgui_particle_color = "0xFF6F8F70"
+16
View File
@@ -0,0 +1,16 @@
16,23,37
76,77,79
108,106,95
193,94,89
111,143,112
151,146,116
220,149,72
195,197,200
95,102,116
76,77,79
108,106,95
193,94,89
111,143,112
151,146,116
220,149,72
195,197,200
+32
View File
@@ -0,0 +1,32 @@
[colors]
background = '#1017258e'
black = '#101725'
blue = '#4C4D4F'
cursor = '#c3c5c8'
cyan = '#6C6A5F'
foreground = '#c3c5c8'
green = '#C15E59'
magenta = '#6F8F70'
red = '#979274'
tabs = '#c3c5c8'
tabs-active = '#DC9548'
white = '#c3c5c8'
yellow = '#c3c5c8'
dim-black = '#1017258e'
dim-blue = '#4C4D4F8e'
dim-cyan = '#6C6A5F8e'
dim-foreground = '#c3c5c88e'
dim-green = '#C15E598e'
dim-magenta = '#6F8F708e'
dim-red = '#9792748e'
dim-white = '#DC95488e'
dim-yellow = '#c3c5c88e'
light-black = '#4C4D4F'
light-blue = '#6C6A5F'
light-cyan = '#C15E59'
light-foreground = '#6F8F70'
light-green = '#979274'
light-magenta = '#DC9548'
light-red = '#c3c5c8'
light-white = '#4C4D4F'
light-yellow = '#6C6A5F'
+12 -7
View File
@@ -1,9 +1,9 @@
* { * {
active-background: #C6394B; active-background: #6C6A5F;
active-foreground: @foreground; active-foreground: @foreground;
normal-background: @background; normal-background: @background;
normal-foreground: @foreground; normal-foreground: @foreground;
urgent-background: #98364A; urgent-background: #4C4D4F;
urgent-foreground: @foreground; urgent-foreground: @foreground;
alternate-active-background: @background; alternate-active-background: @background;
@@ -13,16 +13,16 @@
alternate-urgent-background: @background; alternate-urgent-background: @background;
alternate-urgent-foreground: @foreground; alternate-urgent-foreground: @foreground;
selected-active-background: #98364A; selected-active-background: #4C4D4F;
selected-active-foreground: @foreground; selected-active-foreground: @foreground;
selected-normal-background: #C6394B; selected-normal-background: #6C6A5F;
selected-normal-foreground: @foreground; selected-normal-foreground: @foreground;
selected-urgent-background: #A84859; selected-urgent-background: #C15E59;
selected-urgent-foreground: @foreground; selected-urgent-foreground: @foreground;
background-color: @background; background-color: @background;
background: #0f0d16; background: #101725;
foreground: #f1c3bf; foreground: #c3c5c8;
border-color: @background; border-color: @background;
spacing: 2; spacing: 2;
} }
@@ -73,6 +73,11 @@
padding: 1px; padding: 1px;
} }
#element-text, element-icon {
background-color: inherit;
text-color: inherit;
}
#element.normal.normal { #element.normal.normal {
background-color: @normal-background; background-color: @normal-background;
text-color: @normal-foreground; text-color: @normal-foreground;
+12 -7
View File
@@ -1,9 +1,9 @@
* { * {
active-background: #C6394B; active-background: #6C6A5F;
active-foreground: @foreground; active-foreground: @foreground;
normal-background: @background; normal-background: @background;
normal-foreground: @foreground; normal-foreground: @foreground;
urgent-background: #98364A; urgent-background: #4C4D4F;
urgent-foreground: @foreground; urgent-foreground: @foreground;
alternate-active-background: @background; alternate-active-background: @background;
@@ -13,16 +13,16 @@
alternate-urgent-background: @background; alternate-urgent-background: @background;
alternate-urgent-foreground: @foreground; alternate-urgent-foreground: @foreground;
selected-active-background: #98364A; selected-active-background: #4C4D4F;
selected-active-foreground: @foreground; selected-active-foreground: @foreground;
selected-normal-background: #C6394B; selected-normal-background: #6C6A5F;
selected-normal-foreground: @foreground; selected-normal-foreground: @foreground;
selected-urgent-background: #A84859; selected-urgent-background: #C15E59;
selected-urgent-foreground: @foreground; selected-urgent-foreground: @foreground;
background-color: @background; background-color: @background;
background: #f1c3bf; background: #c3c5c8;
foreground: #0f0d16; foreground: #101725;
border-color: @background; border-color: @background;
spacing: 2; spacing: 2;
} }
@@ -73,6 +73,11 @@
padding: 1px; padding: 1px;
} }
#element-text, element-icon {
background-color: inherit;
text-color: inherit;
}
#element.normal.normal { #element.normal.normal {
background-color: @normal-background; background-color: @normal-background;
text-color: @normal-foreground; text-color: @normal-foreground;
+13 -13
View File
@@ -1,15 +1,15 @@
{ {
"cursor": "#f1c3bf", "cursor": "#c3c5c8",
"number": "#f1c3bf", "number": "#c3c5c8",
"parens": "#F3877C", "parens": "#979274",
"result": "#DE5F67", "result": "#6F8F70",
"comment": "#a88885", "comment": "#5f6674",
"matched": "#DE5F67", "matched": "#6F8F70",
"function": "#98364A", "function": "#4C4D4F",
"operator": "#A84859", "operator": "#C15E59",
"variable": "#C6394B", "variable": "#6C6A5F",
"scrollbar": "#A84859", "scrollbar": "#C15E59",
"separator": "#A84859", "separator": "#C15E59",
"background": "#0f0d16", "background": "#101725",
"editorbackground": "#0f0d16" "editorbackground": "#101725"
} }
+19 -19
View File
@@ -1,21 +1,21 @@
set $wallpaper /home/Zaske/Images/red_mountain.jpg set $wallpaper /home/zaske/Pictures/cyberpunk_GruvBox.jpg
set $background #0f0d16 set $background #101725
set $foreground #f1c3bf set $foreground #c3c5c8
set $color0 #0f0d16 set $color0 #101725
set $color1 #98364A set $color1 #4C4D4F
set $color2 #C6394B set $color2 #6C6A5F
set $color3 #A84859 set $color3 #C15E59
set $color4 #DE5F67 set $color4 #6F8F70
set $color5 #F3877C set $color5 #979274
set $color6 #DA7C82 set $color6 #DC9548
set $color7 #f1c3bf set $color7 #c3c5c8
set $color8 #a88885 set $color8 #5f6674
set $color9 #98364A set $color9 #4C4D4F
set $color10 #C6394B set $color10 #6C6A5F
set $color11 #A84859 set $color11 #C15E59
set $color12 #DE5F67 set $color12 #6F8F70
set $color13 #F3877C set $color13 #979274
set $color14 #DA7C82 set $color14 #DC9548
set $color15 #f1c3bf set $color15 #c3c5c8
+20
View File
@@ -0,0 +1,20 @@
module.exports.colors = {
dark: {
accent0: "#101725",
accent1: "#4C4D4F",
accent2: "#6C6A5F",
accent3: "#C15E59",
accent4: "#6F8F70",
accent5: "#979274",
accent6: "#c3c5c8",
accent7: "#c3c5c8",
shade0: "#101725",
shade1: "#4C4D4F",
shade2: "#6C6A5F",
shade3: "#C15E59",
shade4: "#6F8F70",
shade5: "#979274",
shade6: "#DC9548",
shade7: "#c3c5c8"
},
};
+35
View File
@@ -0,0 +1,35 @@
{
"background-color": "#101725",
"badge-color": "#c3c5c8",
"bold-color": "#c3c5c8",
"comment": "",
"cursor-background-color": "#101725",
"cursor-foreground-color": "#c3c5c8",
"foreground-color": "#c3c5c8",
"highlight-background-color": "#101725",
"highlight-foreground-color": "#c3c5c8",
"name": "wal export",
"palette": [
"#101725",
"#4C4D4F",
"#6C6A5F",
"#C15E59",
"#6F8F70",
"#979274",
"#DC9548",
"#c3c5c8",
"#5f6674",
"#4C4D4F",
"#6C6A5F",
"#C15E59",
"#6F8F70",
"#979274",
"#DC9548",
"#c3c5c8"
],
"use-badge-color": false,
"use-bold-color": false,
"use-cursor-color": false,
"use-highlight-color": false,
"use-theme-colors": false
}
+4
View File
@@ -0,0 +1,4 @@
background-color = 101725
border-color = 4C4D4F
selection-color = 4C4D4F
text-color = c3c5c8
+16 -16
View File
@@ -1,19 +1,19 @@
#!/bin/sh #!/bin/sh
[ "${TERM:-none}" = "linux" ] && \ [ "${TERM:-none}" = "linux" ] && \
printf '%b' '\e]P00f0d16 printf '%b' '\e]P0101725
\e]P198364A \e]P14C4D4F
\e]P2C6394B \e]P26C6A5F
\e]P3A84859 \e]P3C15E59
\e]P4DE5F67 \e]P46F8F70
\e]P5F3877C \e]P5979274
\e]P6DA7C82 \e]P6DC9548
\e]P7f1c3bf \e]P7c3c5c8
\e]P8a88885 \e]P85f6674
\e]P998364A \e]P94C4D4F
\e]PAC6394B \e]PA6C6A5F
\e]PBA84859 \e]PBC15E59
\e]PCDE5F67 \e]PC6F8F70
\e]PDF3877C \e]PD979274
\e]PEDA7C82 \e]PEDC9548
\e]PFf1c3bf \e]PFc3c5c8
\ec' \ec'
+14
View File
@@ -0,0 +1,14 @@
{
"editor.tokenColorCustomizations": {
"functions": "#4C4D4F",
"keywords": "#6C6A5F",
"numbers": "#C15E59",
"strings": "#6F8F70",
"types": "#979274",
"variables": "#DC9548",
"comments": "#5f6674"
},
"workbench.colorCustomizations": {
"editor.background": "#101725"
}
}
+3 -3
View File
@@ -1,6 +1,6 @@
static const char *colors[SchemeLast][2] = { static const char *colors[SchemeLast][2] = {
/* fg bg */ /* fg bg */
[SchemeNorm] = { "#f1c3bf", "#0f0d16" }, [SchemeNorm] = { "#c3c5c8", "#101725" },
[SchemeSel] = { "#f1c3bf", "#98364A" }, [SchemeSel] = { "#c3c5c8", "#4C4D4F" },
[SchemeOut] = { "#f1c3bf", "#DA7C82" }, [SchemeOut] = { "#c3c5c8", "#DC9548" },
}; };
+13
View File
@@ -0,0 +1,13 @@
/* Taken from https://github.com/djpohly/dwl/issues/466 */
#define COLOR(hex) { ((hex >> 24) & 0xFF) / 255.0f, \
((hex >> 16) & 0xFF) / 255.0f, \
((hex >> 8) & 0xFF) / 255.0f, \
(hex & 0xFF) / 255.0f }
static const float rootcolor[] = COLOR(0x101725ff);
static uint32_t colors[][3] = {
/* fg bg border */
[SchemeNorm] = { 0xc3c5c8ff, 0x101725ff, 0x5f6674ff },
[SchemeSel] = { 0xc3c5c8ff, 0x6C6A5Fff, 0x4C4D4Fff },
[SchemeUrg] = { 0xc3c5c8ff, 0x4C4D4Fff, 0x6C6A5Fff },
};
+18
View File
@@ -0,0 +1,18 @@
static const char norm_fg[] = "#c3c5c8";
static const char norm_bg[] = "#101725";
static const char norm_border[] = "#5f6674";
static const char sel_fg[] = "#c3c5c8";
static const char sel_bg[] = "#6C6A5F";
static const char sel_border[] = "#c3c5c8";
static const char urg_fg[] = "#c3c5c8";
static const char urg_bg[] = "#4C4D4F";
static const char urg_border[] = "#4C4D4F";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { norm_fg, norm_bg, norm_border }, // unfocused wins
[SchemeSel] = { sel_fg, sel_bg, sel_border }, // the focused win
[SchemeUrg] = { urg_fg, urg_bg, urg_border },
};
+6 -11
View File
@@ -1,18 +1,13 @@
static const char norm_fg[] = "#f1c3bf"; static const char norm_fg[] = "#c3c5c8";
static const char norm_bg[] = "#0f0d16"; static const char norm_bg[] = "#101725";
static const char norm_border[] = "#a88885"; static const char norm_border[] = "#5f6674";
static const char sel_fg[] = "#f1c3bf"; static const char sel_fg[] = "#c3c5c8";
static const char sel_bg[] = "#C6394B"; static const char sel_bg[] = "#4C4D4F";
static const char sel_border[] = "#f1c3bf"; static const char sel_border[] = "#c3c5c8";
static const char urg_fg[] = "#f1c3bf";
static const char urg_bg[] = "#98364A";
static const char urg_border[] = "#98364A";
static const char *colors[][3] = { static const char *colors[][3] = {
/* fg bg border */ /* fg bg border */
[SchemeNorm] = { norm_fg, norm_bg, norm_border }, // unfocused wins [SchemeNorm] = { norm_fg, norm_bg, norm_border }, // unfocused wins
[SchemeSel] = { sel_fg, sel_bg, sel_border }, // the focused win [SchemeSel] = { sel_fg, sel_bg, sel_border }, // the focused win
[SchemeUrg] = { urg_fg, urg_bg, urg_border },
}; };
+19 -19
View File
@@ -1,29 +1,29 @@
const char *colorname[] = { const char *colorname[] = {
/* 8 normal colors */ /* 8 normal colors */
[0] = "#0f0d16", /* black */ [0] = "#101725", /* black */
[1] = "#98364A", /* red */ [1] = "#4C4D4F", /* red */
[2] = "#C6394B", /* green */ [2] = "#6C6A5F", /* green */
[3] = "#A84859", /* yellow */ [3] = "#C15E59", /* yellow */
[4] = "#DE5F67", /* blue */ [4] = "#6F8F70", /* blue */
[5] = "#F3877C", /* magenta */ [5] = "#979274", /* magenta */
[6] = "#DA7C82", /* cyan */ [6] = "#DC9548", /* cyan */
[7] = "#f1c3bf", /* white */ [7] = "#c3c5c8", /* white */
/* 8 bright colors */ /* 8 bright colors */
[8] = "#a88885", /* black */ [8] = "#5f6674", /* black */
[9] = "#98364A", /* red */ [9] = "#4C4D4F", /* red */
[10] = "#C6394B", /* green */ [10] = "#6C6A5F", /* green */
[11] = "#A84859", /* yellow */ [11] = "#C15E59", /* yellow */
[12] = "#DE5F67", /* blue */ [12] = "#6F8F70", /* blue */
[13] = "#F3877C", /* magenta */ [13] = "#979274", /* magenta */
[14] = "#DA7C82", /* cyan */ [14] = "#DC9548", /* cyan */
[15] = "#f1c3bf", /* white */ [15] = "#c3c5c8", /* white */
/* special colors */ /* special colors */
[256] = "#0f0d16", /* background */ [256] = "#101725", /* background */
[257] = "#f1c3bf", /* foreground */ [257] = "#c3c5c8", /* foreground */
[258] = "#f1c3bf", /* cursor */ [258] = "#c3c5c8", /* cursor */
}; };
/* Default colors (colorname index) /* Default colors (colorname index)
+6 -6
View File
@@ -1,6 +1,6 @@
static const char* selbgcolor = "#0f0d16"; static const char* selbgcolor = "#101725";
static const char* selfgcolor = "#f1c3bf"; static const char* selfgcolor = "#c3c5c8";
static const char* normbgcolor = "#C6394B"; static const char* normbgcolor = "#6C6A5F";
static const char* normfgcolor = "#f1c3bf"; static const char* normfgcolor = "#c3c5c8";
static const char* urgbgcolor = "#98364A"; static const char* urgbgcolor = "#4C4D4F";
static const char* urgfgcolor = "#f1c3bf"; static const char* urgfgcolor = "#c3c5c8";
+20 -20
View File
@@ -1,23 +1,23 @@
" Special " Special
let wallpaper = "/home/Zaske/Images/red_mountain.jpg" let wallpaper = "/home/zaske/Pictures/cyberpunk_GruvBox.jpg"
let background = "#0f0d16" let background = "#101725"
let foreground = "#f1c3bf" let foreground = "#c3c5c8"
let cursor = "#f1c3bf" let cursor = "#c3c5c8"
" Colors " Colors
let color0 = "#0f0d16" let color0 = "#101725"
let color1 = "#98364A" let color1 = "#4C4D4F"
let color2 = "#C6394B" let color2 = "#6C6A5F"
let color3 = "#A84859" let color3 = "#C15E59"
let color4 = "#DE5F67" let color4 = "#6F8F70"
let color5 = "#F3877C" let color5 = "#979274"
let color6 = "#DA7C82" let color6 = "#DC9548"
let color7 = "#f1c3bf" let color7 = "#c3c5c8"
let color8 = "#a88885" let color8 = "#5f6674"
let color9 = "#98364A" let color9 = "#4C4D4F"
let color10 = "#C6394B" let color10 = "#6C6A5F"
let color11 = "#A84859" let color11 = "#C15E59"
let color12 = "#DE5F67" let color12 = "#6F8F70"
let color13 = "#F3877C" let color13 = "#979274"
let color14 = "#DA7C82" let color14 = "#DC9548"
let color15 = "#f1c3bf" let color15 = "#c3c5c8"
+19 -19
View File
@@ -1,20 +1,20 @@
@define-color foreground #f1c3bf; @define-color foreground #c3c5c8;
@define-color background #0f0d16; @define-color background #101725;
@define-color cursor #f1c3bf; @define-color cursor #c3c5c8;
@define-color color0 #0f0d16; @define-color color0 #101725;
@define-color color1 #98364A; @define-color color1 #4C4D4F;
@define-color color2 #C6394B; @define-color color2 #6C6A5F;
@define-color color3 #A84859; @define-color color3 #C15E59;
@define-color color4 #DE5F67; @define-color color4 #6F8F70;
@define-color color5 #F3877C; @define-color color5 #979274;
@define-color color6 #DA7C82; @define-color color6 #DC9548;
@define-color color7 #f1c3bf; @define-color color7 #c3c5c8;
@define-color color8 #a88885; @define-color color8 #5f6674;
@define-color color9 #98364A; @define-color color9 #4C4D4F;
@define-color color10 #C6394B; @define-color color10 #6C6A5F;
@define-color color11 #A84859; @define-color color11 #C15E59;
@define-color color12 #DE5F67; @define-color color12 #6F8F70;
@define-color color13 #F3877C; @define-color color13 #979274;
@define-color color14 #DA7C82; @define-color color14 #DC9548;
@define-color color15 #f1c3bf; @define-color color15 #c3c5c8;
+34
View File
@@ -0,0 +1,34 @@
set recolor "true"
set recolor-keephue "true"
set completion-bg "#101725"
set completion-fg "#c3c5c8"
set completion-group-bg "#101725"
set completion-group-fg "#6C6A5F"
set completion-highlight-bg "#6C6A5F"
set completion-highlight-fg "#101725"
set recolor-lightcolor "#101725"
set recolor-darkcolor "#c3c5c8"
set default-bg "#101725"
set inputbar-bg "#101725"
set inputbar-fg "#c3c5c8"
set notification-bg "#101725"
set notification-fg "#c3c5c8"
set notification-error-bg "#4C4D4F"
set notification-error-fg "#c3c5c8"
set notification-warning-bg "#4C4D4F"
set notification-warning-fg "#c3c5c8"
set statusbar-bg "#101725"
set statusbar-fg "#c3c5c8"
set index-bg "#101725"
set index-fg "#c3c5c8"
set index-active-bg "#c3c5c8"
set index-active-fg "#101725"
set render-loading-bg "#101725"
set render-loading-fg "#c3c5c8"
set window-title-home-tilde true
set statusbar-basename true
set selection-clipboard clipboard
+105
View File
@@ -0,0 +1,105 @@
{
"$schema": "https://zed.dev/schema/themes/v0.1.0.json",
"name": "pywal",
"author": "pywal",
"themes": [
{
"name": "pywal",
"appearance": "dark",
"style": {
"background": "#10172590",
"editor.background": "#10172590",
"editor.foreground": "#c3c5c8",
"text": "#c3c5c8",
"text.muted": "#c3c5c870",
"text.ignored": "#c3c5c840",
"text.placeholder": "#c3c5c850",
"ignored": "#c3c5c830",
"element.hover": "#c3c5c830",
"ghost_element.hover": "#4C4D4F30",
"ghost_element.selected": "#4C4D4F30",
"ghost_element.active": "#4C4D4F60",
"border": "#101725",
"editor.highlighted_line.background": "#4C4D4F10",
"editor.active_line.background": "#4C4D4F10",
"panel.background": "#10172590",
"title_bar.background": "#10172590",
"title_bar.inactive_background": "#10172590",
"status_bar.background": "#10172590",
"drop_target.background": "#10172590",
"elevated_surface.background": "#101725",
"toolbar.background": "#10172590",
"tab_bar.background": "#10172590",
"tab.inactive_background": "#10172590",
"tab.active_background": "#4C4D4F30",
"scrollbar.track.background": "transparent",
"scrollbar.track.border": "#101725",
"scrollbar.thumb.background": "#4C4D4F",
"editor.gutter.background": "#10172590",
"terminal.background": "#10172510",
"terminal.foreground": "#c3c5c8",
"terminal.dim_foreground": "#c3c5c8",
"terminal.bright_foreground": "#c3c5c8",
"terminal.ansi.black": "#101725",
"terminal.ansi.red": "#4C4D4F",
"terminal.ansi.green": "#6C6A5F",
"terminal.ansi.yellow": "#C15E59",
"terminal.ansi.blue": "#6F8F70",
"terminal.ansi.magenta": "#979274",
"terminal.ansi.cyan": "#DC9548",
"terminal.ansi.white": "#c3c5c8",
"terminal.ansi.bright_black": "#5f6674",
"terminal.ansi.bright_red": "#4C4D4F",
"terminal.ansi.bright_green": "#6C6A5F",
"terminal.ansi.bright_yellow": "#C15E59",
"terminal.ansi.bright_blue": "#6F8F70",
"terminal.ansi.bright_magenta": "#979274",
"terminal.ansi.bright_cyan": "#DC9548",
"terminal.ansi.bright_white": "#c3c5c8",
"modified": "#4C4D4F",
"syntax": {
"attribute": {
"color": "#4C4D4F"
},
"boolean": {
"color": "#6C6A5F"
},
"comment": {
"color": "#5f6674"
},
"comment.doc": {
"color": "#5f6674"
},
"constant": {
"color": "#6C6A5F"
},
"function": {
"color": "#DC9548"
},
"keyword": {
"color": "#6F8F70"
},
"number": {
"color": "#979274"
},
"operator": {
"color": "#6F8F70"
},
"string": {
"color": "#4C4D4F"
},
"variable": {
"color": "#6C6A5F"
}
},
"players": [
{
"cursor": "#4C4D4F",
"background": "#101725",
"selection": "#4C4D4F30"
}
]
}
}
]
}
+57 -57
View File
@@ -1,68 +1,68 @@
! X colors. ! X colors.
! Generated by 'wal' ! Generated by 'wal'
*foreground: #f1c3bf *foreground: #c3c5c8
*background: #0f0d16 *background: #101725
*.foreground: #f1c3bf *.foreground: #c3c5c8
*.background: #0f0d16 *.background: #101725
emacs*foreground: #f1c3bf emacs*foreground: #c3c5c8
emacs*background: #0f0d16 emacs*background: #101725
URxvt*foreground: #f1c3bf URxvt*foreground: #c3c5c8
XTerm*foreground: #f1c3bf XTerm*foreground: #c3c5c8
UXTerm*foreground: #f1c3bf UXTerm*foreground: #c3c5c8
URxvt*background: [100]#0f0d16 URxvt*background: [100]#101725
XTerm*background: #0f0d16 XTerm*background: #101725
UXTerm*background: #0f0d16 UXTerm*background: #101725
URxvt*cursorColor: #f1c3bf URxvt*cursorColor: #c3c5c8
XTerm*cursorColor: #f1c3bf XTerm*cursorColor: #c3c5c8
UXTerm*cursorColor: #f1c3bf UXTerm*cursorColor: #c3c5c8
URxvt*borderColor: [100]#0f0d16 URxvt*borderColor: [100]#101725
! Colors 0-15. ! Colors 0-15.
*.color0: #0f0d16 *.color0: #101725
*color0: #0f0d16 *color0: #101725
*.color1: #98364A *.color1: #4C4D4F
*color1: #98364A *color1: #4C4D4F
*.color2: #C6394B *.color2: #6C6A5F
*color2: #C6394B *color2: #6C6A5F
*.color3: #A84859 *.color3: #C15E59
*color3: #A84859 *color3: #C15E59
*.color4: #DE5F67 *.color4: #6F8F70
*color4: #DE5F67 *color4: #6F8F70
*.color5: #F3877C *.color5: #979274
*color5: #F3877C *color5: #979274
*.color6: #DA7C82 *.color6: #DC9548
*color6: #DA7C82 *color6: #DC9548
*.color7: #f1c3bf *.color7: #c3c5c8
*color7: #f1c3bf *color7: #c3c5c8
*.color8: #a88885 *.color8: #5f6674
*color8: #a88885 *color8: #5f6674
*.color9: #98364A *.color9: #4C4D4F
*color9: #98364A *color9: #4C4D4F
*.color10: #C6394B *.color10: #6C6A5F
*color10: #C6394B *color10: #6C6A5F
*.color11: #A84859 *.color11: #C15E59
*color11: #A84859 *color11: #C15E59
*.color12: #DE5F67 *.color12: #6F8F70
*color12: #DE5F67 *color12: #6F8F70
*.color13: #F3877C *.color13: #979274
*color13: #F3877C *color13: #979274
*.color14: #DA7C82 *.color14: #DC9548
*color14: #DA7C82 *color14: #DC9548
*.color15: #f1c3bf *.color15: #c3c5c8
*color15: #f1c3bf *color15: #c3c5c8
! Black color that will not be affected by bold highlighting. ! Black color that will not be affected by bold highlighting.
*.color66: #0f0d16 *.color66: #101725
*color66: #0f0d16 *color66: #101725
! Xclock colors. ! Xclock colors.
XClock*foreground: #f1c3bf XClock*foreground: #c3c5c8
XClock*background: #0f0d16 XClock*background: #101725
XClock*majorColor: rgba:f1/c3/bf/ff XClock*majorColor: rgba:c3/c5/c8/ff
XClock*minorColor: rgba:f1/c3/bf/ff XClock*minorColor: rgba:c3/c5/c8/ff
XClock*hourColor: rgba:f1/c3/bf/ff XClock*hourColor: rgba:c3/c5/c8/ff
XClock*minuteColor: rgba:f1/c3/bf/ff XClock*minuteColor: rgba:c3/c5/c8/ff
XClock*secondColor: rgba:f1/c3/bf/ff XClock*secondColor: rgba:c3/c5/c8/ff
! Set depth to make transparency work. ! Set depth to make transparency work.
URxvt*depth: 32 URxvt*depth: 32
+20 -20
View File
@@ -1,28 +1,28 @@
/* CSS variables /* CSS variables
Generated by 'wal' */ Generated by 'wal' */
:root { :root {
--wallpaper: url("/home/Zaske/Images/red_mountain.jpg"); --wallpaper: url("/home/zaske/Pictures/cyberpunk_GruvBox.jpg");
/* Special */ /* Special */
--background: #0f0d16; --background: #101725;
--foreground: #f1c3bf; --foreground: #c3c5c8;
--cursor: #f1c3bf; --cursor: #c3c5c8;
/* Colors */ /* Colors */
--color0: #0f0d16; --color0: #101725;
--color1: #98364A; --color1: #4C4D4F;
--color2: #C6394B; --color2: #6C6A5F;
--color3: #A84859; --color3: #C15E59;
--color4: #DE5F67; --color4: #6F8F70;
--color5: #F3877C; --color5: #979274;
--color6: #DA7C82; --color6: #DC9548;
--color7: #f1c3bf; --color7: #c3c5c8;
--color8: #a88885; --color8: #5f6674;
--color9: #98364A; --color9: #4C4D4F;
--color10: #C6394B; --color10: #6C6A5F;
--color11: #A84859; --color11: #C15E59;
--color12: #DE5F67; --color12: #6F8F70;
--color13: #F3877C; --color13: #979274;
--color14: #DA7C82; --color14: #DC9548;
--color15: #f1c3bf; --color15: #c3c5c8;
} }
+39
View File
@@ -0,0 +1,39 @@
set fish_color_autosuggestion 5f6674
set fish_color_cancel 4C4D4F '--reverse'
set fish_color_command 6C6A5F
set fish_color_comment 5f6674
set fish_color_cwd 6C6A5F
set fish_color_cwd_root 4C4D4F
set fish_color_end C15E59
set fish_color_error 4C4D4F
set fish_color_escape 979274
set fish_color_history_current --bold
set fish_color_host 6F8F70
set fish_color_host_remote 6F8F70
set fish_color_keyword 979274
set fish_color_match --background=6F8F70
set fish_color_normal c3c5c8
set fish_color_operator DC9548
set fish_color_option C15E59
set fish_color_param 6F8F70
set fish_color_quote C15E59
set fish_color_redirection 979274
set fish_color_search_match --background=5f6674
set fish_color_selection --background=5f6674
set fish_color_status 4C4D4F
set fish_color_user 6C6A5F
set fish_color_valid_path --underline
set fish_pager_color_background 101725
set fish_pager_color_completion c3c5c8
set fish_pager_color_description 5f6674
set fish_pager_color_prefix 6C6A5F
set fish_pager_color_progress 5f6674
set fish_pager_color_secondary_background 101725
set fish_pager_color_secondary_completion c3c5c8
set fish_pager_color_secondary_description 5f6674
set fish_pager_color_secondary_prefix 6C6A5F
set fish_pager_color_selected_background --background=5f6674
set fish_pager_color_selected_completion c3c5c8
set fish_pager_color_selected_description 5f6674
set fish_pager_color_selected_prefix 6C6A5F
+21 -20
View File
@@ -1,28 +1,29 @@
{ {
"wallpaper": "/home/Zaske/Images/red_mountain.jpg", "checksum": "d1a0ebf3dd6e5c5eb1d7933fbecb8b01",
"wallpaper": "/home/zaske/Pictures/cyberpunk_GruvBox.jpg",
"alpha": "100", "alpha": "100",
"special": { "special": {
"background": "#0f0d16", "background": "#101725",
"foreground": "#f1c3bf", "foreground": "#c3c5c8",
"cursor": "#f1c3bf" "cursor": "#c3c5c8"
}, },
"colors": { "colors": {
"color0": "#0f0d16", "color0": "#101725",
"color1": "#98364A", "color1": "#4C4D4F",
"color2": "#C6394B", "color2": "#6C6A5F",
"color3": "#A84859", "color3": "#C15E59",
"color4": "#DE5F67", "color4": "#6F8F70",
"color5": "#F3877C", "color5": "#979274",
"color6": "#DA7C82", "color6": "#DC9548",
"color7": "#f1c3bf", "color7": "#c3c5c8",
"color8": "#a88885", "color8": "#5f6674",
"color9": "#98364A", "color9": "#4C4D4F",
"color10": "#C6394B", "color10": "#6C6A5F",
"color11": "#A84859", "color11": "#C15E59",
"color12": "#DE5F67", "color12": "#6F8F70",
"color13": "#F3877C", "color13": "#979274",
"color14": "#DA7C82", "color14": "#DC9548",
"color15": "#f1c3bf" "color15": "#c3c5c8"
} }
} }
+20
View File
@@ -0,0 +1,20 @@
background=#101725
foreground=#c3c5c8
cursor=#c3c5c8
color0=#101725
color1=#4C4D4F
color2=#6C6A5F
color3=#C15E59
color4=#6F8F70
color5=#979274
color6=#DC9548
color7=#c3c5c8
color8=#5f6674
color9=#4C4D4F
color10=#6C6A5F
color11=#C15E59
color12=#6F8F70
color13=#979274
color14=#DC9548
color15=#c3c5c8
+20 -20
View File
@@ -1,26 +1,26 @@
// SCSS Variables // SCSS Variables
// Generated by 'wal' // Generated by 'wal'
$wallpaper: "/home/Zaske/Images/red_mountain.jpg"; $wallpaper: "/home/zaske/Pictures/cyberpunk_GruvBox.jpg";
// Special // Special
$background: #0f0d16; $background: #101725;
$foreground: #f1c3bf; $foreground: #c3c5c8;
$cursor: #f1c3bf; $cursor: #c3c5c8;
// Colors // Colors
$color0: #0f0d16; $color0: #101725;
$color1: #98364A; $color1: #4C4D4F;
$color2: #C6394B; $color2: #6C6A5F;
$color3: #A84859; $color3: #C15E59;
$color4: #DE5F67; $color4: #6F8F70;
$color5: #F3877C; $color5: #979274;
$color6: #DA7C82; $color6: #DC9548;
$color7: #f1c3bf; $color7: #c3c5c8;
$color8: #a88885; $color8: #5f6674;
$color9: #98364A; $color9: #4C4D4F;
$color10: #C6394B; $color10: #6C6A5F;
$color11: #A84859; $color11: #C15E59;
$color12: #DE5F67; $color12: #6F8F70;
$color13: #F3877C; $color13: #979274;
$color14: #DA7C82; $color14: #DC9548;
$color15: #f1c3bf; $color15: #c3c5c8;
+20 -20
View File
@@ -1,29 +1,29 @@
# Shell variables # Shell variables
# Generated by 'wal' # Generated by 'wal'
wallpaper='/home/Zaske/Images/red_mountain.jpg' wallpaper="/home/zaske/Pictures/cyberpunk_GruvBox.jpg"
# Special # Special
background='#0f0d16' background='#101725'
foreground='#f1c3bf' foreground='#c3c5c8'
cursor='#f1c3bf' cursor='#c3c5c8'
# Colors # Colors
color0='#0f0d16' color0='#101725'
color1='#98364A' color1='#4C4D4F'
color2='#C6394B' color2='#6C6A5F'
color3='#A84859' color3='#C15E59'
color4='#DE5F67' color4='#6F8F70'
color5='#F3877C' color5='#979274'
color6='#DA7C82' color6='#DC9548'
color7='#f1c3bf' color7='#c3c5c8'
color8='#a88885' color8='#5f6674'
color9='#98364A' color9='#4C4D4F'
color10='#C6394B' color10='#6C6A5F'
color11='#A84859' color11='#C15E59'
color12='#DE5F67' color12='#6F8F70'
color13='#F3877C' color13='#979274'
color14='#DA7C82' color14='#DC9548'
color15='#f1c3bf' color15='#c3c5c8'
# FZF colors # FZF colors
export FZF_DEFAULT_OPTS=" export FZF_DEFAULT_OPTS="
+24
View File
@@ -0,0 +1,24 @@
// Stylus Variables
// Generated by 'wal'
$wallpaper = "/home/zaske/Pictures/cyberpunk_GruvBox.jpg"
$background = #101725
$foregroud = #c3c5c8
$cursor = #c3c5c8
$color0 = #101725
$color1 = #4C4D4F
$color2 = #6C6A5F
$color3 = #C15E59
$color4 = #6F8F70
$color5 = #979274
$color6 = #DC9548
$color7 = #c3c5c8
$color8 = #5f6674
$color9 = #4C4D4F
$color10 = #6C6A5F
$color11 = #C15E59
$color12 = #6F8F70
$color13 = #979274
$color14 = #DC9548
$color15 = #c3c5c8
+20 -20
View File
@@ -1,24 +1,24 @@
wallpaper: "/home/Zaske/Images/red_mountain.jpg" wallpaper: "/home/zaske/Pictures/cyberpunk_GruvBox.jpg"
special: special:
background: "#0f0d16" background: "#101725"
foreground: "#f1c3bf" foreground: "#c3c5c8"
cursor: "#f1c3bf" cursor: "#c3c5c8"
colors: colors:
color0: "#0f0d16" color0: "#101725"
color1: "#98364A" color1: "#4C4D4F"
color2: "#C6394B" color2: "#6C6A5F"
color3: "#A84859" color3: "#C15E59"
color4: "#DE5F67" color4: "#6F8F70"
color5: "#F3877C" color5: "#979274"
color6: "#DA7C82" color6: "#DC9548"
color7: "#f1c3bf" color7: "#c3c5c8"
color8: "#a88885" color8: "#5f6674"
color9: "#98364A" color9: "#4C4D4F"
color10: "#C6394B" color10: "#6C6A5F"
color11: "#A84859" color11: "#C15E59"
color12: "#DE5F67" color12: "#6F8F70"
color13: "#F3877C" color13: "#979274"
color14: "#DA7C82" color14: "#DC9548"
color15: "#f1c3bf" color15: "#c3c5c8"
+24
View File
@@ -0,0 +1,24 @@
# pywal theme for ghostty
background = 101725
foreground = c3c5c8
cursor-color = c3c5c8
selection-background = c3c5c8
selection-foreground = 101725
palette = 0=#101725
palette = 1=#4C4D4F
palette = 2=#6C6A5F
palette = 3=#C15E59
palette = 4=#6F8F70
palette = 5=#979274
palette = 6=#DC9548
palette = 7=#c3c5c8
palette = 8=#5f6674
palette = 9=#4C4D4F
palette = 10=#6C6A5F
palette = 11=#C15E59
palette = 12=#6F8F70
palette = 13=#979274
palette = 14=#DC9548
palette = 15=#c3c5c8
+1
View File
@@ -0,0 +1 @@
_home_zaske_Pictures_cyberpunk_GruvBox_jpg_dark_None_None_914253_2.0.0.json
@@ -0,0 +1,28 @@
{
"checksum": "cdfdcad79ceb96533d617b28cb214214",
"wallpaper": "/home/zaske/Images/blue_mountains.jpg",
"alpha": "100",
"special": {
"background": "#111b27",
"foreground": "#c3c6c9",
"cursor": "#c3c6c9"
},
"colors": {
"color0": "#111b27",
"color1": "#54A0CE",
"color2": "#75ABCB",
"color3": "#82A5BF",
"color4": "#8DB8D2",
"color5": "#A2BED1",
"color6": "#9AC4DA",
"color7": "#c3c6c9",
"color8": "#606975",
"color9": "#54A0CE",
"color10": "#75ABCB",
"color11": "#82A5BF",
"color12": "#8DB8D2",
"color13": "#A2BED1",
"color14": "#9AC4DA",
"color15": "#c3c6c9"
}
}
@@ -0,0 +1,28 @@
{
"checksum": "1de1aadf0b2d8f6ec4b19dbeeb73e21c",
"wallpaper": "/home/zaske/Pictures/Berge_GruvBox.jpg",
"alpha": "100",
"special": {
"background": "#0e2222",
"foreground": "#c2c7c7",
"cursor": "#c2c7c7"
},
"colors": {
"color0": "#0e2222",
"color1": "#948877",
"color2": "#B29F88",
"color3": "#CCB79C",
"color4": "#DAC6AB",
"color5": "#E6D1B8",
"color6": "#F4E0BF",
"color7": "#c2c7c7",
"color8": "#5e7272",
"color9": "#948877",
"color10": "#B29F88",
"color11": "#CCB79C",
"color12": "#DAC6AB",
"color13": "#E6D1B8",
"color14": "#F4E0BF",
"color15": "#c2c7c7"
}
}
@@ -0,0 +1,28 @@
{
"checksum": "6c3f2ff09669b293394ff32397d7b1de",
"wallpaper": "/home/zaske/Pictures/Blumen_gruvbox.png",
"alpha": "100",
"special": {
"background": "#201e1e",
"foreground": "#c7c6c6",
"cursor": "#c7c6c6"
},
"colors": {
"color0": "#201e1e",
"color1": "#5F938E",
"color2": "#84A697",
"color3": "#ADB091",
"color4": "#BCBD95",
"color5": "#DFD0AB",
"color6": "#EADAB2",
"color7": "#c7c6c6",
"color8": "#776262",
"color9": "#5F938E",
"color10": "#84A697",
"color11": "#ADB091",
"color12": "#BCBD95",
"color13": "#DFD0AB",
"color14": "#EADAB2",
"color15": "#c7c6c6"
}
}
@@ -0,0 +1,28 @@
{
"checksum": "35be1ebd0ae3cd7bf06552953bcfc1ed",
"wallpaper": "/home/zaske/Pictures/Miami_GruvBox.jpg",
"alpha": "100",
"special": {
"background": "#0e1321",
"foreground": "#c2c4c7",
"cursor": "#c2c4c7"
},
"colors": {
"color0": "#0e1321",
"color1": "#8C3D45",
"color2": "#91444B",
"color3": "#B04A4F",
"color4": "#D05156",
"color5": "#E45C58",
"color6": "#E86E52",
"color7": "#c2c4c7",
"color8": "#5d6272",
"color9": "#8C3D45",
"color10": "#91444B",
"color11": "#B04A4F",
"color12": "#D05156",
"color13": "#E45C58",
"color14": "#E86E52",
"color15": "#c2c4c7"
}
}
@@ -0,0 +1,28 @@
{
"checksum": "1ebc9a515073da8b2460e677c0404500",
"wallpaper": "/home/zaske/Pictures/astronaut_GruvBox.jpg",
"alpha": "100",
"special": {
"background": "#0d1e1e",
"foreground": "#c2c6c6",
"cursor": "#c2c6c6"
},
"colors": {
"color0": "#0d1e1e",
"color1": "#4D3D42",
"color2": "#2C6060",
"color3": "#5C5954",
"color4": "#617F7D",
"color5": "#975F64",
"color6": "#C25540",
"color7": "#c2c6c6",
"color8": "#5c7070",
"color9": "#4D3D42",
"color10": "#2C6060",
"color11": "#5C5954",
"color12": "#617F7D",
"color13": "#975F64",
"color14": "#C25540",
"color15": "#c2c6c6"
}
}
@@ -0,0 +1,28 @@
{
"checksum": "cdfdcad79ceb96533d617b28cb214214",
"wallpaper": "/home/zaske/Pictures/blue_mountains.jpg",
"alpha": "100",
"special": {
"background": "#111b27",
"foreground": "#c3c6c9",
"cursor": "#c3c6c9"
},
"colors": {
"color0": "#111b27",
"color1": "#54A0CE",
"color2": "#75ABCB",
"color3": "#82A5BF",
"color4": "#8DB8D2",
"color5": "#A2BED1",
"color6": "#9AC4DA",
"color7": "#c3c6c9",
"color8": "#606975",
"color9": "#54A0CE",
"color10": "#75ABCB",
"color11": "#82A5BF",
"color12": "#8DB8D2",
"color13": "#A2BED1",
"color14": "#9AC4DA",
"color15": "#c3c6c9"
}
}
@@ -0,0 +1,28 @@
{
"checksum": "d1a0ebf3dd6e5c5eb1d7933fbecb8b01",
"wallpaper": "/home/zaske/Pictures/cyberpunk_GruvBox.jpg",
"alpha": "100",
"special": {
"background": "#101725",
"foreground": "#c3c5c8",
"cursor": "#c3c5c8"
},
"colors": {
"color0": "#101725",
"color1": "#4C4D4F",
"color2": "#6C6A5F",
"color3": "#C15E59",
"color4": "#6F8F70",
"color5": "#979274",
"color6": "#DC9548",
"color7": "#c3c5c8",
"color8": "#5f6674",
"color9": "#4C4D4F",
"color10": "#6C6A5F",
"color11": "#C15E59",
"color12": "#6F8F70",
"color13": "#979274",
"color14": "#DC9548",
"color15": "#c3c5c8"
}
}
@@ -0,0 +1,28 @@
{
"checksum": "e615648871cfb602d96a17e5b47af5f2",
"wallpaper": "/home/zaske/Pictures/garage_GruvBox.jpg",
"alpha": "100",
"special": {
"background": "#0a190a",
"foreground": "#c1c5c1",
"cursor": "#c1c5c1"
},
"colors": {
"color0": "#0a190a",
"color1": "#6B4F39",
"color2": "#776438",
"color3": "#5E5647",
"color4": "#8E6039",
"color5": "#976D49",
"color6": "#779470",
"color7": "#c1c5c1",
"color8": "#596e59",
"color9": "#6B4F39",
"color10": "#776438",
"color11": "#5E5647",
"color12": "#8E6039",
"color13": "#976D49",
"color14": "#779470",
"color15": "#c1c5c1"
}
}
@@ -0,0 +1,28 @@
{
"checksum": "77a594fbfd5046e09c715c3d2c68f8b5",
"wallpaper": "/home/zaske/Pictures/girl2_gruvbox.png",
"alpha": "100",
"special": {
"background": "#0c181e",
"foreground": "#c2c5c6",
"cursor": "#c2c5c6"
},
"colors": {
"color0": "#0c181e",
"color1": "#988E76",
"color2": "#B66588",
"color3": "#6F9385",
"color4": "#99AB90",
"color5": "#CBAB99",
"color6": "#E1D2AC",
"color7": "#c2c5c6",
"color8": "#5c6970",
"color9": "#988E76",
"color10": "#B66588",
"color11": "#6F9385",
"color12": "#99AB90",
"color13": "#CBAB99",
"color14": "#E1D2AC",
"color15": "#c2c5c6"
}
}
@@ -0,0 +1,28 @@
{
"checksum": "721210b2776e04acac934a8667fd5406",
"wallpaper": "/home/zaske/Pictures/japan_gruvbox.png",
"alpha": "100",
"special": {
"background": "#18210e",
"foreground": "#c5c7c2",
"cursor": "#c5c7c2"
},
"colors": {
"color0": "#18210e",
"color1": "#5C6B4B",
"color2": "#897642",
"color3": "#36852C",
"color4": "#6A8E2A",
"color5": "#748A56",
"color6": "#9B9D5D",
"color7": "#c5c7c2",
"color8": "#67725d",
"color9": "#5C6B4B",
"color10": "#897642",
"color11": "#36852C",
"color12": "#6A8E2A",
"color13": "#748A56",
"color14": "#9B9D5D",
"color15": "#c5c7c2"
}
}
@@ -0,0 +1,28 @@
{
"checksum": "6668efbf1c2a501e72f3dcfae53e56f2",
"wallpaper": "/home/zaske/Pictures/moon_gruvbox.png",
"alpha": "100",
"special": {
"background": "#0e1420",
"foreground": "#c2c4c7",
"cursor": "#c2c4c7"
},
"colors": {
"color0": "#0e1420",
"color1": "#B47514",
"color2": "#CD6F13",
"color3": "#BA902F",
"color4": "#D4991D",
"color5": "#D79921",
"color6": "#F6B92D",
"color7": "#c2c4c7",
"color8": "#5d6472",
"color9": "#B47514",
"color10": "#CD6F13",
"color11": "#BA902F",
"color12": "#D4991D",
"color13": "#D79921",
"color14": "#F6B92D",
"color15": "#c2c4c7"
}
}
@@ -0,0 +1,28 @@
{
"checksum": "438e026e5ab761ca9ea65180d42316c1",
"wallpaper": "/home/zaske/Pictures/scrap_GruvBox.jpg",
"alpha": "100",
"special": {
"background": "#2c1325",
"foreground": "#cac4c8",
"cursor": "#cac4c8"
},
"colors": {
"color0": "#2c1325",
"color1": "#A23D39",
"color2": "#976038",
"color3": "#936B5C",
"color4": "#A6926E",
"color5": "#D9A255",
"color6": "#798787",
"color7": "#cac4c8",
"color8": "#776272",
"color9": "#A23D39",
"color10": "#976038",
"color11": "#936B5C",
"color12": "#A6926E",
"color13": "#D9A255",
"color14": "#798787",
"color15": "#cac4c8"
}
}
@@ -0,0 +1,28 @@
{
"checksum": "d680941ce938730d2568e294ad7864a2",
"wallpaper": "/home/zaske/Pictures/sunset_gruvbox.png",
"alpha": "100",
"special": {
"background": "#0d1620",
"foreground": "#c2c4c7",
"cursor": "#c2c4c7"
},
"colors": {
"color0": "#0d1620",
"color1": "#CC241D",
"color2": "#DB3427",
"color3": "#8A7B31",
"color4": "#F54833",
"color5": "#E96852",
"color6": "#A1852C",
"color7": "#c2c4c7",
"color8": "#5d6671",
"color9": "#CC241D",
"color10": "#DB3427",
"color11": "#8A7B31",
"color12": "#F54833",
"color13": "#E96852",
"color14": "#A1852C",
"color15": "#c2c4c7"
}
}

Some files were not shown because too many files have changed in this diff Show More