aboutsummaryrefslogtreecommitdiff
path: root/user/home/kakoune
diff options
context:
space:
mode:
authorRosa <rosaontheweb@proton.me>2026-03-17 16:21:33 -0400
committerRosa <rosaontheweb@proton.me>2026-03-17 16:21:33 -0400
commitce19b701046c064a1eb39098d8537b2c4964a86e (patch)
tree8c42a1392d36132803a2ee4ecb4d2c9150f72296 /user/home/kakoune
parent8848e53815fe12ffa3998c0a4bbcf2178d6b00e8 (diff)
start rewrite
Diffstat (limited to 'user/home/kakoune')
-rw-r--r--user/home/kakoune/colors/nord.kak112
-rw-r--r--user/home/kakoune/colors/rose-pine.kak76
-rw-r--r--user/home/kakoune/default.nix75
-rw-r--r--user/home/kakoune/kakrc2
4 files changed, 0 insertions, 265 deletions
diff --git a/user/home/kakoune/colors/nord.kak b/user/home/kakoune/colors/nord.kak
deleted file mode 100644
index 55bcf52..0000000
--- a/user/home/kakoune/colors/nord.kak
+++ /dev/null
@@ -1,112 +0,0 @@
-# Nord Theme
-# https://www.nordtheme.com/docs/colors-and-palettes
-
-evaluate-commands %sh{
- # Polar Night (black)
- nord0="rgb:2e3440"
- nord1="rgb:3b4252"
- nord2="rgb:434c5e"
- nord3="rgb:4c566a"
- nord3_bright="rgb:616e88"
- # Snow Storm (white)
- nord4="rgb:d8dee9"
- nord5="rgb:e5e9f0"
- nord6="rgb:eceff4"
- # Frost (blue/green)
- nord7="rgb:8fbcbb"
- nord8="rgb:88c0d0"
- nord9="rgb:81a1c1"
- nord10="rgb:5e81ac"
- # Aurora
- nord11="rgb:bf616a" # red
- nord12="rgb:d08770" # orange
- nord13="rgb:ebcb8b" # yellow
- nord14="rgb:a3be8c" # green
- nord15="rgb:b48ead" # purple
-
- # Code highlighting
- echo "
- face global variable ${nord4}
- face global Default ${nord5},${nord0}
- face global builtin ${nord6}+b
- face global type ${nord7}
- face global function ${nord8}
- face global keyword ${nord9}
- face global meta ${nord9}
- face global attribute ${nord12}
- face global module ${nord13}
- face global string ${nord14}
- face global value ${nord15}
- "
-
- # comments are brighter since they're hard to see against the cursorline
- echo "face global comment ${nord3_bright}+i"
-
- # cursor/selection text is always black
- # backgrounds use Snow Storm for the primary cursor
- # and Frost for secondary elements
- echo "
- face global PrimaryCursor ${nord0},${nord4}+Bfg
- face global PrimarySelection ${nord0},${nord8}+g
- face global SecondaryCursor ${nord0},${nord9}+fg
- face global SecondarySelection ${nord0},${nord10}+g
- "
-
- # current line's number is white and matches the cursorline
- # other line's numbers are grey like comments
- echo "
- face global LineNumbers ${nord3_bright}+b
- face global LineNumberCursor ${nord4},${nord2}+b
- "
-
- # marks a soft-wrap in yellow
- echo "face global LineNumbersWrapped ${nord13},${nord1}"
- echo "face global WrapMarker ${nord13}+f"
-
-
- # selected element in menus
- echo "face global MenuForeground ${nord0},${nord8}+b"
-
- # non-selected element(s) in menus
- echo "face global MenuBackground default,${nord1}"
-
- # additional info in menus, like autocompletion source
- echo "face global MenuInfo default+iu"
-
-
- # bottom status line / prompt
- # not used much since we have powerline
- echo "face global StatusLine ${nord4},${nord1}"
- # tells you what mode you're using (besides normal)
- echo "face global StatusLineMode ${nord0},${nord7}+b"
- # special info
- echo "face global StatusLineInfo ${nord4}+b"
- # special values
- echo "face global StatusLineValue ${nord8}+i"
-
- echo "face global StatusCursor ${nord0},${nord4}"
- echo "face global Prompt default"
- echo "face global Whitespace ${nord10},${nord1}+f"
-
- # not really sure what this line does...
- echo "face global MatchingChar blue,red+F"
-
- # extra padding at the end of a buffer (file)
- echo "face global BufferPadding default,${nord3}"
-
- # general information, like Clippy
- echo "face global Information default,${nord1}"
- echo "face global Error ${nord4},${nord11}"
-
- # Markup
- echo "face global title ${nord8},${nord1}+b"
- echo "face global header ${nord7},${nord1}+b"
- echo "face global bold default,default+ba"
- echo "face global mono ${nord10}"
- echo "face global block ${nord13}"
- echo "face global Italic default,default+ia"
- echo "face global Underline default,default+ufa"
- echo "face global link ${nord8}+u"
- echo "face global bullet ${nord12}"
- echo "face global list ${nord14}"
-}
diff --git a/user/home/kakoune/colors/rose-pine.kak b/user/home/kakoune/colors/rose-pine.kak
deleted file mode 100644
index 83bd87a..0000000
--- a/user/home/kakoune/colors/rose-pine.kak
+++ /dev/null
@@ -1,76 +0,0 @@
-evaluate-commands %sh{
-
-base=rgb:191724
-surface=rgb:1f1d2e
-overlay=rgb:26233a
-inactive=rgb:555169
-subtle=rgb:6e6a86
-text=rgb:e0def4
-love=rgb:eb6f92
-gold=rgb:f6c177
-rose=rgb:ebbcba
-pine=rgb:31748f
-foam=rgb:9ccfd8
-iris=rgb:c4a7e7
-highlight=rgb:2a2837
-highlightInactive=rgb:211f2d
-highlightOverlay=rgb:3a384a
-
-
-## code
-echo "
- face global value ${iris}
- face global type ${iris}
- face global identifier ${subtle}
- face global string ${gold}
- face global keyword ${pine}
- face global operator default
- face global attribute ${foam}
- face global comment ${subtle}+i
- face global meta ${foam}
- face global builtin ${pine}
-
- face global variable ${rose}
- face global module ${foam}
- face global function ${foam}
-"
-
-## markup
-echo "
- face global title ${rose}+b
- face global header ${rose}
- face global bold default
- face global italic default
- face global mono ${rose}
- face global block ${pine}
- face global link ${love}
- face global bullet ${rose}
- face global list ${rose}
-"
-
-## builtin
-echo "
- face global Default ${text},default
- face global PrimarySelection ${base},${foam}
- face global SecondarySelection ${base},${pine}
- face global PrimaryCursor ${base},${text}
- face global SecondaryCursor default,${inactive}
- face global LineNumbers ${subtle},default
- face global LineNumberCursor ${gold},default
- face global MenuForeground ${text},${overlay}
- face global MenuBackground ${subtle},${surface}
- face global MenuInfo ${inactive}
- face global Information ${text},${overlay}
- face global Error ${base},${love}
- face global StatusLine ${text},${surface}
- face global StatusLineMode ${rose}
- face global StatusLineInfo ${foam}
- face global StatusLineValue ${pine}
- face global StatusCursor ${base},${text}
- face global Prompt ${foam},${surface}
- face global MatchingChar default+u
- face global BufferPadding ${inactive},default
- face global Whitespace ${inactive}+f
-"
-
-}
diff --git a/user/home/kakoune/default.nix b/user/home/kakoune/default.nix
deleted file mode 100644
index 5def202..0000000
--- a/user/home/kakoune/default.nix
+++ /dev/null
@@ -1,75 +0,0 @@
-{ config, pkgs, ... }:
-{
- programs.kakoune = {
- enable = true;
- colorSchemePackage = pkgs.kakounePlugins.kakoune-catppuccin;
- config = {
- colorScheme = "catppuccin_mocha";
- hooks = [
- {
- commands = "set window indentwidth 2";
- group = "indentwidth";
- name = "WinSetOption";
- option = "filetype=(nix)";
- }
- {
- commands = "lsp-enable-window";
- name = "WinSetOption";
- option = "filetype=(javascript|kotlin|qml|typescript|zig)";
- }
- {
- commands = ''
- set-option buffer lsp_servers %{
- [kotlin-language-server]
- root_globs = ["build.gradle.kts"]
- }
- '';
- name = "BufSetOption";
- option = "filetype=kotlin";
- }
- {
- commands = ''
- set-option buffer lsp_servers %{
- [qmlls]
- root_globs = ["shell.qml"]
- }
- '';
- name = "BufSetOption";
- option = "filetype=qml";
- }
- ];
-
- keyMappings = [
- {
- docstring = "Opens a new editor window";
- effect = ":new<ret>";
- key = "<c-w>";
- mode = "normal";
- }
- ];
-
- numberLines = {
- enable = true;
- highlightCursor = true;
- };
-
- ui = {
- assistant = "cat";
- setTitle = true;
- };
- };
-
- defaultEditor = true;
- extraConfig = builtins.readFile ./kakrc;
- plugins = with pkgs.kakounePlugins; [
- auto-pairs-kak
- kakoune-extra-filetypes
- kakoune-lsp
- ];
- };
-
- xdg.configFile."kak/colors" = {
- recursive = true;
- source = ./colors;
- };
-}
diff --git a/user/home/kakoune/kakrc b/user/home/kakoune/kakrc
deleted file mode 100644
index b327805..0000000
--- a/user/home/kakoune/kakrc
+++ /dev/null
@@ -1,2 +0,0 @@
-enable-auto-pairs
-eval %sh{kak-lsp --kakoune -s $kak_session}