summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alacritty.toml45
-rw-r--r--config.toml33
2 files changed, 78 insertions, 0 deletions
diff --git a/alacritty.toml b/alacritty.toml
new file mode 100644
index 0000000..9f19174
--- /dev/null
+++ b/alacritty.toml
@@ -0,0 +1,45 @@
+# ~/.config/alacritty/alacritty.toml
+
+[env]
+TERM = "xterm-256color"
+
+[window]
+decorations = "full"
+opacity = 0.96
+
+[window.padding]
+x = 8
+y = 8
+
+[font]
+size = 9
+
+[cursor.style]
+shape = "Beam"
+blinking = "On"
+
+[scrolling]
+history = 10000
+multiplier = 3
+
+[shell]
+program = "/bin/bash" # or "/bin/zsh"
+
+[[keyboard.bindings]]
+key = "V"
+mods = "Control|Shift"
+action = "Paste"
+
+[[keyboard.bindings]]
+key = "C"
+mods = "Control|Shift"
+action = "Copy"
+
+[[keyboard.bindings]]
+key = "Q"
+mods = "Control|Shift"
+action = "Quit"
+
+[colors.primary]
+background = "0x1e1e2e"
+foreground = "0xcdd6f4"
diff --git a/config.toml b/config.toml
new file mode 100644
index 0000000..22a8dbd
--- /dev/null
+++ b/config.toml
@@ -0,0 +1,33 @@
+theme = "base16_terminal"
+
+[editor]
+line-number = "relative"
+cursorline = true
+true-color = true
+auto-save = false
+completion-trigger-len = 1
+scrolloff = 4
+bufferline = "multiple"
+rulers = [80]
+
+[editor.statusline]
+left = ["mode", "file-name", "file-modification-indicator"]
+right = ["version-control", "file-type", "position"]
+
+[editor.whitespace.render]
+tab = "all"
+space = "none"
+newline = "none"
+
+[editor.indent-guides]
+render = true
+character = "╎"
+
+[keys.normal]
+"C-s" = ":w"
+"C-q" = ":q"
+"C-x" = ":wq"
+"C-e" = ":config-open"
+"Z" = ":sh zfs list"
+"G" = ":sh git status"
+