Compare commits
161 Commits
c42b27a81a
...
arch-lapto
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
18705edb61 | ||
|
|
7cd118b1a1 | ||
|
|
6b6ec87c90 | ||
|
|
e400b3e0db | ||
|
|
3ffd41b042 | ||
|
|
450950ffb5 | ||
|
|
6478904b4b | ||
|
|
f3817cf484 | ||
|
|
e917fee38e | ||
|
|
ddd4493d6d | ||
|
|
8d3f26e0fc | ||
|
|
ef019766f7 | ||
|
|
1e421a5965 | ||
|
|
20ef60b19e | ||
|
|
b681202482 | ||
|
|
a2c7b5033a | ||
|
|
cc5246f38b | ||
|
|
1e8ce88613 | ||
|
|
f2fa6c1267 | ||
|
|
42fe89b22b | ||
|
|
ce01877872 | ||
|
|
a3412c9fdf | ||
|
|
352e5e81fc | ||
|
|
66ab2ea83e | ||
|
|
2d1a11ea40 | ||
|
|
bfd76704c1 | ||
|
|
e6a0d0892f | ||
|
|
a6c2f0332c | ||
|
|
d9d0c8fe3e | ||
|
|
23146bf866 | ||
|
|
ef1981d06b | ||
|
|
87a948d516 | ||
|
|
f60dd72912 | ||
|
|
70ff268d4a | ||
|
|
458a2dd1d6 | ||
|
|
2b86bb9142 | ||
|
|
16169fbab4 | ||
|
|
792c4d50ce | ||
|
|
367244a53d | ||
|
|
30efa5fd97 | ||
|
|
93361624d7 | ||
|
|
f62beda403 | ||
|
|
1f48c690a5 | ||
|
|
6dcd713273 | ||
|
|
a177955e85 | ||
|
|
c8a110b9ba | ||
|
|
449f2dc890 | ||
|
|
005f77cdbf | ||
|
|
cf051a191f | ||
|
|
1114797040 | ||
|
|
d3ee528e2b | ||
|
|
1f5f04cef1 | ||
|
|
88b5ef02f5 | ||
|
|
04da38c6a2 | ||
|
|
bce85fa1a7 | ||
|
|
34f693c045 | ||
|
|
4f9f7e548e | ||
|
|
a62d036c10 | ||
|
|
59dd7303af | ||
|
|
3ebc1b414c | ||
|
|
ec8260daaf | ||
|
|
3f2d0991c2 | ||
|
|
0e68d3dca3 | ||
|
|
43061705ce | ||
|
|
14031539d8 | ||
|
|
5adca4c8e2 | ||
|
|
8f23c730a6 | ||
|
|
72a49d5e1c | ||
|
|
3493a2287b | ||
|
|
eb8fe65fa9 | ||
|
|
3dd9b60f5f | ||
|
|
2a40065939 | ||
|
|
0ca4a99af1 | ||
|
|
ec424125e1 | ||
|
|
f142308811 | ||
|
|
7a9f0f6f47 | ||
|
|
6a57e95895 | ||
|
|
723895373e | ||
|
|
f30c20d354 | ||
|
|
f111effce5 | ||
|
|
69b6174817 | ||
|
|
e9da1721d7 | ||
|
|
2fd20bd541 | ||
|
|
8e838e1601 | ||
|
|
119cb07749 | ||
|
|
bc3bb4ed16 | ||
|
|
3d1ff7934a | ||
|
|
e31ff128fa | ||
|
|
b910a496a2 | ||
|
|
b723ebb5b5 | ||
|
|
30883aaa78 | ||
|
|
9e62854ba9 | ||
|
|
957701fce9 | ||
|
|
e161127590 | ||
|
|
b1a2d98e0a | ||
|
|
08b61f677b | ||
|
|
6406bd637b | ||
|
|
6c5cae2b9a | ||
|
|
2b8d21d824 | ||
|
|
3fd319c2e2 | ||
|
|
5fdb8166cb | ||
|
|
862619b1cc | ||
|
|
ba422a0648 | ||
|
|
00b1735bed | ||
|
|
f44ce08f75 | ||
|
|
c25d84ad56 | ||
|
|
5a261f9805 | ||
|
|
2574165d59 | ||
|
|
673c819a72 | ||
|
|
e894b99c2a | ||
|
|
95f7180b5f | ||
|
|
3ea525b653 | ||
|
|
bc435f0f38 | ||
|
|
7c6da42aa4 | ||
|
|
ff3daf700c | ||
|
|
fd50ca3299 | ||
|
|
f1a0fb37dd | ||
|
|
6878875278 | ||
|
|
d9e58990e3 | ||
|
|
65b0516562 | ||
|
|
043e2708e8 | ||
|
|
5a4a9b6acf | ||
|
|
c7439f61f5 | ||
|
|
3c9b31f283 | ||
|
|
56fbe76cf7 | ||
|
|
8bc96b4337 | ||
|
|
5db50b1e7f | ||
|
|
8c554fcdef | ||
|
|
749d5e12d9 | ||
|
|
c8259bc433 | ||
|
|
380f9245bf | ||
|
|
3d677fedb7 | ||
|
|
12eea29508 | ||
|
|
f404871c42 | ||
|
|
c38b45e957 | ||
|
|
24283c765b | ||
|
|
24d4801414 | ||
|
|
95292ac3b6 | ||
|
|
8b6ef51156 | ||
|
|
bc6ccb338b | ||
|
|
68e1f978ca | ||
|
|
0771ce0401 | ||
|
|
b893d4df72 | ||
|
|
e0c325b5d8 | ||
|
|
b4fcb164f3 | ||
|
|
b825615a42 | ||
|
|
ee6da6e10d | ||
|
|
50f45725af | ||
|
|
7b959b08ad | ||
|
|
377c7aec81 | ||
|
|
bd5012e3e8 | ||
|
|
96e2a10a0a | ||
|
|
f1ff685e13 | ||
|
|
aaba0d04ae | ||
|
|
4455388a7c | ||
|
|
bf4f428732 | ||
|
|
992788786d | ||
|
|
342a863ed6 | ||
|
|
b048c4fdfa | ||
|
|
34eb7ee038 | ||
|
|
86d8fa773c |
45
.gitignore
vendored
Normal file
45
.gitignore
vendored
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
config/.config/kak/al/rc/org.kak
|
||||||
|
config/.config/kak/mru_files.txt
|
||||||
|
config/.scripts/baraction.sh
|
||||||
|
config/.scripts/brave.sh
|
||||||
|
config/.scripts/tmux-change-dir.sh
|
||||||
|
config/.config/dconf/
|
||||||
|
config/.themes/
|
||||||
|
config/**/*.uuid
|
||||||
|
config/.icons/
|
||||||
|
config/.config/KDE/
|
||||||
|
config/.config/falkon/
|
||||||
|
config/.config/ghostty/iTerm2-Color-Schemes/
|
||||||
|
config/.config/ghostty/themes/
|
||||||
|
config/.config/helix/runtime/
|
||||||
|
config/.config/kak/colors/
|
||||||
|
config/.config/kak/plugins/
|
||||||
|
config/.config/mutt/chalupmc@rose-hulman
|
||||||
|
config/.config/mutt/mikecchalupiak@outlook
|
||||||
|
config/.config/mutt/spamreciver1@outlook
|
||||||
|
config/.config/nvim/lazy-lock.json
|
||||||
|
config/.config/qt5ct/colors/*
|
||||||
|
config/.config/qutebrowser/autoconfig.yml
|
||||||
|
config/.config/qutebrowser/rosepine/
|
||||||
|
config/.config/zathura/colors
|
||||||
|
config/.doom.d/flycheck_config.el
|
||||||
|
config/.scripts/kkse
|
||||||
|
config/.scripts/mlvwm-alert
|
||||||
|
config/.scripts/mlvwm-confirm
|
||||||
|
config/.scripts/mlvwm-message
|
||||||
|
config/.scripts/mlvwm-powerdown
|
||||||
|
config/.scripts/mlvwm-restart
|
||||||
|
config/.scripts/mlvwm-screenshot
|
||||||
|
config/.scripts/pipewire-launch
|
||||||
|
/config/.emacs.d/undo-fu-session/
|
||||||
|
/config/.emacs.d/tree-sitter/
|
||||||
|
/config/.emacs.d/tramp
|
||||||
|
/config/.emacs.d/straight/
|
||||||
|
/config/.emacs.d/recentf
|
||||||
|
/config/.emacs.d/places
|
||||||
|
/config/.emacs.d/parinfer-rust/
|
||||||
|
/config/.emacs.d/history
|
||||||
|
/config/.emacs.d/eshell/
|
||||||
|
/config/.emacs.d/elpa/
|
||||||
|
/config/.emacs.d/eln-cache/
|
||||||
|
/config/.emacs.d/auto-save-list/
|
||||||
@@ -5,7 +5,8 @@ Xft.dpi: 192
|
|||||||
! .alpha: 0.2
|
! .alpha: 0.2
|
||||||
|
|
||||||
font: monospace:12
|
font: monospace:12
|
||||||
//*font: "Cascadia Code"
|
Sxiv.font: "Cascadia Code"
|
||||||
|
! Sxiv.font: "Olympe Mono Hacked"
|
||||||
!! Dracula Xresources palette
|
!! Dracula Xresources palette
|
||||||
!/* *.foreground: #F8F8F2 */
|
!/* *.foreground: #F8F8F2 */
|
||||||
!/* *.background: #282A36 */
|
!/* *.background: #282A36 */
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ export PATH="$PATH:/home/mikec/.local/share/JetBrains/Toolbox/scripts"
|
|||||||
|
|
||||||
export PATH="${PATH}:$HOME/.scripts:$HOME/maple2022/bin:$HOME/intelFPGA_lite/18.1/quartus/bin:$HOME/intelFPGA_lite/18.1/modelsim_ase/bin"
|
export PATH="${PATH}:$HOME/.scripts:$HOME/maple2022/bin:$HOME/intelFPGA_lite/18.1/quartus/bin:$HOME/intelFPGA_lite/18.1/modelsim_ase/bin"
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
export XDG_CURRENT_DESKTOP=sway
|
# export XDG_CURRENT_DESKTOP=sway
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
export QSYS_ROOTDIR="/home/mikec/intelFPGA_lite/18.1/quartus/sopc_builder/bin"
|
export QSYS_ROOTDIR="/home/mikec/intelFPGA_lite/18.1/quartus/sopc_builder/bin"
|
||||||
export VERSION_CONTROL="never"
|
export VERSION_CONTROL="never"
|
||||||
@@ -20,3 +20,6 @@ export VERSION_CONTROL="never"
|
|||||||
# This section can be safely removed at any time if needed.
|
# This section can be safely removed at any time if needed.
|
||||||
test -r '/home/mikec/.opam/opam-init/init.sh' && . '/home/mikec/.opam/opam-init/init.sh' > /dev/null 2> /dev/null || true
|
test -r '/home/mikec/.opam/opam-init/init.sh' && . '/home/mikec/.opam/opam-init/init.sh' > /dev/null 2> /dev/null || true
|
||||||
# END opam configuration
|
# END opam configuration
|
||||||
|
# if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||||
|
# exec river
|
||||||
|
# fi
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
# ~/.bashrc
|
||||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||||
# for examples
|
# for examples
|
||||||
|
|
||||||
@@ -10,11 +10,20 @@ esac
|
|||||||
|
|
||||||
export PATH=~/.local/bin:/snap/bin:/usr/sandbox/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/games:/usr/local/sbin:/usr/sbin:/sbin:$PATH
|
export PATH=~/.local/bin:/snap/bin:/usr/sandbox/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/games:/usr/local/sbin:/usr/sbin:/sbin:$PATH
|
||||||
PATH=$PATH:~/.local/share/gem/ruby/3.0.0/bin/:~/.scripts
|
PATH=$PATH:~/.local/share/gem/ruby/3.0.0/bin/:~/.scripts
|
||||||
|
PATH=$PATH:~/.local/share/gem/ruby/3.4.0/bin/
|
||||||
PATH=$PATH:~/.cargo/bin
|
PATH=$PATH:~/.cargo/bin
|
||||||
PATH=$PATH:~/go/bin/
|
PATH=$PATH:~/go/bin/
|
||||||
PATH=$PATH:~/.nimble/bin/
|
PATH=$PATH:~/.nimble/bin/
|
||||||
PATH=$PATH:~/Documents/suckless/dylan/opendylan-2024.1/bin
|
PATH=$PATH:~/Documents/suckless/dylan/opendylan-2024.1/bin
|
||||||
PATH=$PATH:~/.config/emacs/bin/
|
PATH=$PATH:~/.config/emacs/bin/
|
||||||
|
PATH=$PATH:~/.mint/bin/
|
||||||
|
PATH=$PATH:~/glamoroustoolkit/bin/
|
||||||
|
PATH=$PATH:~/Documents/Projects/Cuis-Smalltalk-Dev/
|
||||||
|
PATH=$PATH:~/opt/homebrew/bin/
|
||||||
|
|
||||||
|
export CFLAGS="$CFLAGS -I/opt/homebrew/include"
|
||||||
|
|
||||||
|
LDPATH=$LDPATH:/opt/homebrew/lib/
|
||||||
# don't put duplicate lines or lines starting with space in the history.
|
# don't put duplicate lines or lines starting with space in the history.
|
||||||
# See bash(1) for more options
|
# See bash(1) for more options
|
||||||
HISTCONTROL=ignoreboth
|
HISTCONTROL=ignoreboth
|
||||||
@@ -119,17 +128,21 @@ alias _='sudo'
|
|||||||
alias _i='sudo -i'
|
alias _i='sudo -i'
|
||||||
alias please='sudo'
|
alias please='sudo'
|
||||||
alias fucking='sudo'
|
alias fucking='sudo'
|
||||||
alias hx='helix'
|
# alias hx='helix'
|
||||||
alias bat='bat --theme="base16-256"'
|
alias bat='bat --theme="base16-256"'
|
||||||
if [ -n "$(command -v 'eza')" ]; then
|
if [ -n "$(command -v 'eza')" ]; then
|
||||||
alias ls='eza'
|
alias ls='eza'
|
||||||
fi
|
fi
|
||||||
|
alias zf='z $(flirt)'
|
||||||
|
|
||||||
# Alias definitions.
|
# Alias definitions.
|
||||||
# You may want to put all your additions into a separate file like
|
# You may want to put all your additions into a separate file like
|
||||||
# ~/.bash_aliases, instead of adding them here directly.
|
# ~/.bash_aliases, instead of adding them here directly.
|
||||||
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
||||||
export EDITOR='nvim'
|
if [ -z "$EDITOR" ]; then
|
||||||
|
# export EDITOR=kak
|
||||||
|
export EDITOR='nvim'
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f ~/.bash_aliases ]; then
|
if [ -f ~/.bash_aliases ]; then
|
||||||
. ~/.bash_aliases
|
. ~/.bash_aliases
|
||||||
@@ -141,9 +154,11 @@ if [ "$XDG_SESSION_DESKTOP" = "sway" ] ; then
|
|||||||
export STUDIO_JDK=/usr/lib/jvm/java-11-openjdk/
|
export STUDIO_JDK=/usr/lib/jvm/java-11-openjdk/
|
||||||
fi
|
fi
|
||||||
eval "$(zoxide init bash)"
|
eval "$(zoxide init bash)"
|
||||||
|
eval "$(fzf --bash)"
|
||||||
|
|
||||||
export TMUX_TMPDIR=/tmp
|
export TMUX_TMPDIR=/tmp
|
||||||
export TINTED_SHELL_ENABLE_BASE16_VARS=1
|
export TINTED_SHELL_ENABLE_BASE16_VARS=1
|
||||||
|
export PKG_CONFIG_PATH=/usr/local/share/pkgconfig/:$PKG_CONFIG_PATH
|
||||||
|
|
||||||
tinty_source_shell_theme() {
|
tinty_source_shell_theme() {
|
||||||
tinty $@
|
tinty $@
|
||||||
@@ -162,14 +177,35 @@ tinty_source_shell_theme() {
|
|||||||
unset subcommand
|
unset subcommand
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -n "$(command -v 'tinty')" ]; then
|
# if [ -n "$(command -v 'tinty')" ]; then
|
||||||
tinty_source_shell_theme "init"
|
# tinty_source_shell_theme "init"
|
||||||
alias theme='tinty_source_shell_theme apply "$(tinty list | fzf --cycle)" && xrdb ~/.Xresources'
|
# alias theme='tinty_source_shell_theme apply "$(tinty list | fzf --cycle)" && xrdb ~/.Xresources'
|
||||||
|
# fi
|
||||||
|
|
||||||
|
run_kak() {
|
||||||
|
/usr/bin/kak -c $SESH 2>/dev/null "$@" || /usr/bin/kak -s $SESH "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
if [ -n "$(command -v tmux)" ] && [ -n "$(command -v kak)" ] && [ -z "$TMUX" ]; then
|
||||||
|
SESH="$( (tmux list-sessions 2>/dev/null || echo '-1') | cut -d' ' -f1 | tr -d ':-' | sort -r | head -n1 | xargs -I{} echo '{} + 1' | bc)"
|
||||||
|
alias kak='tmux new-session -e "EDITOR=\"/usr/bin/kak -c $SESH\"" -s $SESH /usr/bin/kak -s $SESH > /dev/null'
|
||||||
|
elif [ -n "$(command -v tmux)" ] && [ -n "$(command -v kak)" ]; then
|
||||||
|
SESH="$(tmux display-message -p '#S')"
|
||||||
|
# alias kak='kak -c $SESH 2>/dev/null || kak -s $SESH'
|
||||||
|
alias kak=run_kak
|
||||||
|
alias vidir='EDITOR="/usr/bin/kak -c $SESH 2>/dev/null || /usr/bin/kak -s $SESH" vidir'
|
||||||
|
alias vipe='EDITOR="/usr/bin/kak -c $SESH 2>/dev/null || /usr/bin/kak -s $SESH" vipe'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$(command -v tmux)" ] && [ -z "$TMUX" ]; then
|
if [ -n "$(command -v tmux)" ] && [ -n "$(command -v helix)" ] && [ -z "$TMUX" ]; then
|
||||||
alias kak='tmux new-session kak > /dev/null'
|
alias helix='tmux new-session -e "EDITOR=helix" helix > /dev/null'
|
||||||
|
# alias hx='tmux new-session -e "EDITOR=helix" helix > /dev/null'
|
||||||
fi
|
fi
|
||||||
|
# if [ -n "$(command -v tmux)" ] && [ -z "$TMUX" ]; then
|
||||||
|
# SESH="$( (tmux list-sessions 2>/dev/null || echo '-1') | cut -d' ' -f1 | tr -d ':-' | sort -r | head -n1 | xargs -I{} echo '{} + 1' | bc)"
|
||||||
|
# alias tmux="tmux new-session -s $SESH"
|
||||||
|
# fi
|
||||||
|
|
||||||
alias enter-dev='. enter-dev.sh'
|
alias enter-dev='. enter-dev.sh'
|
||||||
alias ssh='TERM="xterm-256color" ssh'
|
alias ssh='TERM="xterm-256color" ssh'
|
||||||
|
|
||||||
@@ -182,3 +218,12 @@ alias sbcl='rlwrap sbcl'
|
|||||||
alias csi='rlwrap csi'
|
alias csi='rlwrap csi'
|
||||||
alias chicken-csi='rlwrap chicken-csi'
|
alias chicken-csi='rlwrap chicken-csi'
|
||||||
alias icyc='rlwrap icyc'
|
alias icyc='rlwrap icyc'
|
||||||
|
export DCONF_PROFILE
|
||||||
|
# export FZF_DEFAULT_OPTS="
|
||||||
|
# --color=fg:#908caa,bg:#191724,hl:#ebbcba
|
||||||
|
# --color=fg+:#e0def4,bg+:#26233a,hl+:#ebbcba
|
||||||
|
# --color=border:#403d52,header:#31748f,gutter:#191724
|
||||||
|
# --color=spinner:#f6c177,info:#9ccfd8
|
||||||
|
# --color=pointer:#c4a7e7,marker:#eb6f92,prompt:#908caa"
|
||||||
|
[ -n "$EAT_SHELL_INTEGRATION_DIR" ] && \
|
||||||
|
source "$EAT_SHELL_INTEGRATION_DIR/bash"
|
||||||
|
|||||||
2
config/.config/KDE/UserFeedback.conf
Normal file
2
config/.config/KDE/UserFeedback.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[UserFeedback]
|
||||||
|
LastEncouragement=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x87}\x4\n\x84\xab\0)
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[UserFeedback]
|
||||||
|
ApplicationStartCount=2
|
||||||
35
config/.config/aerc/accounts.conf
Normal file
35
config/.config/aerc/accounts.conf
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
[mchalupiak]
|
||||||
|
source = imaps://mikec@mail.mchalupiak.com
|
||||||
|
outgoing = smtp://mikec%40mchalupiak.com@www.mchalupiak.com
|
||||||
|
default = INBOX
|
||||||
|
from = Michael Chalupiak <mikec@mchalupiak.com>
|
||||||
|
cache-headers = true
|
||||||
|
source-cred-cmd = pass mikec@mchalupiak.com
|
||||||
|
outgoing-cred-cmd = pass mikec@mchalupiak.com
|
||||||
|
|
||||||
|
[mikecchalupiak]
|
||||||
|
source = imaps+xoauth2://mikecchalupiak%40outlook.com@outlook.office365.com?
|
||||||
|
outgoing = smtp+xoauth2://mikecchalupiak%40outlook.com@outlook.office365.com:587
|
||||||
|
from = "Michael Chalupiak" <mikecchalupiak@outlook.com>
|
||||||
|
default = INBOX
|
||||||
|
cache-headers = true
|
||||||
|
source-cred-cmd = oama access mikecchalupiak@outlook.com
|
||||||
|
outgoing-cred-cmd = oama access mikecchalupiak@outlook.com
|
||||||
|
|
||||||
|
[spamreciver1]
|
||||||
|
source = imaps+xoauth2://spamreciver1%40outlook.com@outlook.office365.com?
|
||||||
|
outgoing = smtp+xoauth2://spamreciver1%40outlook.com@outlook.office365.com:587
|
||||||
|
from = "Mike Jeff" <spamreciver1@outlook.com>
|
||||||
|
default = INBOX
|
||||||
|
cache-headers = true
|
||||||
|
source-cred-cmd = oama access spamreciver1@outlook.com
|
||||||
|
outgoing-cred-cmd = oama access spamreciver1@outlook.com
|
||||||
|
|
||||||
|
[chalupmc]
|
||||||
|
source = imaps+xoauth2://chalupmc%40rose-hulman.edu@outlook.office365.com?
|
||||||
|
outgoing = smtp+xoauth2://chalupmc%40rose-hulman.edu@outlook.office365.com:587
|
||||||
|
from = "Michael Chalupiak" <chalupmc@rose-hulman.edu>
|
||||||
|
default = INBOX
|
||||||
|
cache-headers = true
|
||||||
|
source-cred-cmd = oama access chalupmc@rose-hulman.edu
|
||||||
|
outgoing-cred-cmd = oama access chalupmc@rose-hulman.edu
|
||||||
862
config/.config/aerc/aerc.conf
Normal file
862
config/.config/aerc/aerc.conf
Normal file
@@ -0,0 +1,862 @@
|
|||||||
|
#
|
||||||
|
# aerc main configuration
|
||||||
|
|
||||||
|
[general]
|
||||||
|
#
|
||||||
|
# Used as a default path for save operations if no other path is specified.
|
||||||
|
# ~ is expanded to the current user home dir.
|
||||||
|
#
|
||||||
|
#default-save-path=
|
||||||
|
|
||||||
|
# If set to "gpg", aerc will use system gpg binary and keystore for all crypto
|
||||||
|
# operations. If set to "internal", the internal openpgp keyring will be used.
|
||||||
|
# If set to "auto", the system gpg will be preferred unless the internal
|
||||||
|
# keyring already exists, in which case the latter will be used.
|
||||||
|
#
|
||||||
|
# Default: auto
|
||||||
|
#pgp-provider=auto
|
||||||
|
|
||||||
|
# By default, the file permissions of accounts.conf must be restrictive and
|
||||||
|
# only allow reading by the file owner (0600). Set this option to true to
|
||||||
|
# ignore this permission check. Use this with care as it may expose your
|
||||||
|
# credentials.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#unsafe-accounts-conf=false
|
||||||
|
|
||||||
|
# Output log messages to specified file. A path starting with ~/ is expanded to
|
||||||
|
# the user home dir. When redirecting aerc's output to a file using > shell
|
||||||
|
# redirection, this setting is ignored and log messages are printed to stdout.
|
||||||
|
#
|
||||||
|
#log-file=
|
||||||
|
|
||||||
|
# Only log messages above the specified level to log-file. Supported levels
|
||||||
|
# are: trace, debug, info, warn and error. When redirecting aerc's output to
|
||||||
|
# a file using > shell redirection, this setting is ignored and the log level
|
||||||
|
# is forced to trace.
|
||||||
|
#
|
||||||
|
# Default: info
|
||||||
|
#log-level=info
|
||||||
|
|
||||||
|
# Disable IPC entirely. Don't run commands (including mailto:... and mbox:...)
|
||||||
|
# in an existing aerc instance, and don't start an IPC server to allow
|
||||||
|
# subsequent aerc instances to run commands in the current one.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#disable-ipc=false
|
||||||
|
|
||||||
|
# Don't run mailto:... commands over IPC; start a new aerc instance with the
|
||||||
|
# composer instead.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#disable-ipc-mailto=false
|
||||||
|
#
|
||||||
|
# Don't run mbox:... commands over IPC; start a new aerc instance with the mbox
|
||||||
|
# file instead.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#disable-ipc-mbox=false
|
||||||
|
|
||||||
|
# Set the $TERM environment variable used for the embedded terminal.
|
||||||
|
#
|
||||||
|
# Default: xterm-256color
|
||||||
|
#term=xterm-256color
|
||||||
|
|
||||||
|
# Display OSC8 strings in the embedded terminal
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#enable-osc8=false
|
||||||
|
|
||||||
|
# Default shell command to use for :menu. This will be executed with sh -c and
|
||||||
|
# will run in an popover dialog.
|
||||||
|
#
|
||||||
|
# Any occurrence of %f will be replaced by a temporary file path where the
|
||||||
|
# command is expected to write output lines to be consumed by :menu. Otherwise,
|
||||||
|
# the lines will be read from the command's standard output.
|
||||||
|
#
|
||||||
|
# Examples:
|
||||||
|
# default-menu-cmd=fzf
|
||||||
|
# default-menu-cmd=fzf --multi
|
||||||
|
# default-menu-cmd=dmenu -l 20
|
||||||
|
# default-menu-cmd=ranger --choosefiles=%f
|
||||||
|
#
|
||||||
|
#default-menu-cmd=
|
||||||
|
|
||||||
|
[ui]
|
||||||
|
#
|
||||||
|
# Describes the format for each row in a mailbox view. This is a comma
|
||||||
|
# separated list of column names with an optional align and width suffix. After
|
||||||
|
# the column name, one of the '<' (left), ':' (center) or '>' (right) alignment
|
||||||
|
# characters can be added (by default, left) followed by an optional width
|
||||||
|
# specifier. The width is either an integer representing a fixed number of
|
||||||
|
# characters, or a percentage between 1% and 99% representing a fraction of the
|
||||||
|
# terminal width. It can also be one of the '*' (auto) or '=' (fit) special
|
||||||
|
# width specifiers. Auto width columns will be equally attributed the remaining
|
||||||
|
# terminal width. Fit width columns take the width of their contents. If no
|
||||||
|
# width specifier is set, '*' is used by default.
|
||||||
|
#
|
||||||
|
# Default: flags:4,name<20%,subject,date>=
|
||||||
|
#index-columns=flags:4,name<20%,subject,date>=
|
||||||
|
|
||||||
|
#
|
||||||
|
# Each name in index-columns must have a corresponding column-$name setting.
|
||||||
|
# All column-$name settings accept golang text/template syntax. See
|
||||||
|
# aerc-templates(7) for available template attributes and functions.
|
||||||
|
#
|
||||||
|
# Here are some examples to show the To field instead of the From field for
|
||||||
|
# an email (modifying column-name):
|
||||||
|
#
|
||||||
|
# 1. a generic one
|
||||||
|
# column-name={{ .Peer | names | join ", " }}
|
||||||
|
# 2. based upon the selected folder
|
||||||
|
# column-name={{if match .Folder "^(Gesendet|Sent)$"}}{{index (.To | names) 0}}{{else}}{{index (.From | names) 0}}{{end}}
|
||||||
|
#
|
||||||
|
# Default settings
|
||||||
|
#column-flags={{.Flags | join ""}}
|
||||||
|
#column-name={{index (.From | names) 0}}
|
||||||
|
#column-subject={{.ThreadPrefix}}{{.Subject}}
|
||||||
|
#column-date={{.DateAutoFormat .Date.Local}}
|
||||||
|
|
||||||
|
#
|
||||||
|
# String separator inserted between columns. When the column width specifier is
|
||||||
|
# an exact number of characters, the separator is added to it (i.e. the exact
|
||||||
|
# width will be fully available for the column contents).
|
||||||
|
#
|
||||||
|
# Default: " "
|
||||||
|
#column-separator=" "
|
||||||
|
|
||||||
|
#
|
||||||
|
# See time.Time#Format at https://godoc.org/time#Time.Format
|
||||||
|
#
|
||||||
|
# Default: 2006 Jan 02
|
||||||
|
#timestamp-format=2006 Jan 02
|
||||||
|
|
||||||
|
#
|
||||||
|
# Index-only time format for messages that were received/sent today.
|
||||||
|
# If this is empty, timestamp-format is used instead.
|
||||||
|
#
|
||||||
|
# Default: 15:04
|
||||||
|
#this-day-time-format=15:04
|
||||||
|
|
||||||
|
#
|
||||||
|
# Index-only time format for messages that were received/sent within the last
|
||||||
|
# 7 days. If this is empty, timestamp-format is used instead.
|
||||||
|
#
|
||||||
|
# Default: Jan 02
|
||||||
|
#this-week-time-format=Jan 02
|
||||||
|
|
||||||
|
#
|
||||||
|
# Index-only time format for messages that were received/sent this year.
|
||||||
|
# If this is empty, timestamp-format is used instead.
|
||||||
|
#
|
||||||
|
#Default: Jan 02
|
||||||
|
#this-year-time-format=Jan 02
|
||||||
|
|
||||||
|
#
|
||||||
|
# Overrides timestamp-format for the message view.
|
||||||
|
#
|
||||||
|
# Default: 2006 Jan 02, 15:04 GMT-0700
|
||||||
|
#message-view-timestamp-format=2006 Jan 02, 15:04 GMT-0700
|
||||||
|
|
||||||
|
#
|
||||||
|
# If set, overrides timestamp-format in the message view for messages
|
||||||
|
# that were received/sent today.
|
||||||
|
#
|
||||||
|
#message-view-this-day-time-format=
|
||||||
|
|
||||||
|
# If set, overrides timestamp-format in the message view for messages
|
||||||
|
# that were received/sent within the last 7 days.
|
||||||
|
#
|
||||||
|
#message-view-this-week-time-format=
|
||||||
|
|
||||||
|
#
|
||||||
|
# If set, overrides *timestamp-format* in the message view for messages
|
||||||
|
# that were received/sent this year.
|
||||||
|
#
|
||||||
|
#message-view-this-year-time-format=
|
||||||
|
|
||||||
|
#
|
||||||
|
# Width of the sidebar, including the border.
|
||||||
|
#
|
||||||
|
# Default: 22
|
||||||
|
#sidebar-width=22
|
||||||
|
|
||||||
|
#
|
||||||
|
# Default split layout for message list tabs. The syntax is:
|
||||||
|
#
|
||||||
|
# [<direction>] <size>
|
||||||
|
#
|
||||||
|
# <direction> is optional and defaults to horizontal. It can take one
|
||||||
|
# of the following values: h, horiz, horizontal, v, vert, vertical.
|
||||||
|
#
|
||||||
|
# <size> is a positive integer representing the size (in terminal cells)
|
||||||
|
# of the message list window.
|
||||||
|
#
|
||||||
|
#message-list-split=
|
||||||
|
|
||||||
|
#
|
||||||
|
# Message to display when viewing an empty folder.
|
||||||
|
#
|
||||||
|
# Default: (no messages)
|
||||||
|
#empty-message=(no messages)
|
||||||
|
|
||||||
|
# Message to display when no folders exists or are all filtered
|
||||||
|
#
|
||||||
|
# Default: (no folders)
|
||||||
|
#empty-dirlist=(no folders)
|
||||||
|
#
|
||||||
|
# Value to set {{.Subject}} template to when subject is empty.
|
||||||
|
#
|
||||||
|
# Default: (no subject)
|
||||||
|
#empty-subject=(no subject)
|
||||||
|
|
||||||
|
# Enable mouse events in the ui, e.g. clicking and scrolling with the mousewheel
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#mouse-enabled=false
|
||||||
|
|
||||||
|
#
|
||||||
|
# Ring the bell when new messages are received
|
||||||
|
#
|
||||||
|
# Default: true
|
||||||
|
#new-message-bell=true
|
||||||
|
|
||||||
|
#
|
||||||
|
# Template to use for Account tab titles
|
||||||
|
#
|
||||||
|
# Default: {{.Account}}
|
||||||
|
#tab-title-account={{.Account}}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Template to use for Composer tab titles
|
||||||
|
#
|
||||||
|
# Default: {{if .To}}to:{{index (.To | shortmboxes) 0}} {{end}}{{.SubjectBase}}
|
||||||
|
#tab-title-composer={{if .To}}to:{{index (.To | shortmboxes) 0}} {{end}}{{.SubjectBase}}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Template to use for Message Viewer tab titles
|
||||||
|
#
|
||||||
|
# Default: {{.Subject}}
|
||||||
|
#tab-title-viewer={{.Subject}}
|
||||||
|
|
||||||
|
|
||||||
|
# Marker to show before a pinned tab's name.
|
||||||
|
#
|
||||||
|
# Default: `
|
||||||
|
#pinned-tab-marker='`'
|
||||||
|
|
||||||
|
# Template for the left side of the directory list.
|
||||||
|
# See aerc-templates(7) for all available fields and functions.
|
||||||
|
#
|
||||||
|
# Default: {{.Folder}}
|
||||||
|
#dirlist-left={{.Folder}}
|
||||||
|
|
||||||
|
# Template for the right side of the directory list.
|
||||||
|
# See aerc-templates(7) for all available fields and functions.
|
||||||
|
#
|
||||||
|
# Default: {{if .Unread}}{{humanReadable .Unread}}{{end}}
|
||||||
|
#dirlist-right={{if .Unread}}{{humanReadable .Unread}}{{end}}
|
||||||
|
|
||||||
|
# Delay after which the messages are actually listed when entering a directory.
|
||||||
|
# This avoids loading messages when skipping over folders and makes the UI more
|
||||||
|
# responsive. If you do not want that, set it to 0s.
|
||||||
|
#
|
||||||
|
# Default: 200ms
|
||||||
|
#dirlist-delay=200ms
|
||||||
|
|
||||||
|
# Display the directory list as a foldable tree that allows to collapse and
|
||||||
|
# expand the folders.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#dirlist-tree=false
|
||||||
|
|
||||||
|
# If dirlist-tree is enabled, set level at which folders are collapsed by
|
||||||
|
# default. Set to 0 to disable.
|
||||||
|
#
|
||||||
|
# Default: 0
|
||||||
|
#dirlist-collapse=0
|
||||||
|
|
||||||
|
# List of space-separated criteria to sort the messages by, see *sort*
|
||||||
|
# command in *aerc*(1) for reference. Prefixing a criterion with "-r "
|
||||||
|
# reverses that criterion.
|
||||||
|
#
|
||||||
|
# Example: "from -r date"
|
||||||
|
#
|
||||||
|
#sort=
|
||||||
|
|
||||||
|
# Moves to next message when the current message is deleted
|
||||||
|
#
|
||||||
|
# Default: true
|
||||||
|
#next-message-on-delete=true
|
||||||
|
|
||||||
|
# Automatically set the "seen" flag when a message is opened in the message
|
||||||
|
# viewer.
|
||||||
|
#
|
||||||
|
# Default: true
|
||||||
|
#auto-mark-read=true
|
||||||
|
|
||||||
|
# The directories where the stylesets are stored. It takes a colon-separated
|
||||||
|
# list of directories. If this is unset or if a styleset cannot be found, the
|
||||||
|
# following paths will be used as a fallback in that order:
|
||||||
|
#
|
||||||
|
# ${XDG_CONFIG_HOME:-~/.config}/aerc/stylesets
|
||||||
|
# ${XDG_DATA_HOME:-~/.local/share}/aerc/stylesets
|
||||||
|
# /usr/local/share/aerc/stylesets
|
||||||
|
# /usr/share/aerc/stylesets
|
||||||
|
#
|
||||||
|
#stylesets-dirs=
|
||||||
|
|
||||||
|
# Uncomment to use box-drawing characters for vertical and horizontal borders.
|
||||||
|
#
|
||||||
|
# Default: "│" and "─"
|
||||||
|
#border-char-vertical="│"
|
||||||
|
#border-char-horizontal="─"
|
||||||
|
|
||||||
|
# Sets the styleset to use for the aerc ui elements.
|
||||||
|
#
|
||||||
|
# Default: default
|
||||||
|
#styleset-name=default
|
||||||
|
|
||||||
|
# Activates fuzzy search in commands and their arguments: the typed string is
|
||||||
|
# searched in the command or option in any position, and need not be
|
||||||
|
# consecutive characters in the command or option.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
fuzzy-complete=true
|
||||||
|
|
||||||
|
# How long to wait after the last input before auto-completion is triggered.
|
||||||
|
#
|
||||||
|
# Default: 250ms
|
||||||
|
#completion-delay=250ms
|
||||||
|
|
||||||
|
# The minimum required characters to allow auto-completion to be triggered after
|
||||||
|
# completion-delay.
|
||||||
|
#
|
||||||
|
# Setting this to "manual" disables automatic completion, leaving only the
|
||||||
|
# manually triggered completion with the $complete key (see aerc-binds(5) for
|
||||||
|
# more details).
|
||||||
|
#
|
||||||
|
# Default: 1
|
||||||
|
#completion-min-chars=1
|
||||||
|
|
||||||
|
#
|
||||||
|
# Global switch for completion popovers
|
||||||
|
#
|
||||||
|
# Default: true
|
||||||
|
#completion-popovers=true
|
||||||
|
|
||||||
|
# Uncomment to use UTF-8 symbols to indicate PGP status of messages
|
||||||
|
#
|
||||||
|
# Default: ASCII
|
||||||
|
#icon-unencrypted=
|
||||||
|
#icon-encrypted=✔
|
||||||
|
#icon-signed=✔
|
||||||
|
#icon-signed-encrypted=✔
|
||||||
|
#icon-unknown=✘
|
||||||
|
#icon-invalid=⚠
|
||||||
|
|
||||||
|
# Reverses the order of the message list. By default, the message list is
|
||||||
|
# ordered with the newest (highest UID) message on top. Reversing the order
|
||||||
|
# will put the oldest (lowest UID) message on top. This can be useful in cases
|
||||||
|
# where the backend does not support sorting.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#reverse-msglist-order = false
|
||||||
|
|
||||||
|
# Reverse display of the message threads. Default order is the initial
|
||||||
|
# message is on the top with all the replies being displayed below. The
|
||||||
|
# reverse option will put the initial message at the bottom with the
|
||||||
|
# replies on top.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#reverse-thread-order=false
|
||||||
|
|
||||||
|
# Positions the cursor on the last message in the message list (at the
|
||||||
|
# bottom of the view) when opening a new folder.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#select-last-message=false
|
||||||
|
|
||||||
|
# Sort the thread siblings according to the sort criteria for the messages. If
|
||||||
|
# sort-thread-siblings is false, the thread siblings will be sorted based on
|
||||||
|
# the message UID in ascending order. This option is only applicable for
|
||||||
|
# client-side threading with a backend that enables sorting. Note that there's
|
||||||
|
# a performance impact when sorting is activated.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#sort-thread-siblings=false
|
||||||
|
|
||||||
|
# Set the scroll offset in number of lines from the top and bottom of the
|
||||||
|
# message list.
|
||||||
|
#
|
||||||
|
# Default: 0
|
||||||
|
#msglist-scroll-offset = 0
|
||||||
|
|
||||||
|
#
|
||||||
|
# Enable a threaded view of messages. If this is not supported by the backend
|
||||||
|
# (IMAP server or notmuch), threads will be built by the client.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#threading-enabled=false
|
||||||
|
|
||||||
|
# Force client-side thread building
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#force-client-threads=false
|
||||||
|
|
||||||
|
# If no References nor In-Reply-To headers can be matched to build client side
|
||||||
|
# threads, fallback to similar subjects.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#threading-by-subject=false
|
||||||
|
|
||||||
|
# Show thread context enables messages which do not match the current query (or
|
||||||
|
# belong to the current mailbox) to be shown for context. These messages can be
|
||||||
|
# styled separately using "msglist_thread_context" in a styleset. This feature
|
||||||
|
# is not supported by all backends
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#show-thread-context=false
|
||||||
|
|
||||||
|
# Debounce client-side thread building
|
||||||
|
#
|
||||||
|
# Default: 50ms
|
||||||
|
#client-threads-delay=50ms
|
||||||
|
|
||||||
|
#
|
||||||
|
# Thread prefix customization:
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the thread prefix appearance by selecting the arrow head.
|
||||||
|
#
|
||||||
|
# Default: ">"
|
||||||
|
#thread-prefix-tip = ">"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the thread prefix appearance by selecting the arrow indentation.
|
||||||
|
#
|
||||||
|
# Default: " "
|
||||||
|
#thread-prefix-indent = " "
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the thread prefix appearance by selecting the vertical extension of
|
||||||
|
# the arrow.
|
||||||
|
#
|
||||||
|
# Default: "│"
|
||||||
|
#thread-prefix-stem = "│"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the thread prefix appearance by selecting the horizontal extension
|
||||||
|
# of the arrow.
|
||||||
|
#
|
||||||
|
# Default: ""
|
||||||
|
#thread-prefix-limb = ""
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the thread prefix appearance by selecting the folded thread
|
||||||
|
# indicator.
|
||||||
|
#
|
||||||
|
# Default: "+"
|
||||||
|
#thread-prefix-folded = "+"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the thread prefix appearance by selecting the unfolded thread
|
||||||
|
# indicator.
|
||||||
|
#
|
||||||
|
# Default: ""
|
||||||
|
#thread-prefix-unfolded = ""
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the thread prefix appearance by selecting the first child connector.
|
||||||
|
#
|
||||||
|
# Default: ""
|
||||||
|
#thread-prefix-first-child = ""
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the thread prefix appearance by selecting the connector used if
|
||||||
|
# the message has siblings.
|
||||||
|
#
|
||||||
|
# Default: "├─"
|
||||||
|
#thread-prefix-has-siblings = "├─"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the thread prefix appearance by selecting the connector used if the
|
||||||
|
# message has no parents and no children.
|
||||||
|
#
|
||||||
|
# Default: ""
|
||||||
|
#thread-prefix-lone = ""
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the thread prefix appearance by selecting the connector used if the
|
||||||
|
# message has no parents and has children.
|
||||||
|
#
|
||||||
|
# Default: ""
|
||||||
|
#thread-prefix-orphan = ""
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the thread prefix appearance by selecting the connector for the last
|
||||||
|
# sibling.
|
||||||
|
#
|
||||||
|
# Default: "└─"
|
||||||
|
#thread-prefix-last-sibling = "└─"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the reversed thread prefix appearance by selecting the connector for
|
||||||
|
# the last sibling.
|
||||||
|
#
|
||||||
|
# Default: "┌─"
|
||||||
|
#thread-prefix-last-sibling-reverse = "┌─"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the thread prefix appearance by selecting the connector for dummy
|
||||||
|
# thread.
|
||||||
|
#
|
||||||
|
# Default: "┬─"
|
||||||
|
#thread-prefix-dummy = "┬─"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the reversed thread prefix appearance by selecting the connector for
|
||||||
|
# dummy thread.
|
||||||
|
#
|
||||||
|
# Default: "┴─"
|
||||||
|
#thread-prefix-dummy-reverse = "┴─"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the reversed thread prefix appearance by selecting the first child
|
||||||
|
# connector.
|
||||||
|
#
|
||||||
|
# Default: ""
|
||||||
|
#thread-prefix-first-child-reverse = ""
|
||||||
|
|
||||||
|
#
|
||||||
|
# Customize the reversed thread prefix appearance by selecting the connector
|
||||||
|
# used if the message has no parents and has children.
|
||||||
|
#
|
||||||
|
# Default: ""
|
||||||
|
#thread-prefix-orphan-reverse = ""
|
||||||
|
|
||||||
|
[statusline]
|
||||||
|
#
|
||||||
|
# Describes the format for the status line. This is a comma separated list of
|
||||||
|
# column names with an optional align and width suffix. See [ui].index-columns
|
||||||
|
# for more details. To completely mute the status line except for push
|
||||||
|
# notifications, explicitly set status-columns to an empty string.
|
||||||
|
#
|
||||||
|
# Default: left<*,center:=,right>*
|
||||||
|
#status-columns=left<*,center:=,right>*
|
||||||
|
|
||||||
|
#
|
||||||
|
# Each name in status-columns must have a corresponding column-$name setting.
|
||||||
|
# All column-$name settings accept golang text/template syntax. See
|
||||||
|
# aerc-templates(7) for available template attributes and functions.
|
||||||
|
#
|
||||||
|
# Default settings
|
||||||
|
#column-left=[{{.Account}}] {{.StatusInfo}}
|
||||||
|
#column-center={{.PendingKeys}}
|
||||||
|
#column-right={{.TrayInfo}} | {{cwd}}
|
||||||
|
|
||||||
|
#
|
||||||
|
# String separator inserted between columns.
|
||||||
|
# See [ui].column-separator for more details.
|
||||||
|
#
|
||||||
|
#column-separator=" "
|
||||||
|
|
||||||
|
# Specifies the separator between grouped statusline elements.
|
||||||
|
#
|
||||||
|
# Default: " | "
|
||||||
|
#separator=" | "
|
||||||
|
|
||||||
|
# Defines the mode for displaying the status elements.
|
||||||
|
# Options: text, icon
|
||||||
|
#
|
||||||
|
# Default: text
|
||||||
|
#display-mode=text
|
||||||
|
|
||||||
|
[viewer]
|
||||||
|
#
|
||||||
|
# Specifies the pager to use when displaying emails. Note that some filters
|
||||||
|
# may add ANSI codes to add color to rendered emails, so you may want to use a
|
||||||
|
# pager which supports ANSI codes.
|
||||||
|
#
|
||||||
|
# Default: less -Rc
|
||||||
|
pager=less -Rc
|
||||||
|
|
||||||
|
#
|
||||||
|
# If an email offers several versions (multipart), you can configure which
|
||||||
|
# mimetype to prefer. For example, this can be used to prefer plaintext over
|
||||||
|
# html emails.
|
||||||
|
#
|
||||||
|
# Default: text/plain,text/html
|
||||||
|
alternatives=text/html,text/plain
|
||||||
|
|
||||||
|
#
|
||||||
|
# Default setting to determine whether to show full headers or only parsed
|
||||||
|
# ones in message viewer.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#show-headers=false
|
||||||
|
|
||||||
|
#
|
||||||
|
# Layout of headers when viewing a message. To display multiple headers in the
|
||||||
|
# same row, separate them with a pipe, e.g. "From|To". Rows will be hidden if
|
||||||
|
# none of their specified headers are present in the message.
|
||||||
|
#
|
||||||
|
# Default: From|To,Cc|Bcc,Date,Subject
|
||||||
|
#header-layout=From|To,Cc|Bcc,Date,Subject
|
||||||
|
|
||||||
|
# Whether to always show the mimetype of an email, even when it is just a single part
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#always-show-mime=false
|
||||||
|
|
||||||
|
# Define the maximum height of the mimetype switcher before a scrollbar is used.
|
||||||
|
# The height of the mimetype switcher is restricted to half of the display
|
||||||
|
# height. If the provided value for the height is zero, the number of parts will
|
||||||
|
# be used as the height of the type switcher.
|
||||||
|
#
|
||||||
|
# Default: 0
|
||||||
|
#max-mime-height = 0
|
||||||
|
|
||||||
|
# Parses and extracts http links when viewing a message. Links can then be
|
||||||
|
# accessed with the open-link command.
|
||||||
|
#
|
||||||
|
# Default: true
|
||||||
|
#parse-http-links=true
|
||||||
|
|
||||||
|
[compose]
|
||||||
|
#
|
||||||
|
# Specifies the command to run the editor with. It will be shown in an embedded
|
||||||
|
# terminal, though it may also launch a graphical window if the environment
|
||||||
|
# supports it. Defaults to $EDITOR, or vi.
|
||||||
|
#editor=
|
||||||
|
|
||||||
|
#
|
||||||
|
# When set, aerc will create and read .eml files for composing that have
|
||||||
|
# non-standard \n linebreaks. This is only relevant if the used editor does not
|
||||||
|
# support CRLF linebreaks.
|
||||||
|
#
|
||||||
|
#lf-editor=false
|
||||||
|
|
||||||
|
#
|
||||||
|
# Default header fields to display when composing a message. To display
|
||||||
|
# multiple headers in the same row, separate them with a pipe, e.g. "To|From".
|
||||||
|
#
|
||||||
|
# Default: To|From,Subject
|
||||||
|
#header-layout=To|From,Subject
|
||||||
|
|
||||||
|
#
|
||||||
|
# Edit headers into the text editor instead than separate fields.
|
||||||
|
#
|
||||||
|
# When this is true, address-book-cmd is not supported and address completion
|
||||||
|
# is left to the editor itself. Also, displaying multiple headers on the same
|
||||||
|
# line is not possible.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#edit-headers=false
|
||||||
|
|
||||||
|
#
|
||||||
|
# Specifies the command to be used to tab-complete email addresses. Any
|
||||||
|
# occurrence of "%s" in the address-book-cmd will be replaced with what the
|
||||||
|
# user has typed so far.
|
||||||
|
#
|
||||||
|
# The command must output the completions to standard output, one completion
|
||||||
|
# per line. Each line must be tab-delimited, with an email address occurring as
|
||||||
|
# the first field. Only the email address field is required. The second field,
|
||||||
|
# if present, will be treated as the contact name. Additional fields are
|
||||||
|
# ignored.
|
||||||
|
#
|
||||||
|
# This parameter can also be set per account in accounts.conf.
|
||||||
|
#address-book-cmd=
|
||||||
|
|
||||||
|
# Specifies the command to be used to select attachments. Any occurrence of
|
||||||
|
# '%s' in the file-picker-cmd will be replaced with the argument <arg>
|
||||||
|
# to :attach -m <arg>. Any occurence of '%f' will be replaced by the
|
||||||
|
# location of a temporary file, from which aerc will read the selected files.
|
||||||
|
#
|
||||||
|
# If '%f' is not present, the command must output the selected files to
|
||||||
|
# standard output, one file per line. If it is present, then aerc does not
|
||||||
|
# capture the standard output and instead reads the files from the temporary
|
||||||
|
# file which should have the same format.
|
||||||
|
#file-picker-cmd=
|
||||||
|
|
||||||
|
#
|
||||||
|
# Allow to address yourself when replying
|
||||||
|
#
|
||||||
|
# Default: true
|
||||||
|
#reply-to-self=true
|
||||||
|
|
||||||
|
# Warn before sending an email with an empty subject.
|
||||||
|
#
|
||||||
|
# Default: false
|
||||||
|
#empty-subject-warning=false
|
||||||
|
|
||||||
|
#
|
||||||
|
# Warn before sending an email that matches the specified regexp but does not
|
||||||
|
# have any attachments. Leave empty to disable this feature.
|
||||||
|
#
|
||||||
|
# Uses Go's regexp syntax, documented at https://golang.org/s/re2syntax. The
|
||||||
|
# "(?im)" flags are set by default (case-insensitive and multi-line).
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# no-attachment-warning=^[^>]*attach(ed|ment)
|
||||||
|
#
|
||||||
|
#no-attachment-warning=
|
||||||
|
|
||||||
|
#
|
||||||
|
# When set, aerc will generate "format=flowed" bodies with a content type of
|
||||||
|
# "text/plain; format=flowed" as described in RFC3676. This format is easier to
|
||||||
|
# handle for some mailing software, and generally just looks like ordinary
|
||||||
|
# text. To actually make use of this format's features, you'll need support in
|
||||||
|
# your editor.
|
||||||
|
#
|
||||||
|
#format-flowed=false
|
||||||
|
|
||||||
|
[multipart-converters]
|
||||||
|
#
|
||||||
|
# Converters allow to generate multipart/alternative messages by converting the
|
||||||
|
# main text/plain part into any other MIME type. Only exact MIME types are
|
||||||
|
# accepted. The commands are invoked with sh -c and are expected to output
|
||||||
|
# valid UTF-8 text.
|
||||||
|
#
|
||||||
|
# Example (obviously, this requires that you write your main text/plain body
|
||||||
|
# using the markdown syntax):
|
||||||
|
#text/html=pandoc -f markdown -t html --standalone
|
||||||
|
|
||||||
|
[filters]
|
||||||
|
#
|
||||||
|
# Filters allow you to pipe an email body through a shell command to render
|
||||||
|
# certain emails differently, e.g. highlighting them with ANSI escape codes.
|
||||||
|
#
|
||||||
|
# The commands are invoked with sh -c. The following folders are prepended to
|
||||||
|
# the system $PATH to allow referencing filters from their name only:
|
||||||
|
#
|
||||||
|
# ${XDG_CONFIG_HOME:-~/.config}/aerc/filters
|
||||||
|
# ~/.local/libexec/aerc/filters
|
||||||
|
# ${XDG_DATA_HOME:-~/.local/share}/aerc/filters
|
||||||
|
# $PREFIX/libexec/aerc/filters
|
||||||
|
# $PREFIX/share/aerc/filters
|
||||||
|
# /usr/libexec/aerc/filters
|
||||||
|
# /usr/share/aerc/filters
|
||||||
|
#
|
||||||
|
# If you want to run a program in your default $PATH which has the same name
|
||||||
|
# as a builtin filter (e.g. /usr/bin/colorize), use its absolute path.
|
||||||
|
#
|
||||||
|
# The following variables are defined in the filter command environment:
|
||||||
|
#
|
||||||
|
# AERC_MIME_TYPE the part MIME type/subtype
|
||||||
|
# AERC_FORMAT the part content type format= parameter
|
||||||
|
# AERC_FILENAME the attachment filename (if any)
|
||||||
|
# AERC_SUBJECT the message Subject header value
|
||||||
|
# AERC_FROM the message From header value
|
||||||
|
#
|
||||||
|
# The first filter which matches the email's mimetype will be used, so order
|
||||||
|
# them from most to least specific.
|
||||||
|
#
|
||||||
|
# You can also match on non-mimetypes, by prefixing with the header to match
|
||||||
|
# against (non-case-sensitive) and a comma, e.g. subject,text will match a
|
||||||
|
# subject which contains "text". Use header,~regex to match against a regex.
|
||||||
|
#
|
||||||
|
text/plain=colorize
|
||||||
|
text/calendar=calendar
|
||||||
|
message/delivery-status=colorize
|
||||||
|
message/rfc822=colorize
|
||||||
|
text/html=cha -T text/html -d -o display.color-mode="true-color" -o buffer.mark-links=true
|
||||||
|
# text/html=! html-unsafe -sixel
|
||||||
|
#text/html=pandoc -f html -t plain | colorize
|
||||||
|
#text/html=html | colorize
|
||||||
|
#text/*=bat -fP --file-name="$AERC_FILENAME"
|
||||||
|
#application/x-sh=bat -fP -l sh
|
||||||
|
#image/*=catimg -w $(tput cols) -
|
||||||
|
#subject,~Git(hub|lab)=lolcat -f
|
||||||
|
#from,thatguywhodoesnothardwraphismessages=wrap -w 100 | colorize
|
||||||
|
|
||||||
|
# This special filter is only used to post-process email headers when
|
||||||
|
# [viewer].show-headers=true
|
||||||
|
# By default, headers are piped directly into the pager.
|
||||||
|
#
|
||||||
|
.headers=colorize
|
||||||
|
|
||||||
|
[openers]
|
||||||
|
#
|
||||||
|
# Openers allow you to specify the command to use for the :open and :open-link
|
||||||
|
# actions on a per-MIME-type basis. The :open-link URL scheme is used to
|
||||||
|
# determine the MIME type as follows: x-scheme-handler/<scheme>.
|
||||||
|
#
|
||||||
|
# {} is expanded as the temporary filename or URL to be opened with proper
|
||||||
|
# shell quoting. If it is not encountered in the command, the filename/URL will
|
||||||
|
# be appended to the end of the command. The command will then be executed with
|
||||||
|
# `sh -c`.
|
||||||
|
#
|
||||||
|
# Like [filters], openers support basic shell globbing. The first opener which
|
||||||
|
# matches the part's MIME type (or URL scheme handler MIME type) will be used,
|
||||||
|
# so order them from most to least specific.
|
||||||
|
#
|
||||||
|
# Examples:
|
||||||
|
# x-scheme-handler/irc=hexchat
|
||||||
|
# x-scheme-handler/http*=printf '%s' {} | wl-copy
|
||||||
|
# text/html=surf -dfgms
|
||||||
|
text/html=cha
|
||||||
|
# text/plain=gvim {} +125
|
||||||
|
# message/rfc822=thunderbird
|
||||||
|
|
||||||
|
[hooks]
|
||||||
|
#
|
||||||
|
# Hooks are triggered whenever the associated event occurs.
|
||||||
|
|
||||||
|
#
|
||||||
|
# Executed when a new email arrives in the selected folder
|
||||||
|
#mail-received=notify-send "[$AERC_ACCOUNT/$AERC_FOLDER] New mail from $AERC_FROM_NAME" "$AERC_SUBJECT"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Executed when mail is deleted from a folder
|
||||||
|
#mail-deleted=mbsync "$AERC_ACCOUNT:$AERC_FOLDER" &
|
||||||
|
|
||||||
|
#
|
||||||
|
# Executed when aerc adds mail to a folder
|
||||||
|
#mail-added=mbsync "$AERC_ACCOUNT:$AERC_FOLDER" &
|
||||||
|
|
||||||
|
#
|
||||||
|
# Executed when aerc starts
|
||||||
|
#aerc-startup=aerc :terminal calcurse && aerc :next-tab
|
||||||
|
|
||||||
|
#
|
||||||
|
# Executed when aerc shuts down.
|
||||||
|
#aerc-shutdown=
|
||||||
|
|
||||||
|
#
|
||||||
|
# Executed when notmuch tags are modified.
|
||||||
|
#tag-modified=
|
||||||
|
|
||||||
|
#
|
||||||
|
# Executed when flags are changed on a message.
|
||||||
|
#flag-changed=mbsync "$AERC_ACCOUNT:$AERC_FOLDER" &
|
||||||
|
|
||||||
|
[templates]
|
||||||
|
# Templates are used to populate email bodies automatically.
|
||||||
|
#
|
||||||
|
|
||||||
|
# The directories where the templates are stored. It takes a colon-separated
|
||||||
|
# list of directories. If this is unset or if a template cannot be found, the
|
||||||
|
# following paths will be used as a fallback in that order:
|
||||||
|
#
|
||||||
|
# ${XDG_CONFIG_HOME:-~/.config}/aerc/templates
|
||||||
|
# ${XDG_DATA_HOME:-~/.local/share}/aerc/templates
|
||||||
|
# /usr/local/share/aerc/templates
|
||||||
|
# /usr/share/aerc/templates
|
||||||
|
#
|
||||||
|
#template-dirs=
|
||||||
|
|
||||||
|
# The default template to be used for new messages.
|
||||||
|
#
|
||||||
|
# default: new_message
|
||||||
|
#new-message=new_message
|
||||||
|
|
||||||
|
# The default template to be used for quoted replies.
|
||||||
|
#
|
||||||
|
# default: quoted_reply
|
||||||
|
#quoted-reply=quoted_reply
|
||||||
|
|
||||||
|
# The default template to be used for forward as body.
|
||||||
|
#
|
||||||
|
# default: forward_as_body
|
||||||
|
#forwards=forward_as_body
|
||||||
184
config/.config/aerc/binds.conf
Normal file
184
config/.config/aerc/binds.conf
Normal file
@@ -0,0 +1,184 @@
|
|||||||
|
# Binds are of the form <key sequence> = <command to run>
|
||||||
|
# To use '=' in a key sequence, substitute it with "Eq": "<Ctrl+Eq>"
|
||||||
|
# If you wish to bind #, you can wrap the key sequence in quotes: "#" = quit
|
||||||
|
<C-p> = :prev-tab<Enter>
|
||||||
|
<C-PgUp> = :prev-tab<Enter>
|
||||||
|
<C-n> = :next-tab<Enter>
|
||||||
|
<C-PgDn> = :next-tab<Enter>
|
||||||
|
\[t = :prev-tab<Enter>
|
||||||
|
\]t = :next-tab<Enter>
|
||||||
|
<C-t> = :term<Enter>
|
||||||
|
? = :help keys<Enter>
|
||||||
|
<C-c> = :prompt 'Quit?' quit<Enter>
|
||||||
|
<C-q> = :prompt 'Quit?' quit<Enter>
|
||||||
|
<C-z> = :suspend<Enter>
|
||||||
|
|
||||||
|
[messages]
|
||||||
|
q = :prompt 'Quit?' quit<Enter>
|
||||||
|
|
||||||
|
j = :next<Enter>
|
||||||
|
<Down> = :next<Enter>
|
||||||
|
<C-d> = :next 50%<Enter>
|
||||||
|
<C-f> = :next 100%<Enter>
|
||||||
|
<PgDn> = :next 100%<Enter>
|
||||||
|
|
||||||
|
k = :prev<Enter>
|
||||||
|
<Up> = :prev<Enter>
|
||||||
|
<C-u> = :prev 50%<Enter>
|
||||||
|
<C-b> = :prev 100%<Enter>
|
||||||
|
<PgUp> = :prev 100%<Enter>
|
||||||
|
g = :select 0<Enter>
|
||||||
|
G = :select -1<Enter>
|
||||||
|
|
||||||
|
J = :next-folder<Enter>
|
||||||
|
<C-Down> = :next-folder<Enter>
|
||||||
|
K = :prev-folder<Enter>
|
||||||
|
<C-Up> = :prev-folder<Enter>
|
||||||
|
H = :collapse-folder<Enter>
|
||||||
|
<C-Left> = :collapse-folder<Enter>
|
||||||
|
L = :expand-folder<Enter>
|
||||||
|
<C-Right> = :expand-folder<Enter>
|
||||||
|
|
||||||
|
v = :mark -t<Enter>
|
||||||
|
<Space> = :mark -t<Enter>:next<Enter>
|
||||||
|
V = :mark -v<Enter>
|
||||||
|
|
||||||
|
T = :toggle-threads<Enter>
|
||||||
|
zc = :fold<Enter>
|
||||||
|
zo = :unfold<Enter>
|
||||||
|
za = :fold -t<Enter>
|
||||||
|
zM = :fold -a<Enter>
|
||||||
|
zR = :unfold -a<Enter>
|
||||||
|
<tab> = :fold -t<Enter>
|
||||||
|
|
||||||
|
zz = :align center<Enter>
|
||||||
|
zt = :align top<Enter>
|
||||||
|
zb = :align bottom<Enter>
|
||||||
|
|
||||||
|
<Enter> = :view<Enter>
|
||||||
|
d = :choose -o y 'Really delete this message' delete-message<Enter>
|
||||||
|
D = :delete<Enter>
|
||||||
|
a = :archive flat<Enter>
|
||||||
|
A = :unmark -a<Enter>:mark -T<Enter>:archive flat<Enter>
|
||||||
|
|
||||||
|
C = :compose<Enter>
|
||||||
|
m = :compose<Enter>
|
||||||
|
|
||||||
|
b = :bounce<space>
|
||||||
|
|
||||||
|
rr = :reply -a<Enter>
|
||||||
|
rq = :reply -aq<Enter>
|
||||||
|
Rr = :reply<Enter>
|
||||||
|
Rq = :reply -q<Enter>
|
||||||
|
|
||||||
|
c = :cf<space>
|
||||||
|
$ = :term<space>
|
||||||
|
! = :term<space>
|
||||||
|
| = :pipe<space>
|
||||||
|
|
||||||
|
/ = :search<space>
|
||||||
|
\ = :filter<space>
|
||||||
|
n = :next-result<Enter>
|
||||||
|
N = :prev-result<Enter>
|
||||||
|
<Esc> = :clear<Enter>
|
||||||
|
|
||||||
|
s = :split<Enter>
|
||||||
|
S = :vsplit<Enter>
|
||||||
|
|
||||||
|
pl = :patch list<Enter>
|
||||||
|
pa = :patch apply <Tab>
|
||||||
|
pd = :patch drop <Tab>
|
||||||
|
pb = :patch rebase<Enter>
|
||||||
|
pt = :patch term<Enter>
|
||||||
|
ps = :patch switch <Tab>
|
||||||
|
|
||||||
|
[messages:folder=Drafts]
|
||||||
|
<Enter> = :recall<Enter>
|
||||||
|
|
||||||
|
[view]
|
||||||
|
/ = :toggle-key-passthrough<Enter>/
|
||||||
|
q = :close<Enter>
|
||||||
|
O = :open<Enter>
|
||||||
|
o = :open<Enter>
|
||||||
|
S = :save<space>
|
||||||
|
| = :pipe<space>
|
||||||
|
D = :delete<Enter>
|
||||||
|
A = :archive flat<Enter>
|
||||||
|
|
||||||
|
<C-l> = :open-link <space>
|
||||||
|
|
||||||
|
f = :forward<Enter>
|
||||||
|
rr = :reply -a<Enter>
|
||||||
|
rq = :reply -aq<Enter>
|
||||||
|
Rr = :reply<Enter>
|
||||||
|
Rq = :reply -q<Enter>
|
||||||
|
|
||||||
|
H = :toggle-headers<Enter>
|
||||||
|
<C-k> = :prev-part<Enter>
|
||||||
|
<C-Up> = :prev-part<Enter>
|
||||||
|
<C-j> = :next-part<Enter>
|
||||||
|
<C-Down> = :next-part<Enter>
|
||||||
|
J = :next<Enter>
|
||||||
|
<C-Right> = :next<Enter>
|
||||||
|
K = :prev<Enter>
|
||||||
|
<C-Left> = :prev<Enter>
|
||||||
|
|
||||||
|
[view::passthrough]
|
||||||
|
$noinherit = true
|
||||||
|
$ex = <C-x>
|
||||||
|
<Esc> = :toggle-key-passthrough<Enter>
|
||||||
|
|
||||||
|
[compose]
|
||||||
|
# Keybindings used when the embedded terminal is not selected in the compose
|
||||||
|
# view
|
||||||
|
$noinherit = true
|
||||||
|
$ex = <C-x>
|
||||||
|
$complete = <C-o>
|
||||||
|
<C-k> = :prev-field<Enter>
|
||||||
|
<C-Up> = :prev-field<Enter>
|
||||||
|
<C-j> = :next-field<Enter>
|
||||||
|
<C-Down> = :next-field<Enter>
|
||||||
|
<A-p> = :switch-account -p<Enter>
|
||||||
|
<C-Left> = :switch-account -p<Enter>
|
||||||
|
<A-n> = :switch-account -n<Enter>
|
||||||
|
<C-Right> = :switch-account -n<Enter>
|
||||||
|
<tab> = :next-field<Enter>
|
||||||
|
<backtab> = :prev-field<Enter>
|
||||||
|
<C-p> = :prev-tab<Enter>
|
||||||
|
<C-PgUp> = :prev-tab<Enter>
|
||||||
|
<C-n> = :next-tab<Enter>
|
||||||
|
<C-PgDn> = :next-tab<Enter>
|
||||||
|
|
||||||
|
[compose::editor]
|
||||||
|
# Keybindings used when the embedded terminal is selected in the compose view
|
||||||
|
$noinherit = true
|
||||||
|
$ex = <C-x>
|
||||||
|
<C-k> = :prev-field<Enter>
|
||||||
|
<C-Up> = :prev-field<Enter>
|
||||||
|
<C-j> = :next-field<Enter>
|
||||||
|
<C-Down> = :next-field<Enter>
|
||||||
|
<C-p> = :prev-tab<Enter>
|
||||||
|
<C-PgUp> = :prev-tab<Enter>
|
||||||
|
<C-n> = :next-tab<Enter>
|
||||||
|
<C-PgDn> = :next-tab<Enter>
|
||||||
|
|
||||||
|
[compose::review]
|
||||||
|
# Keybindings used when reviewing a message to be sent
|
||||||
|
# Inline comments are used as descriptions on the review screen
|
||||||
|
y = :send<Enter> # Send
|
||||||
|
n = :abort<Enter> # Abort (discard message, no confirmation)
|
||||||
|
v = :preview<Enter> # Preview message
|
||||||
|
p = :postpone<Enter> # Postpone
|
||||||
|
q = :choose -o d discard abort -o p postpone postpone<Enter> # Abort or postpone
|
||||||
|
e = :edit<Enter> # Edit
|
||||||
|
a = :attach<space> # Add attachment
|
||||||
|
d = :detach<space> # Remove attachment
|
||||||
|
|
||||||
|
[terminal]
|
||||||
|
$noinherit = true
|
||||||
|
$ex = <C-x>
|
||||||
|
|
||||||
|
<C-p> = :prev-tab<Enter>
|
||||||
|
<C-n> = :next-tab<Enter>
|
||||||
|
<C-PgUp> = :prev-tab<Enter>
|
||||||
|
<C-PgDn> = :next-tab<Enter>
|
||||||
12
config/.config/alacritty/alacritty.toml
Normal file
12
config/.config/alacritty/alacritty.toml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
[general]
|
||||||
|
import = ["rose-pine.toml"]
|
||||||
|
|
||||||
|
[window]
|
||||||
|
opacity = 1
|
||||||
|
|
||||||
|
[font]
|
||||||
|
size = 14
|
||||||
|
|
||||||
|
[font.normal]
|
||||||
|
family = "Iosevka Term SS12"
|
||||||
|
style = "Regular"
|
||||||
191
config/.config/alacritty/alacritty.yml
Normal file
191
config/.config/alacritty/alacritty.yml
Normal file
@@ -0,0 +1,191 @@
|
|||||||
|
font:
|
||||||
|
normal:
|
||||||
|
family: Cascadia Code
|
||||||
|
style: Regular
|
||||||
|
|
||||||
|
bold:
|
||||||
|
family: Cascadia Code
|
||||||
|
style: Bold
|
||||||
|
|
||||||
|
italic:
|
||||||
|
family: Cascadia Code
|
||||||
|
style: Italic
|
||||||
|
|
||||||
|
bold_italic:
|
||||||
|
family: Cascadia Code
|
||||||
|
style: Bold Italic
|
||||||
|
|
||||||
|
size: 12
|
||||||
|
|
||||||
|
# draw_bold_text_with_bright_colors: true
|
||||||
|
# shell:
|
||||||
|
# program: /bin/zsh
|
||||||
|
# args:
|
||||||
|
# - --login
|
||||||
|
# - -c
|
||||||
|
# - 'tmux attach -t TMUX || tmux new -s TMUX'
|
||||||
|
# ...
|
||||||
|
|
||||||
|
# Colors (One Half Dark)
|
||||||
|
# colors:
|
||||||
|
# primary:
|
||||||
|
# background: '0x282c34'
|
||||||
|
# foreground: '0xdcdfe4'
|
||||||
|
|
||||||
|
# normal:
|
||||||
|
# black: '0x282c34'
|
||||||
|
# red: '0xe06c75'
|
||||||
|
# green: '0x98c379'
|
||||||
|
# yellow: '0xe5c07b'
|
||||||
|
# blue: '0x61afef'
|
||||||
|
# magenta: '0xc678dd'
|
||||||
|
# cyan: '0x56b6c2'
|
||||||
|
# white: '0xdcdfe4'
|
||||||
|
|
||||||
|
# bright:
|
||||||
|
# black: '0x282c34'
|
||||||
|
# red: '0xe06c75'
|
||||||
|
# green: '0x98c379'
|
||||||
|
# yellow: '0xe5c07b'
|
||||||
|
# blue: '0x61afef'
|
||||||
|
# magenta: '0xc678dd'
|
||||||
|
# cyan: '0x56b6c2'
|
||||||
|
# white: '0xdcdfe4'
|
||||||
|
|
||||||
|
|
||||||
|
# Colors (One Half Light)
|
||||||
|
#colors:
|
||||||
|
# primary:
|
||||||
|
# background: '0xfafafa'
|
||||||
|
# foreground: '0x383a42'
|
||||||
|
#
|
||||||
|
# normal:
|
||||||
|
# black: '0x383a42'
|
||||||
|
# red: '0xe45649'
|
||||||
|
# green: '0x50a14f'
|
||||||
|
# yellow: '0xc18401'
|
||||||
|
# blue: '0x0184bc'
|
||||||
|
# magenta: '0xa626a4'
|
||||||
|
# cyan: '0x0997b3'
|
||||||
|
# white: '0xfafafa'
|
||||||
|
#
|
||||||
|
# bright:
|
||||||
|
# black: '0x383a42'
|
||||||
|
# red: '0xe45649'
|
||||||
|
# green: '0x50a14f'
|
||||||
|
# yellow: '0xc18401'
|
||||||
|
# blue: '0x0184bc'
|
||||||
|
# magenta: '0xa626a4'
|
||||||
|
# cyan: '0x0997b3'
|
||||||
|
# white: '0xfafafa'
|
||||||
|
|
||||||
|
|
||||||
|
# Colors (Dracula)
|
||||||
|
# colors:
|
||||||
|
# primary:
|
||||||
|
# background: '0x282a36'
|
||||||
|
# foreground: '0xf8f8f2'
|
||||||
|
# cursor:
|
||||||
|
# text: CellBackground
|
||||||
|
# cursor: CellForeground
|
||||||
|
# vi_mode_cursor:
|
||||||
|
# text: CellBackground
|
||||||
|
# cursor: CellForeground
|
||||||
|
# search:
|
||||||
|
# matches:
|
||||||
|
# foreground: '0x44475a'
|
||||||
|
# background: '0x50fa7b'
|
||||||
|
# focused_match:
|
||||||
|
# foreground: '0x44475a'
|
||||||
|
# background: '0xffb86c'
|
||||||
|
# bar:
|
||||||
|
# background: '0x282a36'
|
||||||
|
# foreground: '0xf8f8f2'
|
||||||
|
# line_indicator:
|
||||||
|
# foreground: None
|
||||||
|
# background: None
|
||||||
|
# selection:
|
||||||
|
# text: CellForeground
|
||||||
|
# background: '0x44475a'
|
||||||
|
# normal:
|
||||||
|
# black: '0x000000'
|
||||||
|
# red: '0xff5555'
|
||||||
|
# green: '0x50fa7b'
|
||||||
|
# yellow: '0xf1fa8c'
|
||||||
|
# blue: '0xbd93f9'
|
||||||
|
# magenta: '0xff79c6'
|
||||||
|
# cyan: '0x8be9fd'
|
||||||
|
# white: '0xbfbfbf'
|
||||||
|
# bright:
|
||||||
|
# black: '0x4d4d4d'
|
||||||
|
# red: '0xff6e67'
|
||||||
|
# green: '0x5af78e'
|
||||||
|
# yellow: '0xf4f99d'
|
||||||
|
# blue: '0xcaa9fa'
|
||||||
|
# magenta: '0xff92d0'
|
||||||
|
# cyan: '0x9aedfe'
|
||||||
|
# white: '0xe6e6e6'
|
||||||
|
# dim:
|
||||||
|
# black: '0x14151b'
|
||||||
|
# red: '0xff2222'
|
||||||
|
# green: '0x1ef956'
|
||||||
|
# yellow: '0xebf85b'
|
||||||
|
# blue: '0x4d5b86'
|
||||||
|
# magenta: '0xff46b0'
|
||||||
|
# cyan: '0x59dffc'
|
||||||
|
# white: '0xe6e6d1'
|
||||||
|
|
||||||
|
|
||||||
|
# Colors (Nord)
|
||||||
|
#colors:
|
||||||
|
# primary:
|
||||||
|
# background: '#2e3440'
|
||||||
|
# foreground: '#d8dee9'
|
||||||
|
# dim_foreground: '#a5abb6'
|
||||||
|
# cursor:
|
||||||
|
# text: '#2e3440'
|
||||||
|
# cursor: '#d8dee9'
|
||||||
|
# vi_mode_cursor:
|
||||||
|
# text: '#2e3440'
|
||||||
|
# cursor: '#d8dee9'
|
||||||
|
# selection:
|
||||||
|
# text: CellForeground
|
||||||
|
# background: '#4c566a'
|
||||||
|
# search:
|
||||||
|
# matches:
|
||||||
|
# foreground: CellBackground
|
||||||
|
# background: '#88c0d0'
|
||||||
|
# bar:
|
||||||
|
# background: '#434c5e'
|
||||||
|
# foreground: '#d8dee9'
|
||||||
|
# normal:
|
||||||
|
# black: '#3b4252'
|
||||||
|
# red: '#bf616a'
|
||||||
|
# green: '#a3be8c'
|
||||||
|
# yellow: '#ebcb8b'
|
||||||
|
# blue: '#81a1c1'
|
||||||
|
# magenta: '#b48ead'
|
||||||
|
# cyan: '#88c0d0'
|
||||||
|
# white: '#e5e9f0'
|
||||||
|
# bright:
|
||||||
|
# black: '#4c566a'
|
||||||
|
# red: '#bf616a'
|
||||||
|
# green: '#a3be8c'
|
||||||
|
# yellow: '#ebcb8b'
|
||||||
|
# blue: '#81a1c1'
|
||||||
|
# magenta: '#b48ead'
|
||||||
|
# cyan: '#8fbcbb'
|
||||||
|
# white: '#eceff4'
|
||||||
|
# dim:
|
||||||
|
# black: '#373e4d'
|
||||||
|
# red: '#94545d'
|
||||||
|
# green: '#809575'
|
||||||
|
# yellow: '#b29e75'
|
||||||
|
# blue: '#68809a'
|
||||||
|
# magenta: '#8c738c'
|
||||||
|
# cyan: '#6d96a5'
|
||||||
|
# white: '#aeb3bb'
|
||||||
|
|
||||||
|
# Visual Bell
|
||||||
|
# ...
|
||||||
|
# background_opacity: 0.90
|
||||||
37
config/.config/alacritty/colors
Normal file
37
config/.config/alacritty/colors
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# Base16 Monokai - alacritty color config
|
||||||
|
# Wimer Hazenberg (http://www.monokai.nl)
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
draw_bold_text_with_bright_colors = false
|
||||||
|
|
||||||
|
# Default colors
|
||||||
|
[colors.primary]
|
||||||
|
background = '0x272822'
|
||||||
|
foreground = '0xf8f8f2'
|
||||||
|
|
||||||
|
# Colors the cursor will use if `custom_cursor_colors` is true
|
||||||
|
[colors.cursor]
|
||||||
|
text = '0x272822'
|
||||||
|
cursor = '0xf8f8f2'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
[colors.normal]
|
||||||
|
black = '0x272822'
|
||||||
|
red = '0xf92672'
|
||||||
|
green = '0xa6e22e'
|
||||||
|
yellow = '0xf4bf75'
|
||||||
|
blue = '0x66d9ef'
|
||||||
|
magenta = '0xae81ff'
|
||||||
|
cyan = '0xa1efe4'
|
||||||
|
white = '0xf8f8f2'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
[colors.bright]
|
||||||
|
black = '0x75715e'
|
||||||
|
red = '0xfd971f'
|
||||||
|
green = '0x383830'
|
||||||
|
yellow = '0x49483e'
|
||||||
|
blue = '0xa59f85'
|
||||||
|
magenta = '0xf5f4f1'
|
||||||
|
cyan = '0xcc6633'
|
||||||
|
white = '0xf9f8f5'
|
||||||
58
config/.config/alacritty/nord.toml
Normal file
58
config/.config/alacritty/nord.toml
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
# TOML interpretation of the https://github.com/nordtheme/alacritty
|
||||||
|
# See also: https://github.com/nordtheme/alacritty/issues/40
|
||||||
|
# (if the above is resolved, you may not need this Gist)
|
||||||
|
|
||||||
|
[colors.primary]
|
||||||
|
background = "#2e3440"
|
||||||
|
foreground = "#d8dee9"
|
||||||
|
dim_foreground = "#a5abb6"
|
||||||
|
|
||||||
|
[colors.cursor]
|
||||||
|
text = "#2e3440"
|
||||||
|
cursor = "#d8dee9"
|
||||||
|
|
||||||
|
[colors.vi_mode_cursor]
|
||||||
|
text = "#2e3440"
|
||||||
|
cursor = "#d8dee9"
|
||||||
|
|
||||||
|
[colors.selection]
|
||||||
|
text = "CellForeground"
|
||||||
|
background = "#4c566a"
|
||||||
|
|
||||||
|
[colors.search.matches]
|
||||||
|
foreground = "CellBackground"
|
||||||
|
background = "#88c0d0"
|
||||||
|
|
||||||
|
[colors.footer_bar]
|
||||||
|
background = "#434c5e"
|
||||||
|
foreground = "#d8dee9"
|
||||||
|
|
||||||
|
[colors.normal]
|
||||||
|
black = "#3b4252"
|
||||||
|
red = "#bf616a"
|
||||||
|
green = "#a3be8c"
|
||||||
|
yellow = "#ebcb8b"
|
||||||
|
blue = "#81a1c1"
|
||||||
|
magenta = "#b48ead"
|
||||||
|
cyan = "#88c0d0"
|
||||||
|
white = "#e5e9f0"
|
||||||
|
|
||||||
|
[colors.bright]
|
||||||
|
black = "#4c566a"
|
||||||
|
red = "#bf616a"
|
||||||
|
green = "#a3be8c"
|
||||||
|
yellow = "#ebcb8b"
|
||||||
|
blue = "#81a1c1"
|
||||||
|
magenta = "#b48ead"
|
||||||
|
cyan = "#8fbcbb"
|
||||||
|
white = "#eceff4"
|
||||||
|
|
||||||
|
[colors.dim]
|
||||||
|
black = "#373e4d"
|
||||||
|
red = "#94545d"
|
||||||
|
green = "#809575"
|
||||||
|
yellow = "#b29e75"
|
||||||
|
blue = "#68809a"
|
||||||
|
magenta = "#8c738c"
|
||||||
|
cyan = "#6d96a5"
|
||||||
|
white = "#aeb3bb"
|
||||||
51
config/.config/alacritty/nord.yaml
Normal file
51
config/.config/alacritty/nord.yaml
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
# Copyright (c) 2016-present Sven Greb <development@svengreb.de>
|
||||||
|
# This source code is licensed under the MIT license found in the license file.
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary:
|
||||||
|
background: "#2e3440"
|
||||||
|
foreground: "#d8dee9"
|
||||||
|
dim_foreground: "#a5abb6"
|
||||||
|
cursor:
|
||||||
|
text: "#2e3440"
|
||||||
|
cursor: "#d8dee9"
|
||||||
|
vi_mode_cursor:
|
||||||
|
text: "#2e3440"
|
||||||
|
cursor: "#d8dee9"
|
||||||
|
selection:
|
||||||
|
text: CellForeground
|
||||||
|
background: "#4c566a"
|
||||||
|
search:
|
||||||
|
matches:
|
||||||
|
foreground: CellBackground
|
||||||
|
background: "#88c0d0"
|
||||||
|
bar:
|
||||||
|
background: "#434c5e"
|
||||||
|
foreground: "#d8dee9"
|
||||||
|
normal:
|
||||||
|
black: "#3b4252"
|
||||||
|
red: "#bf616a"
|
||||||
|
green: "#a3be8c"
|
||||||
|
yellow: "#ebcb8b"
|
||||||
|
blue: "#81a1c1"
|
||||||
|
magenta: "#b48ead"
|
||||||
|
cyan: "#88c0d0"
|
||||||
|
white: "#e5e9f0"
|
||||||
|
bright:
|
||||||
|
black: "#4c566a"
|
||||||
|
red: "#bf616a"
|
||||||
|
green: "#a3be8c"
|
||||||
|
yellow: "#ebcb8b"
|
||||||
|
blue: "#81a1c1"
|
||||||
|
magenta: "#b48ead"
|
||||||
|
cyan: "#8fbcbb"
|
||||||
|
white: "#eceff4"
|
||||||
|
dim:
|
||||||
|
black: "#373e4d"
|
||||||
|
red: "#94545d"
|
||||||
|
green: "#809575"
|
||||||
|
yellow: "#b29e75"
|
||||||
|
blue: "#68809a"
|
||||||
|
magenta: "#8c738c"
|
||||||
|
cyan: "#6d96a5"
|
||||||
|
white: "#aeb3bb"
|
||||||
75
config/.config/alacritty/rose-pine-dawn.toml
Normal file
75
config/.config/alacritty/rose-pine-dawn.toml
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
# Colors section of "Alacritty - TOML configuration file format"
|
||||||
|
# https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd#colors
|
||||||
|
|
||||||
|
[colors.primary]
|
||||||
|
foreground = "#575279"
|
||||||
|
background = "#faf4ed"
|
||||||
|
dim_foreground = "#797593"
|
||||||
|
bright_foreground = "#575279"
|
||||||
|
|
||||||
|
[colors.cursor]
|
||||||
|
text = "#575279"
|
||||||
|
cursor = "#cecacd"
|
||||||
|
|
||||||
|
[colors.vi_mode_cursor]
|
||||||
|
text = "#575279"
|
||||||
|
cursor = "#cecacd"
|
||||||
|
|
||||||
|
[colors.search.matches]
|
||||||
|
foreground = "#797593"
|
||||||
|
background = "#f2e9e1"
|
||||||
|
|
||||||
|
[colors.search.focused_match]
|
||||||
|
foreground = "#faf4ed"
|
||||||
|
background = "#d7827e"
|
||||||
|
|
||||||
|
[colors.hints.start]
|
||||||
|
foreground = "#797593"
|
||||||
|
background = "#fffaf3"
|
||||||
|
|
||||||
|
[colors.hints.end]
|
||||||
|
foreground = "#9893a5"
|
||||||
|
background = "#fffaf3"
|
||||||
|
|
||||||
|
[colors.line_indicator]
|
||||||
|
foreground = "None"
|
||||||
|
background = "None"
|
||||||
|
|
||||||
|
[colors.footer_bar]
|
||||||
|
foreground = "#575279"
|
||||||
|
background = "#fffaf3"
|
||||||
|
|
||||||
|
[colors.selection]
|
||||||
|
text = "#575279"
|
||||||
|
background = "#dfdad9"
|
||||||
|
|
||||||
|
[colors.normal]
|
||||||
|
black = "#f2e9e1"
|
||||||
|
red = "#b4637a"
|
||||||
|
green = "#286983"
|
||||||
|
yellow = "#ea9d34"
|
||||||
|
blue = "#56949f"
|
||||||
|
magenta = "#907aa9"
|
||||||
|
cyan = "#d7827e"
|
||||||
|
white = "#575279"
|
||||||
|
|
||||||
|
[colors.bright]
|
||||||
|
black = "#9893a5"
|
||||||
|
red = "#b4637a"
|
||||||
|
green = "#286983"
|
||||||
|
yellow = "#ea9d34"
|
||||||
|
blue = "#56949f"
|
||||||
|
magenta = "#907aa9"
|
||||||
|
cyan = "#d7827e"
|
||||||
|
white = "#575279"
|
||||||
|
|
||||||
|
[colors.dim]
|
||||||
|
black = "#9893a5"
|
||||||
|
red = "#b4637a"
|
||||||
|
green = "#286983"
|
||||||
|
yellow = "#ea9d34"
|
||||||
|
blue = "#56949f"
|
||||||
|
magenta = "#907aa9"
|
||||||
|
cyan = "#d7827e"
|
||||||
|
white = "#575279"
|
||||||
|
|
||||||
75
config/.config/alacritty/rose-pine-moon.toml
Normal file
75
config/.config/alacritty/rose-pine-moon.toml
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
# Colors section of "Alacritty - TOML configuration file format"
|
||||||
|
# https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd#colors
|
||||||
|
|
||||||
|
[colors.primary]
|
||||||
|
foreground = "#e0def4"
|
||||||
|
background = "#232136"
|
||||||
|
dim_foreground = "#908caa"
|
||||||
|
bright_foreground = "#e0def4"
|
||||||
|
|
||||||
|
[colors.cursor]
|
||||||
|
text = "#e0def4"
|
||||||
|
cursor = "#56526e"
|
||||||
|
|
||||||
|
[colors.vi_mode_cursor]
|
||||||
|
text = "#e0def4"
|
||||||
|
cursor = "#56526e"
|
||||||
|
|
||||||
|
[colors.search.matches]
|
||||||
|
foreground = "#908caa"
|
||||||
|
background = "#393552"
|
||||||
|
|
||||||
|
[colors.search.focused_match]
|
||||||
|
foreground = "#232136"
|
||||||
|
background = "#ea9a97"
|
||||||
|
|
||||||
|
[colors.hints.start]
|
||||||
|
foreground = "#908caa"
|
||||||
|
background = "#2a273f"
|
||||||
|
|
||||||
|
[colors.hints.end]
|
||||||
|
foreground = "#6e6a86"
|
||||||
|
background = "#2a273f"
|
||||||
|
|
||||||
|
[colors.line_indicator]
|
||||||
|
foreground = "None"
|
||||||
|
background = "None"
|
||||||
|
|
||||||
|
[colors.footer_bar]
|
||||||
|
foreground = "#e0def4"
|
||||||
|
background = "#2a273f"
|
||||||
|
|
||||||
|
[colors.selection]
|
||||||
|
text = "#e0def4"
|
||||||
|
background = "#44415a"
|
||||||
|
|
||||||
|
[colors.normal]
|
||||||
|
black = "#393552"
|
||||||
|
red = "#eb6f92"
|
||||||
|
green = "#3e8fb0"
|
||||||
|
yellow = "#f6c177"
|
||||||
|
blue = "#9ccfd8"
|
||||||
|
magenta = "#c4a7e7"
|
||||||
|
cyan = "#ea9a97"
|
||||||
|
white = "#e0def4"
|
||||||
|
|
||||||
|
[colors.bright]
|
||||||
|
black = "#6e6a86"
|
||||||
|
red = "#eb6f92"
|
||||||
|
green = "#3e8fb0"
|
||||||
|
yellow = "#f6c177"
|
||||||
|
blue = "#9ccfd8"
|
||||||
|
magenta = "#c4a7e7"
|
||||||
|
cyan = "#ea9a97"
|
||||||
|
white = "#e0def4"
|
||||||
|
|
||||||
|
[colors.dim]
|
||||||
|
black = "#6e6a86"
|
||||||
|
red = "#eb6f92"
|
||||||
|
green = "#3e8fb0"
|
||||||
|
yellow = "#f6c177"
|
||||||
|
blue = "#9ccfd8"
|
||||||
|
magenta = "#c4a7e7"
|
||||||
|
cyan = "#ea9a97"
|
||||||
|
white = "#e0def4"
|
||||||
|
|
||||||
75
config/.config/alacritty/rose-pine.toml
Normal file
75
config/.config/alacritty/rose-pine.toml
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
# Colors section of "Alacritty - TOML configuration file format"
|
||||||
|
# https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd#colors
|
||||||
|
|
||||||
|
[colors.primary]
|
||||||
|
foreground = "#e0def4"
|
||||||
|
background = "#191724"
|
||||||
|
dim_foreground = "#908caa"
|
||||||
|
bright_foreground = "#e0def4"
|
||||||
|
|
||||||
|
[colors.cursor]
|
||||||
|
text = "#e0def4"
|
||||||
|
cursor = "#524f67"
|
||||||
|
|
||||||
|
[colors.vi_mode_cursor]
|
||||||
|
text = "#e0def4"
|
||||||
|
cursor = "#524f67"
|
||||||
|
|
||||||
|
[colors.search.matches]
|
||||||
|
foreground = "#908caa"
|
||||||
|
background = "#26233a"
|
||||||
|
|
||||||
|
[colors.search.focused_match]
|
||||||
|
foreground = "#191724"
|
||||||
|
background = "#ebbcba"
|
||||||
|
|
||||||
|
[colors.hints.start]
|
||||||
|
foreground = "#908caa"
|
||||||
|
background = "#1f1d2e"
|
||||||
|
|
||||||
|
[colors.hints.end]
|
||||||
|
foreground = "#6e6a86"
|
||||||
|
background = "#1f1d2e"
|
||||||
|
|
||||||
|
[colors.line_indicator]
|
||||||
|
foreground = "None"
|
||||||
|
background = "None"
|
||||||
|
|
||||||
|
[colors.footer_bar]
|
||||||
|
foreground = "#e0def4"
|
||||||
|
background = "#1f1d2e"
|
||||||
|
|
||||||
|
[colors.selection]
|
||||||
|
text = "#e0def4"
|
||||||
|
background = "#403d52"
|
||||||
|
|
||||||
|
[colors.normal]
|
||||||
|
black = "#26233a"
|
||||||
|
red = "#eb6f92"
|
||||||
|
green = "#31748f"
|
||||||
|
yellow = "#f6c177"
|
||||||
|
blue = "#9ccfd8"
|
||||||
|
magenta = "#c4a7e7"
|
||||||
|
cyan = "#ebbcba"
|
||||||
|
white = "#e0def4"
|
||||||
|
|
||||||
|
[colors.bright]
|
||||||
|
black = "#6e6a86"
|
||||||
|
red = "#eb6f92"
|
||||||
|
green = "#31748f"
|
||||||
|
yellow = "#f6c177"
|
||||||
|
blue = "#9ccfd8"
|
||||||
|
magenta = "#c4a7e7"
|
||||||
|
cyan = "#ebbcba"
|
||||||
|
white = "#e0def4"
|
||||||
|
|
||||||
|
[colors.dim]
|
||||||
|
black = "#6e6a86"
|
||||||
|
red = "#eb6f92"
|
||||||
|
green = "#31748f"
|
||||||
|
yellow = "#f6c177"
|
||||||
|
blue = "#9ccfd8"
|
||||||
|
magenta = "#c4a7e7"
|
||||||
|
cyan = "#ebbcba"
|
||||||
|
white = "#e0def4"
|
||||||
|
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Autostart Programs
|
## Autostart Programs
|
||||||
sxhkd &
|
sxhkd &
|
||||||
xsetroot -cursor_name left_ptr
|
# xsetroot -cursor_name left_ptr
|
||||||
pgrep bspswallow || bspswallow &
|
pgrep bspswallow || bspswallow &
|
||||||
pgrep statnot || statnot &
|
pgrep statnot || statnot &
|
||||||
# polybar example &
|
# polybar example &
|
||||||
@@ -12,6 +12,7 @@ if [ $(pgrep polybar) ]; then
|
|||||||
else
|
else
|
||||||
sleep .5 && polybar mainbar &
|
sleep .5 && polybar mainbar &
|
||||||
fi
|
fi
|
||||||
|
pipewire-launch || pipewire-launch restart &
|
||||||
#MONITOR=DP-5 polybar example &
|
#MONITOR=DP-5 polybar example &
|
||||||
~/.fehbg
|
~/.fehbg
|
||||||
picom &
|
picom &
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
St
|
St
|
||||||
|
st
|
||||||
|
|||||||
3
config/.config/chawan/config.toml
Normal file
3
config/.config/chawan/config.toml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[buffer]
|
||||||
|
images = true
|
||||||
|
scripting = true
|
||||||
1
config/.config/cmus/rc
Normal file
1
config/.config/cmus/rc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
51
config/.config/cmus/rose-pine-legacy.theme
Normal file
51
config/.config/cmus/rose-pine-legacy.theme
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
# Rosé Pine colorscheme
|
||||||
|
# by: Boris Petrov (https://github.com/Iorvethe)
|
||||||
|
# colors from: https://rosepinetheme.com/
|
||||||
|
#
|
||||||
|
# Blue: 67
|
||||||
|
# Red: 166
|
||||||
|
# Yellow: 227
|
||||||
|
# Pink: 217
|
||||||
|
# White: 254
|
||||||
|
# Black: 233
|
||||||
|
|
||||||
|
# Window
|
||||||
|
set color_cmdline_bg=default
|
||||||
|
set color_cmdline_fg=default
|
||||||
|
|
||||||
|
set color_win_title_bg=67
|
||||||
|
set color_win_title_fg=254
|
||||||
|
|
||||||
|
set color_win_bg=default
|
||||||
|
set color_win_fg=default
|
||||||
|
|
||||||
|
set color_separator=67
|
||||||
|
|
||||||
|
# Bottom status
|
||||||
|
set color_titleline_bg=67
|
||||||
|
set color_titleline_fg=254
|
||||||
|
|
||||||
|
set color_statusline_bg=default
|
||||||
|
set color_statusline_fg=default
|
||||||
|
|
||||||
|
# Text
|
||||||
|
set color_win_cur=227
|
||||||
|
set color_win_dir=default
|
||||||
|
|
||||||
|
# Menu
|
||||||
|
set color_win_sel_bg=67
|
||||||
|
set color_win_sel_fg=254
|
||||||
|
|
||||||
|
set color_win_inactive_sel_bg=default
|
||||||
|
set color_win_inactive_sel_fg=67
|
||||||
|
|
||||||
|
set color_win_cur_sel_bg=67
|
||||||
|
set color_win_cur_sel_fg=227
|
||||||
|
|
||||||
|
set color_win_inactive_cur_sel_bg=default
|
||||||
|
set color_win_inactive_cur_sel_fg=227
|
||||||
|
|
||||||
|
# Messages
|
||||||
|
set color_error=166
|
||||||
|
set color_info=227
|
||||||
|
|
||||||
51
config/.config/cmus/rose-pine.theme
Normal file
51
config/.config/cmus/rose-pine.theme
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
# Rosé Pine colorscheme
|
||||||
|
# by: Boris Petrov (https://github.com/Iorvethe)
|
||||||
|
# colors from: https://rosepinetheme.com/
|
||||||
|
#
|
||||||
|
# Blue: 67
|
||||||
|
# Red: 166
|
||||||
|
# Yellow: 227
|
||||||
|
# Pink: 181
|
||||||
|
# White: 254
|
||||||
|
# Black: 233
|
||||||
|
|
||||||
|
# Window
|
||||||
|
set color_cmdline_bg=default
|
||||||
|
set color_cmdline_fg=default
|
||||||
|
|
||||||
|
set color_win_title_bg=181
|
||||||
|
set color_win_title_fg=233
|
||||||
|
|
||||||
|
set color_win_bg=default
|
||||||
|
set color_win_fg=default
|
||||||
|
|
||||||
|
set color_separator=181
|
||||||
|
|
||||||
|
# Bottom status
|
||||||
|
set color_titleline_bg=181
|
||||||
|
set color_titleline_fg=233
|
||||||
|
|
||||||
|
set color_statusline_bg=default
|
||||||
|
set color_statusline_fg=default
|
||||||
|
|
||||||
|
# Text
|
||||||
|
set color_win_cur=227
|
||||||
|
set color_win_dir=default
|
||||||
|
|
||||||
|
# Menu
|
||||||
|
set color_win_sel_bg=181
|
||||||
|
set color_win_sel_fg=233
|
||||||
|
|
||||||
|
set color_win_inactive_sel_bg=default
|
||||||
|
set color_win_inactive_sel_fg=181
|
||||||
|
|
||||||
|
set color_win_cur_sel_bg=181
|
||||||
|
set color_win_cur_sel_fg=227
|
||||||
|
|
||||||
|
set color_win_inactive_cur_sel_bg=default
|
||||||
|
set color_win_inactive_cur_sel_fg=227
|
||||||
|
|
||||||
|
# Messages
|
||||||
|
set color_error=166
|
||||||
|
set color_info=227
|
||||||
|
|
||||||
172
config/.config/doom/config.el
Normal file
172
config/.config/doom/config.el
Normal file
@@ -0,0 +1,172 @@
|
|||||||
|
;;; $DOOMDIR/config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
;; Place your private configuration here! Remember, you do not need to run 'doom
|
||||||
|
;; sync' after modifying this file!
|
||||||
|
|
||||||
|
|
||||||
|
;; Some functionality uses this to identify you, e.g. GPG configuration, email
|
||||||
|
;; clients, file templates and snippets. It is optional.
|
||||||
|
;; (setq user-full-name "John Doe"
|
||||||
|
;; user-mail-address "john@doe.com")
|
||||||
|
|
||||||
|
;; Doom exposes five (optional) variables for controlling fonts in Doom:
|
||||||
|
;;
|
||||||
|
;; - `doom-font' -- the primary font to use
|
||||||
|
;; - `doom-variable-pitch-font' -- a non-monospace font (where applicable)
|
||||||
|
;; - `doom-big-font' -- used for `doom-big-font-mode'; use this for
|
||||||
|
;; presentations or streaming.
|
||||||
|
;; - `doom-symbol-font' -- for symbols
|
||||||
|
;; - `doom-serif-font' -- for the `fixed-pitch-serif' face
|
||||||
|
;;
|
||||||
|
;; See 'C-h v doom-font' for documentation and more examples of what they
|
||||||
|
;; accept. For example:
|
||||||
|
;;
|
||||||
|
;; (setq doom-font (font-spec :family "Fira Code" :size 12 :weight 'semi-light)
|
||||||
|
;; doom-variable-pitch-font (font-spec :family "Fira Sans" :size 13))
|
||||||
|
(setq doom-font (font-spec :family "Iosevka Term SS12" :size 18))
|
||||||
|
;;
|
||||||
|
;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
|
||||||
|
;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to
|
||||||
|
;; refresh your font settings. If Emacs still can't find your font, it likely
|
||||||
|
;; wasn't installed correctly. Font issues are rarely Doom issues!
|
||||||
|
|
||||||
|
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||||
|
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||||
|
;; `load-theme' function. This is the default:
|
||||||
|
;; (setq doom-theme 'doom-one)
|
||||||
|
|
||||||
|
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||||
|
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||||
|
(setq display-line-numbers-type 'relative)
|
||||||
|
|
||||||
|
;; If you use `org' and don't want your org files in the default location below,
|
||||||
|
;; change `org-directory'. It must be set before org loads!
|
||||||
|
(setq org-directory "~/org/")
|
||||||
|
|
||||||
|
|
||||||
|
;; Whenever you reconfigure a package, make sure to wrap your config in an
|
||||||
|
;; `after!' block, otherwise Doom's defaults may override your settings. E.g.
|
||||||
|
;;
|
||||||
|
;; (after! PACKAGE
|
||||||
|
;; (setq x y))
|
||||||
|
;;
|
||||||
|
;; The exceptions to this rule:
|
||||||
|
;;
|
||||||
|
;; - Setting file/directory variables (like `org-directory')
|
||||||
|
;; - Setting variables which explicitly tell you to set them before their
|
||||||
|
;; package is loaded (see 'C-h v VARIABLE' to look up their documentation).
|
||||||
|
;; - Setting doom variables (which start with 'doom-' or '+').
|
||||||
|
;;
|
||||||
|
;; Here are some additional functions/macros that will help you configure Doom.
|
||||||
|
;;
|
||||||
|
;; - `load!' for loading external *.el files relative to this one
|
||||||
|
;; - `use-package!' for configuring packages
|
||||||
|
;; - `after!' for running code after a package has loaded
|
||||||
|
;; - `add-load-path!' for adding directories to the `load-path', relative to
|
||||||
|
;; this file. Emacs searches the `load-path' when you load packages with
|
||||||
|
;; `require' or `use-package'.
|
||||||
|
;; - `map!' for binding new keys
|
||||||
|
;;
|
||||||
|
;; To get information about any of these functions/macros, move the cursor over
|
||||||
|
;; the highlighted symbol at press 'K' (non-evil users must press 'C-c c k').
|
||||||
|
;; This will open documentation for it, including demos of how they are used.
|
||||||
|
;; Alternatively, use `C-h o' to look up a symbol (functions, variables, faces,
|
||||||
|
;; etc).
|
||||||
|
;;
|
||||||
|
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
||||||
|
;; they are implemented.
|
||||||
|
|
||||||
|
;; (setq! tab-always-indent nil)
|
||||||
|
(after! corfu
|
||||||
|
(setq! tab-always-indent nil))
|
||||||
|
;; (map! :map corfu-map :i "TAB" nil)
|
||||||
|
;; (map! :map corfu-map "TAB" nil)
|
||||||
|
;; (map! :map corfu-map :i "S-TAB" nil)
|
||||||
|
;; (map! :map corfu-map "S-TAB" nil)
|
||||||
|
;; (map! :map corfu-map :i "C-n" #'corfu-next)
|
||||||
|
;; (map! :map corfu-map :i "C-p" #'corfu-previous)
|
||||||
|
;; (map! :map corfu-map "C-n" #'corfu-next)
|
||||||
|
;; (map! :map corfu-map "C-p" #'corfu-previous)
|
||||||
|
;; (map! :map corfu-map "ESC" #'corfu-reset)
|
||||||
|
;; (map! :map corfu-map :i "ESC" #'corfu-reset)
|
||||||
|
;; (map! :map corfu-map "C-g" #'corfu-reset)
|
||||||
|
;; (map! :map corfu-map :i "C-g" #'corfu-reset)
|
||||||
|
;; (setq +corfu-want-ret-to-confirm nil)
|
||||||
|
|
||||||
|
(use-package! auto-dark
|
||||||
|
:defer t
|
||||||
|
:init
|
||||||
|
;; Configure themes
|
||||||
|
(setq! auto-dark-themes '((doom-gruvbox) (doom-gruvbox-light)))
|
||||||
|
;; Disable doom's theme loading mechanism (just to make sure)
|
||||||
|
(setq! doom-theme nil)
|
||||||
|
;; Declare that all themes are safe to load.
|
||||||
|
;; Be aware that setting this variable may have security implications if you
|
||||||
|
;; get tricked into loading untrusted themes (via auto-dark-mode or manually).
|
||||||
|
;; See the documentation of custom-safe-themes for details.
|
||||||
|
(setq! custom-safe-themes t)
|
||||||
|
;; Enable auto-dark-mode at the right point in time.
|
||||||
|
;; This is inspired by doom-ui.el. Using server-after-make-frame-hook avoids
|
||||||
|
;; issues with an early start of the emacs daemon using systemd, which causes
|
||||||
|
;; problems with the DBus connection that auto-dark mode relies upon.
|
||||||
|
(defun my-auto-dark-init-h ()
|
||||||
|
(auto-dark-mode)
|
||||||
|
(remove-hook 'server-after-make-frame-hook #'my-auto-dark-init-h)
|
||||||
|
(remove-hook 'after-init-hook #'my-auto-dark-init-h))
|
||||||
|
(let ((hook (if (daemonp)
|
||||||
|
'server-after-make-frame-hook
|
||||||
|
'after-init-hook)))
|
||||||
|
;; Depth -95 puts this before doom-init-theme-h, which sounds like a good
|
||||||
|
;; idea, if only for performance reasons.
|
||||||
|
(add-hook hook #'my-auto-dark-init-h -95)))
|
||||||
|
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.odin\\'" . odin-ts-mode))
|
||||||
|
(defvar treesit-language-source-alist '((odin "https://github.com/tree-sitter-grammars/tree-sitter-odin")))
|
||||||
|
;; (add-to-list treesit-language-source-alist '(odin "https://github.com/tree-sitter-grammars/tree-sitter-odin"))
|
||||||
|
|
||||||
|
(setq lsp-inlay-hint-enable 't)
|
||||||
|
|
||||||
|
(after! mu4e
|
||||||
|
(setq sendmail-program (executable-find "msmtp")
|
||||||
|
send-mail-function #'smtpmail-send-it
|
||||||
|
message-sendmail-f-is-evil t
|
||||||
|
message-sendmail-extra-arguments '("--read-envelope-from")
|
||||||
|
message-send-mail-function #'message-send-mail-with-sendmail))
|
||||||
|
(set-email-account! "hosted";"mikec@mchalupiak.com"
|
||||||
|
'((mu4e-sent-folder . "/mikec@mchalupiak.com/Sent")
|
||||||
|
(mu4e-drafts-folder . "/mikec@mchalupiak.com/Drafts")
|
||||||
|
(mu4e-trash-folder . "/mikec@mchalupiak.com/Junk")
|
||||||
|
(mu4e-refile-folder . "/mikec@mchalupiak.com/INBOX"))
|
||||||
|
;;(smtpmail-smtp-user . "foo@bar.com")
|
||||||
|
;;(user-mail-address . "foo@bar.com") ;; only needed for mu < 1.4
|
||||||
|
;;(mu4e-compose-signature . "---\nYours truly\nThe Baz"))
|
||||||
|
t)
|
||||||
|
(set-email-account! "spamreciver1@outlook.com"
|
||||||
|
'((mu4e-sent-folder . "/spamreciver1@outlook.com/Sent")
|
||||||
|
(mu4e-drafts-folder . "/spamreciver1@outlook.com/Drafts")
|
||||||
|
(mu4e-trash-folder . "/spamreciver1@outlook.com/Junk")
|
||||||
|
(mu4e-refile-folder . "/spamreciver1@outlook.com/INBOX"))
|
||||||
|
;;(smtpmail-smtp-user . "foo@bar.com")
|
||||||
|
;;(user-mail-address . "foo@bar.com") ;; only needed for mu < 1.4
|
||||||
|
;;(mu4e-compose-signature . "---\nYours truly\nThe Baz"))
|
||||||
|
t)
|
||||||
|
(set-email-account! "mikecchalupiak@outlook.com"
|
||||||
|
'((mu4e-sent-folder . "/mikecchalupiak@outlook.com/Sent")
|
||||||
|
(mu4e-drafts-folder . "/mikecchalupiak@outlook.com/Drafts")
|
||||||
|
(mu4e-trash-folder . "/mikecchalupiak@outlook.com/Junk")
|
||||||
|
(mu4e-refile-folder . "/mikecchalupiak@outlook.com/INBOX"))
|
||||||
|
;;(smtpmail-smtp-user . "foo@bar.com")
|
||||||
|
;;(user-mail-address . "foo@bar.com") ;; only needed for mu < 1.4
|
||||||
|
;;(mu4e-compose-signature . "---\nYours truly\nThe Baz"))
|
||||||
|
t)
|
||||||
|
|
||||||
|
(set-email-account! "chalupmc@rose-hulman.edu"
|
||||||
|
'((mu4e-sent-folder . "/chalupmc@rose-hulman.edu/Sent")
|
||||||
|
(mu4e-drafts-folder . "/chalupmc@rose-hulman.edu/Drafts")
|
||||||
|
(mu4e-trash-folder . "/chalupmc@rose-hulman.edu/Junk")
|
||||||
|
(mu4e-refile-folder . "/chalupmc@rose-hulman.edu/INBOX"))
|
||||||
|
;;(smtpmail-smtp-user . "foo@bar.com")
|
||||||
|
;;(user-mail-address . "foo@bar.com") ;; only needed for mu < 1.4
|
||||||
|
;;(mu4e-compose-signature . "---\nYours truly\nThe Baz"))
|
||||||
|
t)
|
||||||
|
;;(setq +notmuch-sync-backend 'mbsync)
|
||||||
198
config/.config/doom/init.el
Normal file
198
config/.config/doom/init.el
Normal file
@@ -0,0 +1,198 @@
|
|||||||
|
;;; init.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
|
;; This file controls what Doom modules are enabled and what order they load
|
||||||
|
;; in. Remember to run 'doom sync' after modifying it!
|
||||||
|
|
||||||
|
;; NOTE Press 'SPC h d h' (or 'C-h d h' for non-vim users) to access Doom's
|
||||||
|
;; documentation. There you'll find a link to Doom's Module Index where all
|
||||||
|
;; of our modules are listed, including what flags they support.
|
||||||
|
|
||||||
|
;; NOTE Move your cursor over a module's name (or its flags) and press 'K' (or
|
||||||
|
;; 'C-c c k' for non-vim users) to view its documentation. This works on
|
||||||
|
;; flags as well (those symbols that start with a plus).
|
||||||
|
;;
|
||||||
|
;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its
|
||||||
|
;; directory (for easy access to its source code).
|
||||||
|
|
||||||
|
(doom! :input
|
||||||
|
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
|
||||||
|
;;chinese
|
||||||
|
;;japanese
|
||||||
|
;;layout ; auie,ctsrnm is the superior home row
|
||||||
|
|
||||||
|
:completion
|
||||||
|
;;company ; the ultimate code completion backend
|
||||||
|
(corfu +orderless) ; complete with cap(f), cape and a flying feather!
|
||||||
|
;;helm ; the *other* search engine for love and life
|
||||||
|
;;ido ; the other *other* search engine...
|
||||||
|
;; ivy ; a search engine for love and life
|
||||||
|
vertico ; the search engine of the future
|
||||||
|
|
||||||
|
:ui
|
||||||
|
;;deft ; notational velocity for Emacs
|
||||||
|
doom ; what makes DOOM look the way it does
|
||||||
|
doom-dashboard ; a nifty splash screen for Emacs
|
||||||
|
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
|
||||||
|
;;(emoji +unicode) ; 🙂
|
||||||
|
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
|
||||||
|
indent-guides ; highlighted indent columns
|
||||||
|
;;ligatures ; ligatures and symbols to make your code pretty again
|
||||||
|
;;minimap ; show a map of the code on the side
|
||||||
|
modeline ; snazzy, Atom-inspired modeline, plus API
|
||||||
|
;;nav-flash ; blink cursor line after big motions
|
||||||
|
;;neotree ; a project drawer, like NERDTree for vim
|
||||||
|
ophints ; highlight the region an operation acts on
|
||||||
|
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
||||||
|
smooth-scroll ; So smooth you won't believe it's not butter
|
||||||
|
;;tabs ; a tab bar for Emacs
|
||||||
|
;;treemacs ; a project drawer, like neotree but cooler
|
||||||
|
unicode ; extended unicode support for various languages
|
||||||
|
(vc-gutter +pretty) ; vcs diff in the fringe
|
||||||
|
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||||
|
;;window-select ; visually switch windows
|
||||||
|
;; workspaces ; tab emulation, persistence & separate workspaces
|
||||||
|
zen ; distraction-free coding or writing
|
||||||
|
|
||||||
|
:editor
|
||||||
|
(evil +everywhere); come to the dark side, we have cookies
|
||||||
|
file-templates ; auto-snippets for empty files
|
||||||
|
fold ; (nigh) universal code folding
|
||||||
|
(format +onsave) ; automated prettiness
|
||||||
|
;;god ; run Emacs commands without modifier keys
|
||||||
|
;;lispy ; vim for lisp, for people who don't like vim
|
||||||
|
multiple-cursors ; editing in many places at once
|
||||||
|
;;objed ; text object editing for the innocent
|
||||||
|
parinfer ; turn lisp into python, sort of
|
||||||
|
;;rotate-text ; cycle region at point between text candidates
|
||||||
|
snippets ; my elves. They type so I don't have to
|
||||||
|
;; (whitespace +guess +trim) ; a butler for your whitespace
|
||||||
|
word-wrap ; soft wrapping with language-aware indent
|
||||||
|
|
||||||
|
:emacs
|
||||||
|
dired ; making dired pretty [functional]
|
||||||
|
electric ; smarter, keyword-based electric-indent
|
||||||
|
;;eww ; the internet is gross
|
||||||
|
ibuffer ; interactive buffer management
|
||||||
|
tramp ; remote files at your arthritic fingertips
|
||||||
|
undo ; persistent, smarter undo for your inevitable mistakes
|
||||||
|
vc ; version-control and Emacs, sitting in a tree
|
||||||
|
|
||||||
|
:term
|
||||||
|
eshell ; the elisp shell that works everywhere
|
||||||
|
;;shell ; simple shell REPL for Emacs
|
||||||
|
;;term ; basic terminal emulator for Emacs
|
||||||
|
;; vterm ; the best terminal emulation in Emacs
|
||||||
|
|
||||||
|
:checkers
|
||||||
|
syntax ; tasing you for every semicolon you forget
|
||||||
|
(spell +flyspell) ; tasing you for misspelling mispelling
|
||||||
|
;;grammar ; tasing grammar mistake every you make
|
||||||
|
|
||||||
|
:tools
|
||||||
|
;;ansible
|
||||||
|
;;biblio ; Writes a PhD for you (citation needed)
|
||||||
|
;;collab ; buffers with friends
|
||||||
|
;;debugger ; FIXME stepping through code, to help you add bugs
|
||||||
|
;;direnv
|
||||||
|
;;docker
|
||||||
|
;;editorconfig ; let someone else argue about tabs vs spaces
|
||||||
|
;;ein ; tame Jupyter notebooks with emacs
|
||||||
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
|
(lookup +dictionary +offline) ; navigate your code and its documentation
|
||||||
|
;;llm ; when I said you needed friends, I didn't mean...
|
||||||
|
(lsp +eglot) ; M-x vscode
|
||||||
|
(magit +forge) ; a git porcelain for Emacs
|
||||||
|
;;make ; run make tasks from Emacs
|
||||||
|
;;pass ; password manager for nerds
|
||||||
|
;;pdf ; pdf enhancements
|
||||||
|
;;terraform ; infrastructure as code
|
||||||
|
;;tmux ; an API for interacting with tmux
|
||||||
|
tree-sitter ; syntax and parsing, sitting in a tree...
|
||||||
|
;;upload ; map local to remote projects via ssh/ftp
|
||||||
|
|
||||||
|
:os
|
||||||
|
(:if (featurep :system 'macos) macos) ; improve compatibility with macOS
|
||||||
|
tty ; improve the terminal Emacs experience
|
||||||
|
|
||||||
|
:lang
|
||||||
|
;;ada ; In strong typing we (blindly) trust
|
||||||
|
;;agda ; types of types of types of types...
|
||||||
|
;;beancount ; mind the GAAP
|
||||||
|
(cc +lsp +tree-sitter) ; C > C++ == 1
|
||||||
|
;;clojure ; java with a lisp
|
||||||
|
common-lisp ; if you've seen one lisp, you've seen them all
|
||||||
|
;;coq ; proofs-as-programs
|
||||||
|
;;crystal ; ruby at the speed of c
|
||||||
|
;;csharp ; unity, .NET, and mono shenanigans
|
||||||
|
;;data ; config/data formats
|
||||||
|
;;(dart +flutter) ; paint ui and not much else
|
||||||
|
;;dhall
|
||||||
|
;;elixir ; erlang done right
|
||||||
|
;;elm ; care for a cup of TEA?
|
||||||
|
emacs-lisp ; drown in parentheses
|
||||||
|
;;erlang ; an elegant language for a more civilized age
|
||||||
|
;;ess ; emacs speaks statistics
|
||||||
|
;;factor
|
||||||
|
;;faust ; dsp, but you get to keep your soul
|
||||||
|
;;fortran ; in FORTRAN, GOD is REAL (unless declared INTEGER)
|
||||||
|
;;fsharp ; ML stands for Microsoft's Language
|
||||||
|
;;fstar ; (dependent) types and (monadic) effects and Z3
|
||||||
|
;;gdscript ; the language you waited for
|
||||||
|
;;(go +lsp) ; the hipster dialect
|
||||||
|
;;(graphql +lsp) ; Give queries a REST
|
||||||
|
;;(haskell +lsp) ; a language that's lazier than I am
|
||||||
|
;;hy ; readability of scheme w/ speed of python
|
||||||
|
;;idris ; a language you can depend on
|
||||||
|
;;json ; At least it ain't XML
|
||||||
|
;;janet ; Fun fact: Janet is me!
|
||||||
|
;;(java +lsp) ; the poster child for carpal tunnel syndrome
|
||||||
|
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||||
|
;;julia ; a better, faster MATLAB
|
||||||
|
;;kotlin ; a better, slicker Java(Script)
|
||||||
|
;;latex ; writing papers in Emacs has never been so fun
|
||||||
|
;;lean ; for folks with too much to prove
|
||||||
|
;;ledger ; be audit you can be
|
||||||
|
;;lua ; one-based indices? one-based indices
|
||||||
|
(markdown +grip +tree-sitter) ; writing docs for people to ignore
|
||||||
|
;;nim ; python + lisp at the speed of c
|
||||||
|
;;nix ; I hereby declare "nix geht mehr!"
|
||||||
|
;;ocaml ; an objective camel
|
||||||
|
org ; organize your plain life in plain text
|
||||||
|
;;php ; perl's insecure younger brother
|
||||||
|
;;plantuml ; diagrams for confusing people more
|
||||||
|
;;graphviz ; diagrams for confusing yourself even more
|
||||||
|
;;purescript ; javascript, but functional
|
||||||
|
;;python ; beautiful is better than ugly
|
||||||
|
;;qt ; the 'cutest' gui framework ever
|
||||||
|
;;racket ; a DSL for DSLs
|
||||||
|
;;raku ; the artist formerly known as perl6
|
||||||
|
;;rest ; Emacs as a REST client
|
||||||
|
;;rst ; ReST in peace
|
||||||
|
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||||
|
(rust +lsp +tree-sitter) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||||
|
;;scala ; java, but good
|
||||||
|
;;(scheme +guile) ; a fully conniving family of lisps
|
||||||
|
sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||||
|
;;sml
|
||||||
|
;;solidity ; do you need a blockchain? No.
|
||||||
|
(swift +lsp +tree-sitter); who asked for emoji variables?
|
||||||
|
;;terra ; Earth and Moon in alignment for performance.
|
||||||
|
(web +lsp +tree-sitter) ; the tubes
|
||||||
|
;;yaml ; JSON, but readable
|
||||||
|
(zig +lsp +tree-sitter) ; C, but simpler
|
||||||
|
|
||||||
|
:email
|
||||||
|
(mu4e +org +gmail +mbsync)
|
||||||
|
;;notmuch
|
||||||
|
;;(wanderlust +gmail)
|
||||||
|
|
||||||
|
:app
|
||||||
|
;;calendar
|
||||||
|
;;emms
|
||||||
|
;;everywhere ; *leave* Emacs!? You must be joking
|
||||||
|
;;irc ; how neckbeards socialize
|
||||||
|
;;(rss +org) ; emacs as an RSS reader
|
||||||
|
|
||||||
|
:config
|
||||||
|
;;literate
|
||||||
|
(default +bindings +smartparens))
|
||||||
57
config/.config/doom/packages.el
Normal file
57
config/.config/doom/packages.el
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
;; -*- no-byte-compile: t; -*-
|
||||||
|
;;; $DOOMDIR/packages.el
|
||||||
|
|
||||||
|
;; To install a package:
|
||||||
|
;;
|
||||||
|
;; 1. Declare them here in a `package!' statement,
|
||||||
|
;; 2. Run 'doom sync' in the shell,
|
||||||
|
;; 3. Restart Emacs.
|
||||||
|
;;
|
||||||
|
;; Use 'C-h f package\!' to look up documentation for the `package!' macro.
|
||||||
|
|
||||||
|
|
||||||
|
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
|
||||||
|
;; (package! some-package)
|
||||||
|
|
||||||
|
;; To install a package directly from a remote git repo, you must specify a
|
||||||
|
;; `:recipe'. You'll find documentation on what `:recipe' accepts here:
|
||||||
|
;; https://github.com/radian-software/straight.el#the-recipe-format
|
||||||
|
;; (package! another-package
|
||||||
|
;; :recipe (:host github :repo "username/repo"))
|
||||||
|
|
||||||
|
;; If the package you are trying to install does not contain a PACKAGENAME.el
|
||||||
|
;; file, or is located in a subdirectory of the repo, you'll need to specify
|
||||||
|
;; `:files' in the `:recipe':
|
||||||
|
;; (package! this-package
|
||||||
|
;; :recipe (:host github :repo "username/repo"
|
||||||
|
;; :files ("some-file.el" "src/lisp/*.el")))
|
||||||
|
|
||||||
|
;; If you'd like to disable a package included with Doom, you can do so here
|
||||||
|
;; with the `:disable' property:
|
||||||
|
;; (package! builtin-package :disable t)
|
||||||
|
|
||||||
|
;; You can override the recipe of a built in package without having to specify
|
||||||
|
;; all the properties for `:recipe'. These will inherit the rest of its recipe
|
||||||
|
;; from Doom or MELPA/ELPA/Emacsmirror:
|
||||||
|
;; (package! builtin-package :recipe (:nonrecursive t))
|
||||||
|
;; (package! builtin-package-2 :recipe (:repo "myfork/package"))
|
||||||
|
|
||||||
|
;; Specify a `:branch' to install a package from a particular branch or tag.
|
||||||
|
;; This is required for some packages whose default branch isn't 'master' (which
|
||||||
|
;; our package manager can't deal with; see radian-software/straight.el#279)
|
||||||
|
;; (package! builtin-package :recipe (:branch "develop"))
|
||||||
|
|
||||||
|
;; Use `:pin' to specify a particular commit to install.
|
||||||
|
;; (package! builtin-package :pin "1a2b3c4d5e")
|
||||||
|
|
||||||
|
|
||||||
|
;; Doom's packages are pinned to a specific commit and updated from release to
|
||||||
|
;; release. The `unpin!' macro allows you to unpin single packages...
|
||||||
|
;; (unpin! pinned-package)
|
||||||
|
;; ...or multiple packages
|
||||||
|
;; (unpin! pinned-package another-pinned-package)
|
||||||
|
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
|
||||||
|
;; (unpin! t)
|
||||||
|
(package! auto-dark)
|
||||||
|
(package! odin-ts-mode
|
||||||
|
:recipe (:host github :repo "Sampie159/odin-ts-mode"))
|
||||||
237
config/.config/doom/themes/doom-rose-pine-dawn-theme.el
Normal file
237
config/.config/doom/themes/doom-rose-pine-dawn-theme.el
Normal file
@@ -0,0 +1,237 @@
|
|||||||
|
;;; doom-rose-pine-dawn-theme.el --- A light port of Rose Piné Dawn theme -*- lexical-binding: t; no-byte-compile: t; -*-
|
||||||
|
;;
|
||||||
|
;; Author: mvllow
|
||||||
|
;; Ported by: donniebreve
|
||||||
|
;; Keywords: custom themes, faces
|
||||||
|
;; Homepage: https://github.com/donniebreve/rose-pine-doom-emacs
|
||||||
|
;; Package-Requires: ((emacs "25.1") (cl-lib "0.5") (doom-themes "2.2.1"))
|
||||||
|
;;
|
||||||
|
;;; Commentary:
|
||||||
|
;;
|
||||||
|
;; Thanks to mvllow (https://github.com/rose-pine)
|
||||||
|
;; Thanks to hlissner (https://github.com/doomemacs/themes)
|
||||||
|
;;
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'doom-themes)
|
||||||
|
|
||||||
|
;;; Variables
|
||||||
|
(defgroup doom-rose-pine-dawn-theme nil
|
||||||
|
"Options for the `doom-rose-pine-dawn' theme."
|
||||||
|
:group 'doom-themes)
|
||||||
|
|
||||||
|
(defcustom doom-rose-pine-dawn-brighter-modeline nil
|
||||||
|
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||||
|
:group 'doom-rose-pine-dawn-theme
|
||||||
|
:type 'boolean)
|
||||||
|
|
||||||
|
(defcustom doom-rose-pine-dawn-brighter-comments nil
|
||||||
|
"If non-nil, comments will be highlighted in more vivid colors."
|
||||||
|
:group 'doom-rose-pine-dawn-theme
|
||||||
|
:type 'boolean)
|
||||||
|
|
||||||
|
(defcustom doom-rose-pine-dawn-padded-modeline doom-themes-padded-modeline
|
||||||
|
"If non-nil, adds a 4px padding to the mode-line. Can be an integer to determine the exact padding."
|
||||||
|
:group 'doom-rose-pine-dawn-theme
|
||||||
|
:type '(choice integer boolean))
|
||||||
|
|
||||||
|
;;; Theme definition
|
||||||
|
(def-doom-theme doom-rose-pine-dawn
|
||||||
|
"A light port of Rosé Pine Dawn theme"
|
||||||
|
|
||||||
|
;; Main theme colors
|
||||||
|
(
|
||||||
|
;; name default 256 16
|
||||||
|
(base '("#faf4ed" "#faf4ed" "black" ))
|
||||||
|
(surface '("#fffaf3" "#fffaf3" "brightblack" ))
|
||||||
|
(overlay '("#f2e9de" "#f2e9de" "brightblack" ))
|
||||||
|
(muted '("#9893a5" "#9893a5" "brightblack" ))
|
||||||
|
(subtle '("#797593" "#797593" "brightblack" ))
|
||||||
|
(text '("#575279" "#575279" "brightblack" ))
|
||||||
|
(love '("#b4637a" "#b4637a" "red" ))
|
||||||
|
(gold '("#ea9d34" "#ea9d34" "white" ))
|
||||||
|
(rose '("#d7827e" "#d7827e" "white" ))
|
||||||
|
(pine '("#286983" "#286983" "white" ))
|
||||||
|
(foam '("#56949f" "#56949f" "white" ))
|
||||||
|
(iris '("#907aa9" "#907aa9" "white" ))
|
||||||
|
(highlightL '("#f4ede8" "#f4ede8" "grey" ))
|
||||||
|
(highlightM '("#dfdad9" "#dfdad9" "grey" ))
|
||||||
|
(highlightH '("#cecacd" "#cecacd" "grey" ))
|
||||||
|
|
||||||
|
;; Variables required by doom theme
|
||||||
|
(bg base)
|
||||||
|
(fg text)
|
||||||
|
;; These are off-color variants of bg/fg, used primarily for `solaire-mode',
|
||||||
|
;; but can also be useful as a basis for subtle highlights (e.g. for hl-line
|
||||||
|
;; or region), especially when paired with the `doom-darken', `doom-lighten',
|
||||||
|
;; and `doom-blend' helper functions.
|
||||||
|
(bg-alt surface)
|
||||||
|
(fg-alt text)
|
||||||
|
;; These should represent a spectrum from bg to fg, where base0 is a starker
|
||||||
|
;; bg and base8 is a starker fg. For example, if bg is light grey and fg is
|
||||||
|
;; dark grey, base0 should be white and base8 should be black.
|
||||||
|
(base0 surface)
|
||||||
|
(base1 base)
|
||||||
|
(base2 highlightL)
|
||||||
|
(base3 overlay)
|
||||||
|
(base4 highlightM)
|
||||||
|
(base5 highlightH)
|
||||||
|
(base6 muted)
|
||||||
|
(base7 subtle)
|
||||||
|
(base8 text)
|
||||||
|
(grey muted)
|
||||||
|
(red love)
|
||||||
|
(orange gold)
|
||||||
|
(green pine)
|
||||||
|
(teal pine)
|
||||||
|
(yellow rose)
|
||||||
|
(blue pine)
|
||||||
|
(dark-blue pine)
|
||||||
|
(magenta iris)
|
||||||
|
(violet iris)
|
||||||
|
(cyan foam)
|
||||||
|
(dark-cyan foam)
|
||||||
|
;; Variables required by doom theme ends here
|
||||||
|
|
||||||
|
;; Required face categories for syntax highlighting
|
||||||
|
(highlight subtle) ; cursor
|
||||||
|
(selection base) ; can't figure out where this is used
|
||||||
|
(region overlay) ; visual selection
|
||||||
|
(vertical-bar surface) ; window split
|
||||||
|
|
||||||
|
(comments (if doom-rose-pine-dawn-brighter-comments subtle muted))
|
||||||
|
(doc-comments (if doom-rose-pine-dawn-brighter-comments subtle muted))
|
||||||
|
|
||||||
|
(builtin pine)
|
||||||
|
(constants iris)
|
||||||
|
(functions pine)
|
||||||
|
(keywords pine)
|
||||||
|
(methods foam)
|
||||||
|
(numbers rose)
|
||||||
|
(operators gold)
|
||||||
|
(strings gold)
|
||||||
|
(type rose)
|
||||||
|
(variables iris)
|
||||||
|
|
||||||
|
(error love)
|
||||||
|
(success foam)
|
||||||
|
(warning gold)
|
||||||
|
|
||||||
|
(vc-added foam)
|
||||||
|
(vc-deleted love)
|
||||||
|
(vc-modified gold)
|
||||||
|
|
||||||
|
;; Other categories
|
||||||
|
;; Modeline
|
||||||
|
(modeline-bg (if doom-rose-pine-dawn-brighter-modeline overlay surface))
|
||||||
|
(modeline-fg text)
|
||||||
|
(modeline-bg-alt (if doom-rose-pine-dawn-brighter-modeline muted overlay))
|
||||||
|
(modeline-fg-alt text) ; should this be darker or lighter?
|
||||||
|
(modeline-bg-inactive base)
|
||||||
|
(modeline-fg-inactive subtle)
|
||||||
|
(modeline-bg-inactive-alt base)
|
||||||
|
(modeline-fg-inactive-alt subtle)
|
||||||
|
(modeline-pad
|
||||||
|
(when doom-rose-pine-dawn-padded-modeline
|
||||||
|
if (integerp doom-rose-pine-dawn-padded-modeline) doom-rose-pine-padded-modeline 4)))
|
||||||
|
|
||||||
|
;; Base theme face overrides
|
||||||
|
(
|
||||||
|
;; Font
|
||||||
|
((font-lock-comment-face &override)
|
||||||
|
:slant 'italic
|
||||||
|
:background (if doom-rose-pine-dawn-brighter-comments (doom-blend teal base 0.07)))
|
||||||
|
((font-lock-type-face &override) :slant 'italic)
|
||||||
|
((font-lock-builtin-face &override) :slant 'italic)
|
||||||
|
((font-lock-function-name-face &override) :foreground type)
|
||||||
|
((font-lock-keyword-face &override) :weight 'bold)
|
||||||
|
((font-lock-constant-face &override) :weight 'bold)
|
||||||
|
|
||||||
|
;; Highlight line
|
||||||
|
(hl-line
|
||||||
|
:background highlightL)
|
||||||
|
|
||||||
|
;; Line numbers
|
||||||
|
((line-number &override) :foreground muted)
|
||||||
|
((line-number-current-line &override) :foreground text)
|
||||||
|
|
||||||
|
;; Mode line
|
||||||
|
(mode-line
|
||||||
|
:background modeline-bg
|
||||||
|
:foreground modeline-fg
|
||||||
|
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg)))
|
||||||
|
(mode-line-inactive
|
||||||
|
:background modeline-bg-inactive
|
||||||
|
:foreground modeline-fg-inactive
|
||||||
|
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg-inactive)))
|
||||||
|
(mode-line-emphasis
|
||||||
|
:foreground (if doom-rose-pine-dawn-brighter-modeline text subtle))
|
||||||
|
|
||||||
|
;; Company
|
||||||
|
(company-tooltip-selection :background blue :foreground muted)
|
||||||
|
|
||||||
|
;; CSS mode <built-in> / scss-mode
|
||||||
|
(css-proprietary-property :foreground orange)
|
||||||
|
(css-property :foreground green)
|
||||||
|
(css-selector :foreground green)
|
||||||
|
|
||||||
|
;; Doom mode line
|
||||||
|
(doom-modeline-bar :background green) ; The line to the left
|
||||||
|
(doom-modeline-evil-emacs-state :foreground magenta) ; The dot color when in emacs mode
|
||||||
|
(doom-modeline-evil-normal-state :foreground green) ; The dot color when in normal mode
|
||||||
|
(doom-modeline-evil-visual-state :foreground magenta) ; The dot color when in visual mode
|
||||||
|
(doom-modeline-evil-insert-state :foreground orange) ; The dot color when in insert mode
|
||||||
|
|
||||||
|
;; Helm
|
||||||
|
(helm-selection :foreground base :weight 'bold :background blue)
|
||||||
|
|
||||||
|
;; Ivy
|
||||||
|
(ivy-current-match :background highlightL :distant-foreground fg)
|
||||||
|
(ivy-minibuffer-match-face-1 :foreground pine :background nil :weight 'bold)
|
||||||
|
(ivy-minibuffer-match-face-2 :foreground iris :background nil :weight 'bold)
|
||||||
|
(ivy-minibuffer-match-face-3 :foreground gold :background nil :weight 'bold)
|
||||||
|
(ivy-minibuffer-match-face-4 :foreground rose :background nil :weight 'bold)
|
||||||
|
(ivy-minibuffer-match-highlight :foreground magenta :weight 'bold)
|
||||||
|
(ivy-posframe :background modeline-bg-alt)
|
||||||
|
|
||||||
|
;; Markdown mode
|
||||||
|
(markdown-markup-face :foreground text)
|
||||||
|
(markdown-header-face :inherit 'bold :foreground red)
|
||||||
|
((markdown-code-face &override) :background surface)
|
||||||
|
|
||||||
|
;; org <built-in>
|
||||||
|
(org-block :background (doom-blend yellow bg 0.04) :extend t)
|
||||||
|
(org-block-background :background (doom-blend yellow bg 0.04))
|
||||||
|
(org-block-begin-line :background (doom-blend yellow bg 0.08) :foreground comments :extend t)
|
||||||
|
(org-block-end-line :background (doom-blend yellow bg 0.08) :foreground comments :extend t)
|
||||||
|
(org-level-1 :foreground gold)
|
||||||
|
(org-level-2 :foreground rose)
|
||||||
|
(org-level-3 :foreground pine)
|
||||||
|
(org-level-4 :foreground iris)
|
||||||
|
(org-level-5 :foreground gold)
|
||||||
|
(org-level-6 :foreground rose)
|
||||||
|
(org-level-7 :foreground pine)
|
||||||
|
(org-level-8 :foreground iris)
|
||||||
|
|
||||||
|
;; Solaire mode line
|
||||||
|
(solaire-mode-line-face
|
||||||
|
:inherit 'mode-line
|
||||||
|
:background modeline-bg-alt
|
||||||
|
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg-alt)))
|
||||||
|
(solaire-mode-line-inactive-face
|
||||||
|
:inherit 'mode-line-inactive
|
||||||
|
:background modeline-bg-inactive-alt
|
||||||
|
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg-inactive-alt)))
|
||||||
|
|
||||||
|
;; Widget
|
||||||
|
(widget-field :foreground fg :background muted)
|
||||||
|
(widget-single-line-field :foreground fg :background muted)
|
||||||
|
|
||||||
|
;; Swiper
|
||||||
|
(swiper-line-face :background highlightM)
|
||||||
|
(swiper-match-face-1 :inherit 'ivy-minibuffer-match-face-1)
|
||||||
|
(swiper-match-face-2 :inherit 'ivy-minibuffer-match-face-2)
|
||||||
|
(swiper-match-face-3 :inherit 'ivy-minibuffer-match-face-3)
|
||||||
|
(swiper-match-face-4 :inherit 'ivy-minibuffer-match-face-4)))
|
||||||
|
|
||||||
|
;;; doom-rose-pine-dawn-theme.el ends here
|
||||||
244
config/.config/doom/themes/doom-rose-pine-moon-theme.el
Normal file
244
config/.config/doom/themes/doom-rose-pine-moon-theme.el
Normal file
@@ -0,0 +1,244 @@
|
|||||||
|
;;; doom-rose-pine-moon-theme.el --- A medium port of Rosé Pine Moon theme -*- lexical-binding: t; no-byte-compile: t; -*-
|
||||||
|
;;
|
||||||
|
;; Author: mvllow
|
||||||
|
;; Ported by: donniebreve
|
||||||
|
;; Keywords: custom themes, faces
|
||||||
|
;; Homepage: https://github.com/donniebreve/rose-pine-doom-emacs
|
||||||
|
;; Package-Requires: ((emacs "25.1") (cl-lib "0.5") (doom-themes "2.2.1"))
|
||||||
|
;;
|
||||||
|
;;; Commentary:
|
||||||
|
;;
|
||||||
|
;; Thanks to mvllow (https://github.com/rose-pine)
|
||||||
|
;; Thanks to hlissner (https://github.com/doomemacs/themes)
|
||||||
|
;;
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'doom-themes)
|
||||||
|
|
||||||
|
;;; Variables
|
||||||
|
(defgroup doom-rose-pine-moon-theme nil
|
||||||
|
"Options for the `doom-rose-pine-moon' theme."
|
||||||
|
:group 'doom-themes)
|
||||||
|
|
||||||
|
(defcustom doom-rose-pine-moon-brighter-modeline nil
|
||||||
|
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||||
|
:group 'doom-rose-pine-moon-theme
|
||||||
|
:type 'boolean)
|
||||||
|
|
||||||
|
(defcustom doom-rose-pine-moon-brighter-comments nil
|
||||||
|
"If non-nil, comments will be highlighted in more vivid colors."
|
||||||
|
:group 'doom-rose-pine-moon-theme
|
||||||
|
:type 'boolean)
|
||||||
|
|
||||||
|
(defcustom doom-rose-pine-moon-brighter-text nil
|
||||||
|
"If non-nil, default text will be brighter."
|
||||||
|
:group 'doom-rose-pine-moon-theme
|
||||||
|
:type 'boolean)
|
||||||
|
|
||||||
|
(defcustom doom-rose-pine-moon-padded-modeline doom-themes-padded-modeline
|
||||||
|
"If non-nil, adds a 4px padding to the mode-line. Can be an integer to determine the exact padding."
|
||||||
|
:group 'doom-rose-pine-moon-theme
|
||||||
|
:type '(choice integer boolean))
|
||||||
|
|
||||||
|
;;; Theme definition
|
||||||
|
(def-doom-theme doom-rose-pine-moon
|
||||||
|
"A medium port of Rosé Pine Moon theme"
|
||||||
|
|
||||||
|
;; Main theme colors
|
||||||
|
(
|
||||||
|
;; name default 256 16
|
||||||
|
(base '("#232136" "#232136" "black" ))
|
||||||
|
(surface '("#2a273f" "#2a273f" "brightblack" ))
|
||||||
|
(overlay '("#393552" "#393552" "brightblack" ))
|
||||||
|
(muted '("#6e6a86" "#6e6a86" "brightblack" ))
|
||||||
|
(subtle '("#908caa" "#908caa" "brightblack" ))
|
||||||
|
(text '("#e0def4" "#e0def4" "brightblack" ))
|
||||||
|
(love '("#eb6f92" "#eb6f92" "red" ))
|
||||||
|
(gold '("#f6c177" "#f6c177" "white" ))
|
||||||
|
(rose '("#ea9a97" "#ea9a97" "white" ))
|
||||||
|
(pine '("#3e8fb0" "#3e8fb0" "white" ))
|
||||||
|
(foam '("#9ccfd8" "#9ccfd8" "white" ))
|
||||||
|
(iris '("#c4a7e7" "#c4a7e7" "white" ))
|
||||||
|
(highlightL '("#2a283e" "#2a283e" "white" ))
|
||||||
|
(highlightM '("#44415a" "#44415a" "white" ))
|
||||||
|
(highlightH '("#56526e" "#56526e" "white" ))
|
||||||
|
|
||||||
|
;; Variables required by doom theme
|
||||||
|
;; These are required by doom theme and used in various places
|
||||||
|
(bg base)
|
||||||
|
(fg text)
|
||||||
|
;; These are off-color variants of bg/fg, used primarily for `solaire-mode',
|
||||||
|
;; but can also be useful as a basis for subtle highlights (e.g. for hl-line
|
||||||
|
;; or region), especially when paired with the `doom-darken', `doom-lighten',
|
||||||
|
;; and `doom-blend' helper functions.
|
||||||
|
(bg-alt surface)
|
||||||
|
(fg-alt text)
|
||||||
|
;; These should represent a spectrum from bg to fg, where base0 is a starker
|
||||||
|
;; bg and base8 is a starker fg. For example, if bg is light grey and fg is
|
||||||
|
;; dark grey, base0 should be white and base8 should be black.
|
||||||
|
(base0 base)
|
||||||
|
(base1 surface)
|
||||||
|
(base2 highlightL)
|
||||||
|
(base3 overlay)
|
||||||
|
(base4 highlightM)
|
||||||
|
(base5 highlightH)
|
||||||
|
(base6 muted)
|
||||||
|
(base7 subtle)
|
||||||
|
(base8 text)
|
||||||
|
(grey muted)
|
||||||
|
(red love)
|
||||||
|
(orange gold)
|
||||||
|
(green pine)
|
||||||
|
(teal foam)
|
||||||
|
(yellow rose)
|
||||||
|
(pink rose)
|
||||||
|
(blue pine)
|
||||||
|
(dark-blue pine)
|
||||||
|
(magenta iris)
|
||||||
|
(violet iris)
|
||||||
|
(cyan foam)
|
||||||
|
(dark-cyan pine)
|
||||||
|
;; Variables required by doom theme ends here
|
||||||
|
|
||||||
|
;; Required face categories for syntax highlighting
|
||||||
|
(highlight subtle) ; cursor
|
||||||
|
(selection base) ; can't figure out where this is used
|
||||||
|
(region overlay) ; visual selection
|
||||||
|
(vertical-bar surface) ; window split
|
||||||
|
|
||||||
|
(comments (if doom-rose-pine-moon-brighter-comments subtle muted))
|
||||||
|
(doc-comments (if doom-rose-pine-moon-brighter-comments subtle muted))
|
||||||
|
|
||||||
|
(builtin pine)
|
||||||
|
(constants iris)
|
||||||
|
(functions pine)
|
||||||
|
(keywords pine)
|
||||||
|
(methods foam)
|
||||||
|
(numbers rose)
|
||||||
|
(operators gold)
|
||||||
|
(strings gold)
|
||||||
|
(type rose)
|
||||||
|
(variables iris)
|
||||||
|
|
||||||
|
(error love)
|
||||||
|
(success foam)
|
||||||
|
(warning gold)
|
||||||
|
|
||||||
|
(vc-added foam)
|
||||||
|
(vc-deleted love)
|
||||||
|
(vc-modified gold)
|
||||||
|
|
||||||
|
;; Other categories
|
||||||
|
;; Modeline
|
||||||
|
(modeline-bg (if doom-rose-pine-moon-brighter-modeline overlay surface))
|
||||||
|
(modeline-fg text)
|
||||||
|
(modeline-bg-alt (if doom-rose-pine-moon-brighter-modeline muted overlay))
|
||||||
|
(modeline-fg-alt text) ; should this be darker or lighter?
|
||||||
|
(modeline-bg-inactive base)
|
||||||
|
(modeline-fg-inactive subtle)
|
||||||
|
(modeline-bg-inactive-alt base)
|
||||||
|
(modeline-fg-inactive-alt subtle)
|
||||||
|
(modeline-pad
|
||||||
|
(when doom-rose-pine-moon-padded-modeline
|
||||||
|
if (integerp doom-rose-pine-moon-padded-modeline) doom-rose-pine-padded-modeline 4)))
|
||||||
|
|
||||||
|
;; Base theme face overrides
|
||||||
|
(
|
||||||
|
;; Font
|
||||||
|
((font-lock-comment-face &override)
|
||||||
|
:slant 'italic
|
||||||
|
:background (if doom-rose-pine-moon-brighter-comments (doom-blend teal base 0.07)))
|
||||||
|
((font-lock-type-face &override) :slant 'italic)
|
||||||
|
((font-lock-builtin-face &override) :slant 'italic)
|
||||||
|
((font-lock-function-name-face &override) :foreground type)
|
||||||
|
((font-lock-keyword-face &override) :weight 'bold)
|
||||||
|
((font-lock-constant-face &override) :weight 'bold)
|
||||||
|
|
||||||
|
;; Highlight line
|
||||||
|
(hl-line
|
||||||
|
:background surface)
|
||||||
|
|
||||||
|
;; Line numbers
|
||||||
|
((line-number &override) :foreground muted)
|
||||||
|
((line-number-current-line &override) :foreground text)
|
||||||
|
|
||||||
|
;; Mode line
|
||||||
|
(mode-line
|
||||||
|
:background modeline-bg
|
||||||
|
:foreground modeline-fg
|
||||||
|
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg)))
|
||||||
|
(mode-line-inactive
|
||||||
|
:background modeline-bg-inactive
|
||||||
|
:foreground modeline-fg-inactive
|
||||||
|
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg-inactive)))
|
||||||
|
(mode-line-emphasis
|
||||||
|
:foreground (if doom-rose-pine-moon-brighter-modeline text subtle))
|
||||||
|
|
||||||
|
;; Company
|
||||||
|
(company-tooltip-selection :background blue :foreground muted)
|
||||||
|
|
||||||
|
;; CSS mode <built-in> / scss-mode
|
||||||
|
(css-proprietary-property :foreground orange)
|
||||||
|
(css-property :foreground green)
|
||||||
|
(css-selector :foreground green)
|
||||||
|
|
||||||
|
;; Doom mode line
|
||||||
|
(doom-modeline-bar :background green) ; The line to the left
|
||||||
|
(doom-modeline-evil-emacs-state :foreground magenta) ; The dot color when in emacs mode
|
||||||
|
(doom-modeline-evil-normal-state :foreground green) ; The dot color when in normal mode
|
||||||
|
(doom-modeline-evil-visual-state :foreground magenta) ; The dot color when in visual mode
|
||||||
|
(doom-modeline-evil-insert-state :foreground orange) ; The dot color when in insert mode
|
||||||
|
|
||||||
|
;; Helm
|
||||||
|
(helm-selection :foreground base :weight 'bold :background blue)
|
||||||
|
|
||||||
|
;; Ivy
|
||||||
|
(ivy-current-match :background overlay :distant-foreground fg)
|
||||||
|
(ivy-minibuffer-match-face-1 :foreground pine :background nil :weight 'bold)
|
||||||
|
(ivy-minibuffer-match-face-2 :foreground iris :background nil :weight 'bold)
|
||||||
|
(ivy-minibuffer-match-face-3 :foreground gold :background nil :weight 'bold)
|
||||||
|
(ivy-minibuffer-match-face-4 :foreground rose :background nil :weight 'bold)
|
||||||
|
(ivy-minibuffer-match-highlight :foreground magenta :weight 'bold)
|
||||||
|
(ivy-posframe :background modeline-bg-alt)
|
||||||
|
|
||||||
|
;; Markdown mode
|
||||||
|
(markdown-markup-face :foreground text)
|
||||||
|
(markdown-header-face :inherit 'bold :foreground red)
|
||||||
|
((markdown-code-face &override) :background surface)
|
||||||
|
|
||||||
|
;; org <built-in>
|
||||||
|
(org-block :background (doom-blend yellow bg 0.04) :extend t)
|
||||||
|
(org-block-background :background (doom-blend yellow bg 0.04))
|
||||||
|
(org-block-begin-line :background (doom-blend yellow bg 0.08) :foreground comments :extend t)
|
||||||
|
(org-block-end-line :background (doom-blend yellow bg 0.08) :foreground comments :extend t)
|
||||||
|
(org-level-1 :foreground gold)
|
||||||
|
(org-level-2 :foreground rose)
|
||||||
|
(org-level-3 :foreground pine)
|
||||||
|
(org-level-4 :foreground iris)
|
||||||
|
(org-level-5 :foreground gold)
|
||||||
|
(org-level-6 :foreground rose)
|
||||||
|
(org-level-7 :foreground pine)
|
||||||
|
(org-level-8 :foreground iris)
|
||||||
|
|
||||||
|
;; Solaire mode line
|
||||||
|
(solaire-mode-line-face
|
||||||
|
:inherit 'mode-line
|
||||||
|
:background modeline-bg-alt
|
||||||
|
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg-alt)))
|
||||||
|
(solaire-mode-line-inactive-face
|
||||||
|
:inherit 'mode-line-inactive
|
||||||
|
:background modeline-bg-inactive-alt
|
||||||
|
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg-inactive-alt)))
|
||||||
|
|
||||||
|
;; Widget
|
||||||
|
(widget-field :foreground fg :background muted)
|
||||||
|
(widget-single-line-field :foreground fg :background muted)
|
||||||
|
|
||||||
|
;; Swiper
|
||||||
|
(swiper-line-face :background highlightM)
|
||||||
|
(swiper-match-face-1 :inherit 'ivy-minibuffer-match-face-1)
|
||||||
|
(swiper-match-face-2 :inherit 'ivy-minibuffer-match-face-2)
|
||||||
|
(swiper-match-face-3 :inherit 'ivy-minibuffer-match-face-3)
|
||||||
|
(swiper-match-face-4 :inherit 'ivy-minibuffer-match-face-4)))
|
||||||
|
|
||||||
|
;;; doom-rose-pine-moon-theme.el ends here
|
||||||
242
config/.config/doom/themes/doom-rose-pine-theme.el
Normal file
242
config/.config/doom/themes/doom-rose-pine-theme.el
Normal file
@@ -0,0 +1,242 @@
|
|||||||
|
;;; doom-rose-pine-theme.el --- A dark port of Rosé Pine theme -*- lexical-binding: t; no-byte-compile: t; -*-
|
||||||
|
;;
|
||||||
|
;; Author: mvllow
|
||||||
|
;; Ported by: donniebreve
|
||||||
|
;; Keywords: custom themes, faces
|
||||||
|
;; Homepage: https://github.com/donniebreve/rose-pine-doom-emacs
|
||||||
|
;; Package-Requires: ((emacs "25.1") (cl-lib "0.5") (doom-themes "2.2.1"))
|
||||||
|
;;
|
||||||
|
;;; Commentary:
|
||||||
|
;;
|
||||||
|
;; Thanks to mvllow (https://github.com/rose-pine)
|
||||||
|
;; Thanks to hlissner (https://github.com/doomemacs/themes)
|
||||||
|
;;
|
||||||
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'doom-themes)
|
||||||
|
|
||||||
|
;;; Variables
|
||||||
|
(defgroup doom-rose-pine-theme nil
|
||||||
|
"Options for the `doom-rose-pine' theme."
|
||||||
|
:group 'doom-themes)
|
||||||
|
|
||||||
|
(defcustom doom-rose-pine-brighter-modeline nil
|
||||||
|
"If non-nil, more vivid colors will be used to style the mode-line."
|
||||||
|
:group 'doom-rose-pine-theme
|
||||||
|
:type 'boolean)
|
||||||
|
|
||||||
|
(defcustom doom-rose-pine-brighter-comments nil
|
||||||
|
"If non-nil, comments will be highlighted in more vivid colors."
|
||||||
|
:group 'doom-rose-pine-theme
|
||||||
|
:type 'boolean)
|
||||||
|
|
||||||
|
(defcustom doom-rose-pine-brighter-text nil
|
||||||
|
"If non-nil, default text will be brighter."
|
||||||
|
:group 'doom-rose-pine-theme
|
||||||
|
:type 'boolean)
|
||||||
|
|
||||||
|
(defcustom doom-rose-pine-padded-modeline doom-themes-padded-modeline
|
||||||
|
"If non-nil, adds a 4px padding to the mode-line. Can be an integer to determine the exact padding."
|
||||||
|
:group 'doom-rose-pine-theme
|
||||||
|
:type '(choice integer boolean))
|
||||||
|
|
||||||
|
;;; Theme definition
|
||||||
|
(def-doom-theme doom-rose-pine
|
||||||
|
"A dark port of Rosé Pine theme"
|
||||||
|
|
||||||
|
;; Main theme colors
|
||||||
|
(
|
||||||
|
;; name default 256 16
|
||||||
|
(base '("#191724" "#191724" "black" ))
|
||||||
|
(surface '("#1f1d2e" "#1f1d2e" "brightblack" ))
|
||||||
|
(overlay '("#26233a" "#26233a" "brightblack" ))
|
||||||
|
(muted '("#6e6a86" "#6e6a86" "brightblack" ))
|
||||||
|
(subtle '("#908caa" "#908caa" "brightblack" ))
|
||||||
|
(text '("#e0def4" "#e0def4" "brightblack" ))
|
||||||
|
(love '("#eb6f92" "#eb6f92" "red" ))
|
||||||
|
(gold '("#f6c177" "#f6c177" "white" ))
|
||||||
|
(rose '("#ebbcba" "#ebbcba" "white" ))
|
||||||
|
(pine '("#31748f" "#31748f" "white" ))
|
||||||
|
(foam '("#9ccfd8" "#9ccfd8" "white" ))
|
||||||
|
(iris '("#c4a7e7" "#c4a7e7" "white" ))
|
||||||
|
(highlightL '("#21202e" "#21202e" "grey" ))
|
||||||
|
(highlightM '("#403d52" "#403d52" "grey" ))
|
||||||
|
(highlightH '("#524f67" "#524f67" "grey" ))
|
||||||
|
|
||||||
|
;; Variables required by doom theme
|
||||||
|
;; These are required by doom theme and used in various places
|
||||||
|
(bg base)
|
||||||
|
(fg text)
|
||||||
|
;; These are off-color variants of bg/fg, used primarily for `solaire-mode',
|
||||||
|
;; but can also be useful as a basis for subtle highlights (e.g. for hl-line
|
||||||
|
;; or region), especially when paired with the `doom-darken', `doom-lighten',
|
||||||
|
;; and `doom-blend' helper functions.
|
||||||
|
(bg-alt surface)
|
||||||
|
(fg-alt text)
|
||||||
|
;; These should represent a spectrum from bg to fg, where base0 is a starker
|
||||||
|
;; bg and base8 is a starker fg. For example, if bg is light grey and fg is
|
||||||
|
;; dark grey, base0 should be white and base8 should be black.
|
||||||
|
(base0 base)
|
||||||
|
(base1 surface)
|
||||||
|
(base2 highlightL)
|
||||||
|
(base3 overlay)
|
||||||
|
(base4 highlightM)
|
||||||
|
(base5 highlightH)
|
||||||
|
(base6 muted)
|
||||||
|
(base7 subtle)
|
||||||
|
(base8 text)
|
||||||
|
(grey muted)
|
||||||
|
(red love)
|
||||||
|
(orange gold)
|
||||||
|
(green pine)
|
||||||
|
(teal pine)
|
||||||
|
(yellow rose)
|
||||||
|
(blue pine)
|
||||||
|
(dark-blue pine)
|
||||||
|
(magenta iris)
|
||||||
|
(violet iris)
|
||||||
|
(cyan foam)
|
||||||
|
(dark-cyan foam)
|
||||||
|
;; Variables required by doom theme ends here
|
||||||
|
|
||||||
|
;; Required face categories for syntax highlighting
|
||||||
|
(highlight subtle) ; cursor
|
||||||
|
(selection base) ; can't figure out where this is used
|
||||||
|
(region overlay) ; visual selection
|
||||||
|
(vertical-bar surface) ; window split
|
||||||
|
|
||||||
|
(comments (if doom-rose-pine-brighter-comments subtle muted))
|
||||||
|
(doc-comments (if doom-rose-pine-brighter-comments subtle muted))
|
||||||
|
|
||||||
|
(builtin pine)
|
||||||
|
(constants iris)
|
||||||
|
(functions pine)
|
||||||
|
(keywords pine)
|
||||||
|
(methods foam)
|
||||||
|
(numbers rose)
|
||||||
|
(operators gold)
|
||||||
|
(strings gold)
|
||||||
|
(type rose)
|
||||||
|
(variables iris)
|
||||||
|
|
||||||
|
(error love)
|
||||||
|
(success foam)
|
||||||
|
(warning gold)
|
||||||
|
|
||||||
|
(vc-added foam)
|
||||||
|
(vc-deleted love)
|
||||||
|
(vc-modified gold)
|
||||||
|
|
||||||
|
;; Other categories
|
||||||
|
;; Modeline
|
||||||
|
(modeline-bg (if doom-rose-pine-brighter-modeline overlay surface))
|
||||||
|
(modeline-fg text)
|
||||||
|
(modeline-bg-alt (if doom-rose-pine-brighter-modeline muted overlay))
|
||||||
|
(modeline-fg-alt text) ; should this be darker or lighter?
|
||||||
|
(modeline-bg-inactive base)
|
||||||
|
(modeline-fg-inactive subtle)
|
||||||
|
(modeline-bg-inactive-alt base)
|
||||||
|
(modeline-fg-inactive-alt subtle)
|
||||||
|
(modeline-pad
|
||||||
|
(when doom-rose-pine-padded-modeline
|
||||||
|
if (integerp doom-rose-pine-padded-modeline) doom-rose-pine-padded-modeline 4)))
|
||||||
|
|
||||||
|
;; Base theme face overrides
|
||||||
|
(
|
||||||
|
;; Font
|
||||||
|
((font-lock-comment-face &override)
|
||||||
|
:slant 'italic
|
||||||
|
:background (if doom-rose-pine-brighter-comments (doom-blend teal base 0.07)))
|
||||||
|
((font-lock-type-face &override) :slant 'italic)
|
||||||
|
((font-lock-builtin-face &override) :slant 'italic)
|
||||||
|
((font-lock-function-name-face &override) :foreground type)
|
||||||
|
((font-lock-keyword-face &override) :weight 'bold)
|
||||||
|
((font-lock-constant-face &override) :weight 'bold)
|
||||||
|
|
||||||
|
;; Highlight line
|
||||||
|
(hl-line
|
||||||
|
:background surface)
|
||||||
|
|
||||||
|
;; Line numbers
|
||||||
|
((line-number &override) :foreground muted)
|
||||||
|
((line-number-current-line &override) :foreground text)
|
||||||
|
|
||||||
|
;; Mode line
|
||||||
|
(mode-line
|
||||||
|
:background modeline-bg
|
||||||
|
:foreground modeline-fg
|
||||||
|
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg)))
|
||||||
|
(mode-line-inactive
|
||||||
|
:background modeline-bg-inactive
|
||||||
|
:foreground modeline-fg-inactive
|
||||||
|
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg-inactive)))
|
||||||
|
(mode-line-emphasis
|
||||||
|
:foreground (if doom-rose-pine-brighter-modeline text subtle))
|
||||||
|
|
||||||
|
;; Company
|
||||||
|
(company-tooltip-selection :background blue :foreground muted)
|
||||||
|
|
||||||
|
;; CSS mode <built-in> / scss-mode
|
||||||
|
(css-proprietary-property :foreground orange)
|
||||||
|
(css-property :foreground green)
|
||||||
|
(css-selector :foreground green)
|
||||||
|
|
||||||
|
;; Doom mode line
|
||||||
|
(doom-modeline-bar :background green) ; The line to the left
|
||||||
|
(doom-modeline-evil-emacs-state :foreground magenta) ; The dot color when in emacs mode
|
||||||
|
(doom-modeline-evil-normal-state :foreground green) ; The dot color when in normal mode
|
||||||
|
(doom-modeline-evil-visual-state :foreground magenta) ; The dot color when in visual mode
|
||||||
|
(doom-modeline-evil-insert-state :foreground orange) ; The dot color when in insert mode
|
||||||
|
|
||||||
|
;; Helm
|
||||||
|
(helm-selection :foreground base :weight 'bold :background blue)
|
||||||
|
|
||||||
|
;; Ivy
|
||||||
|
(ivy-current-match :background overlay :distant-foreground fg)
|
||||||
|
(ivy-minibuffer-match-face-1 :foreground pine :background nil :weight 'bold)
|
||||||
|
(ivy-minibuffer-match-face-2 :foreground iris :background nil :weight 'bold)
|
||||||
|
(ivy-minibuffer-match-face-3 :foreground gold :background nil :weight 'bold)
|
||||||
|
(ivy-minibuffer-match-face-4 :foreground rose :background nil :weight 'bold)
|
||||||
|
(ivy-minibuffer-match-highlight :foreground magenta :weight 'bold)
|
||||||
|
(ivy-posframe :background modeline-bg-alt)
|
||||||
|
|
||||||
|
;; Markdown mode
|
||||||
|
(markdown-markup-face :foreground text)
|
||||||
|
(markdown-header-face :inherit 'bold :foreground red)
|
||||||
|
((markdown-code-face &override) :background surface)
|
||||||
|
|
||||||
|
;; org <built-in>
|
||||||
|
(org-block :background (doom-blend yellow bg 0.04) :extend t)
|
||||||
|
(org-block-background :background (doom-blend yellow bg 0.04))
|
||||||
|
(org-block-begin-line :background (doom-blend yellow bg 0.08) :foreground comments :extend t)
|
||||||
|
(org-block-end-line :background (doom-blend yellow bg 0.08) :foreground comments :extend t)
|
||||||
|
(org-level-1 :foreground gold)
|
||||||
|
(org-level-2 :foreground rose)
|
||||||
|
(org-level-3 :foreground pine)
|
||||||
|
(org-level-4 :foreground iris)
|
||||||
|
(org-level-5 :foreground gold)
|
||||||
|
(org-level-6 :foreground rose)
|
||||||
|
(org-level-7 :foreground pine)
|
||||||
|
(org-level-8 :foreground iris)
|
||||||
|
|
||||||
|
;; Solaire mode line
|
||||||
|
(solaire-mode-line-face
|
||||||
|
:inherit 'mode-line
|
||||||
|
:background modeline-bg-alt
|
||||||
|
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg-alt)))
|
||||||
|
(solaire-mode-line-inactive-face
|
||||||
|
:inherit 'mode-line-inactive
|
||||||
|
:background modeline-bg-inactive-alt
|
||||||
|
:box (if modeline-pad `(:line-width ,modeline-pad :color ,modeline-bg-inactive-alt)))
|
||||||
|
|
||||||
|
;; Widget
|
||||||
|
(widget-field :foreground fg :background muted)
|
||||||
|
(widget-single-line-field :foreground fg :background muted)
|
||||||
|
|
||||||
|
;; Swiper
|
||||||
|
(swiper-match-face-1 :inherit 'ivy-minibuffer-match-face-1)
|
||||||
|
(swiper-match-face-2 :inherit 'ivy-minibuffer-match-face-2)
|
||||||
|
(swiper-match-face-3 :inherit 'ivy-minibuffer-match-face-3)
|
||||||
|
(swiper-match-face-4 :inherit 'ivy-minibuffer-match-face-4)))
|
||||||
|
|
||||||
|
;;; doom-rose-pine-theme.el ends here
|
||||||
3
config/.config/falkon/custom.css
Normal file
3
config/.config/falkon/custom.css
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
* {
|
||||||
|
font-family: sans-serif;
|
||||||
|
}
|
||||||
38
config/.config/ghostty/config
Normal file
38
config/.config/ghostty/config
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
font-family = ""
|
||||||
|
# font-family = "FairfaxHaxHD"
|
||||||
|
# font-family = "PragmataPro Liga"
|
||||||
|
# font-family = "BigBlueTermPlus Nerd Font"
|
||||||
|
# font-family = "Olympe Mono Hacked"
|
||||||
|
font-family = "Iosevka Term SS12"
|
||||||
|
font-family = "Cascadia Code"
|
||||||
|
font-family = "CaskaydiaCove Nerd Font"
|
||||||
|
# font-family = "Terminess Nerd Font Mono"
|
||||||
|
# font-family = "Ubuntu Mono Nerd Font"
|
||||||
|
# font-family = "Victor Mono Nerd Font"
|
||||||
|
# font-family = "Sudo"
|
||||||
|
# theme = light:rose-pine-dawn,dark:rose-pine
|
||||||
|
font-size = 14
|
||||||
|
font-thicken = true
|
||||||
|
# font-variation = wdth=100
|
||||||
|
# theme = light:xcodelight,dark:xcodedark
|
||||||
|
theme = light:Dawnfox,dark:Carbonfox
|
||||||
|
# theme = Monokai Classic
|
||||||
|
# window-decoration = false
|
||||||
|
# gtk-adwaita = true
|
||||||
|
window-decoration = true
|
||||||
|
shell-integration-features = true
|
||||||
|
mouse-scroll-multiplier = 1
|
||||||
|
|
||||||
|
# tmux style binds
|
||||||
|
keybind = ctrl+a>c=new_tab
|
||||||
|
keybind = ctrl+a>x=close_surface
|
||||||
|
keybind = ctrl+a>n=next_tab
|
||||||
|
keybind = ctrl+a>p=previous_tab
|
||||||
|
keybind = ctrl+a>comma=prompt_tab_title
|
||||||
|
keybind = ctrl+a>shift+5=new_split:right
|
||||||
|
keybind = ctrl+a>shift+quote=new_split:down
|
||||||
|
keybind = ctrl+a>o=goto_split:next
|
||||||
|
keybind = ctrl+a>l=goto_split:right
|
||||||
|
keybind = ctrl+a>h=goto_split:left
|
||||||
|
keybind = ctrl+a>j=goto_split:down
|
||||||
|
keybind = ctrl+a>k=goto_split:up
|
||||||
39
config/.config/helix/config.toml
Normal file
39
config/.config/helix/config.toml
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
theme = "rose_pine"
|
||||||
|
|
||||||
|
[editor]
|
||||||
|
line-number = "relative"
|
||||||
|
rulers = [80]
|
||||||
|
color-modes = true
|
||||||
|
completion-trigger-len = 1
|
||||||
|
idle-timeout = 50
|
||||||
|
|
||||||
|
[editor.statusline]
|
||||||
|
left = []
|
||||||
|
center = []
|
||||||
|
right = ["spinner", "diagnostics", "version-control", "file-modification-indicator", "file-name", "file-encoding", "read-only-indicator", "position", "mode", "selections", "spacer"]
|
||||||
|
mode.normal = "normal"
|
||||||
|
mode.insert = "insert"
|
||||||
|
mode.select = "select"
|
||||||
|
|
||||||
|
[editor.lsp]
|
||||||
|
display-inlay-hints = true
|
||||||
|
display-messages = true
|
||||||
|
display-progress-messages = true
|
||||||
|
|
||||||
|
[editor.cursor-shape]
|
||||||
|
normal = "block"
|
||||||
|
insert = "bar"
|
||||||
|
select = "underline"
|
||||||
|
|
||||||
|
[editor.indent-guides]
|
||||||
|
render = true
|
||||||
|
|
||||||
|
[keys.normal."space".e] # config mode
|
||||||
|
c = ":config-open"
|
||||||
|
l = ":e ~/.config/helix/languages.toml"
|
||||||
|
r = ":config-reload"
|
||||||
|
|
||||||
|
[keys.normal.g]
|
||||||
|
j = "goto_last_line"
|
||||||
|
k = "goto_file_start"
|
||||||
|
e = "goto_file_end"
|
||||||
6
config/.config/helix/languages.toml
Executable file
6
config/.config/helix/languages.toml
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
[[languages]]
|
||||||
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
|
||||||
|
[language-server.harper-ls]
|
||||||
|
command = "harper-ls"
|
||||||
|
args = ["--stdio"]
|
||||||
File diff suppressed because it is too large
Load Diff
191
config/.config/kak/colors/carbonfox.kak
Normal file
191
config/.config/kak/colors/carbonfox.kak
Normal file
@@ -0,0 +1,191 @@
|
|||||||
|
# Carbonfox theme for Kakoune
|
||||||
|
#
|
||||||
|
# Taken and adapted from
|
||||||
|
# <https://github.com/EdenEast/nightfox.nvim/blob/main/lua/nightfox/palette/carbonfox.lua>
|
||||||
|
|
||||||
|
# Color palette
|
||||||
|
declare-option str black_base "rgb:282828"
|
||||||
|
declare-option str black_dim "rgb:222222"
|
||||||
|
declare-option str black_bright "rgb:484848"
|
||||||
|
|
||||||
|
declare-option str red_base "rgb:ee5396"
|
||||||
|
declare-option str red_dim "rgb:ca4780"
|
||||||
|
declare-option str red_bright "rgb:f16da6"
|
||||||
|
|
||||||
|
declare-option str green_base "rgb:25be6a"
|
||||||
|
declare-option str green_dim "rgb:1fa25a"
|
||||||
|
declare-option str green_bright "rgb:46c880"
|
||||||
|
|
||||||
|
declare-option str yellow_base "rgb:08bdba"
|
||||||
|
declare-option str yellow_dim "rgb:07a19e"
|
||||||
|
declare-option str yellow_bright "rgb:2dc7c4"
|
||||||
|
|
||||||
|
declare-option str blue_base "rgb:78a9ff"
|
||||||
|
declare-option str blue_dim "rgb:6690d9"
|
||||||
|
declare-option str blue_bright "rgb:8cb6ff"
|
||||||
|
|
||||||
|
declare-option str magenta_base "rgb:be95ff"
|
||||||
|
declare-option str magenta_dim "rgb:a27fd9"
|
||||||
|
declare-option str magenta_bright "rgb:c8a5ff"
|
||||||
|
|
||||||
|
declare-option str cyan_base "rgb:33b1ff"
|
||||||
|
declare-option str cyan_dim "rgb:2b96d9"
|
||||||
|
declare-option str cyan_bright "rgb:52bdff"
|
||||||
|
|
||||||
|
declare-option str white_base "rgb:dfdfe0"
|
||||||
|
declare-option str white_dim "rgb:bebebe"
|
||||||
|
declare-option str white_bright "rgb:e4e4e5"
|
||||||
|
|
||||||
|
declare-option str orange_base "rgb:3ddbd9"
|
||||||
|
declare-option str orange_dim "rgb:34bab8"
|
||||||
|
declare-option str orange_bright "rgb:5ae0df"
|
||||||
|
|
||||||
|
declare-option str pink_base "rgb:ff7eb6"
|
||||||
|
declare-option str pink_dim "rgb:d96b9b"
|
||||||
|
declare-option str pink_bright "rgb:ff91c1"
|
||||||
|
|
||||||
|
declare-option str bg0 "rgb:0c0c0c"
|
||||||
|
declare-option str bg1 "rgb:161616"
|
||||||
|
declare-option str bg2 "rgb:252525"
|
||||||
|
declare-option str bg3 "rgb:353535"
|
||||||
|
declare-option str bg4 "rgb:535353"
|
||||||
|
|
||||||
|
declare-option str fg0 "rgb:f9fbff"
|
||||||
|
declare-option str fg1 "rgb:f2f4f8"
|
||||||
|
declare-option str fg2 "rgb:b6b8bb"
|
||||||
|
declare-option str fg3 "rgb:7b7c7e"
|
||||||
|
|
||||||
|
declare-option str comment "rgb:6e6f70"
|
||||||
|
|
||||||
|
declare-option str sel1 "rgb:525253"
|
||||||
|
declare-option str sel0 "rgb:2a2a2a"
|
||||||
|
|
||||||
|
# Markup
|
||||||
|
set-face global title "%opt{yellow_base}"
|
||||||
|
set-face global header "%opt{red_bright}"
|
||||||
|
set-face global bold "%opt{fg1}+b"
|
||||||
|
set-face global italic "%opt{fg1}+i"
|
||||||
|
|
||||||
|
# Builtins
|
||||||
|
set-face global Default "%opt{fg1},%opt{bg1}"
|
||||||
|
set-face global PrimarySelection "%opt{fg2},%opt{sel0}"
|
||||||
|
set-face global SecondarySelection "%opt{fg3},%opt{sel1}"
|
||||||
|
set-face global PrimaryCursor "%opt{bg1},%opt{fg1}"
|
||||||
|
set-face global SecondaryCursor "%opt{bg1},%opt{fg2}"
|
||||||
|
set-face global PrimaryCursorEol "%opt{fg2},%opt{blue_bright}"
|
||||||
|
set-face global SecondaryCursorEol "%opt{fg3},%opt{blue_dim}"
|
||||||
|
set-face global LineNumbers "%opt{fg3},%opt{bg1}"
|
||||||
|
set-face global LineNumberCursor "%opt{fg2},%opt{bg1}"
|
||||||
|
set-face global LineNumbersWrapped "%opt{fg3},%opt{bg1}+i"
|
||||||
|
set-face global MenuForeground "%opt{fg1},%opt{sel1}"
|
||||||
|
set-face global MenuBackground "%opt{fg1},%opt{sel0}"
|
||||||
|
set-face global MenuInfo "%opt{fg1},%opt{bg0}"
|
||||||
|
set-face global Information "%opt{fg1},%opt{bg0}"
|
||||||
|
set-face global Error "%opt{red_base},%opt{bg0}"
|
||||||
|
set-face global StatusLine "%opt{fg2},%opt{bg0}"
|
||||||
|
set-face global StatusLineMode "%opt{green_bright},%opt{bg0}"
|
||||||
|
set-face global StatusLineInfo "%opt{blue_bright},%opt{bg0}"
|
||||||
|
set-face global StatusLineValue "%opt{orange_base},%opt{bg0}"
|
||||||
|
set-face global StatusCursor "%opt{bg0},%opt{fg2}"
|
||||||
|
set-face global Prompt "%opt{blue_bright},%opt{bg0}"
|
||||||
|
set-face global MatchingChar "%opt{fg1},%opt{sel1}"
|
||||||
|
set-face global Whitespace "%opt{fg3},%opt{bg1}"
|
||||||
|
set-face global WrapMarker Whitespace
|
||||||
|
set-face global BufferPadding "%opt{blue_dim},%opt{bg1}"
|
||||||
|
|
||||||
|
# Code
|
||||||
|
set-face global value "%opt{orange_bright}"
|
||||||
|
set-face global type "%opt{yellow_base}"
|
||||||
|
set-face global variable "%opt{white_base}"
|
||||||
|
set-face global module "%opt{blue_base}"
|
||||||
|
set-face global function "%opt{blue_bright}"
|
||||||
|
set-face global string "%opt{green_base}"
|
||||||
|
set-face global keyword "%opt{magenta_base}"
|
||||||
|
set-face global operator "%opt{fg2}"
|
||||||
|
set-face global attribute "%opt{blue_base}"
|
||||||
|
set-face global comment "%opt{comment}"
|
||||||
|
set-face global documentation comment
|
||||||
|
set-face global meta "%opt{pink_bright}"
|
||||||
|
set-face global builtin "%opt{red_base}"
|
||||||
|
|
||||||
|
# Tree-sitter (<https://github.com/hadronized/kak-tree-sitter>)
|
||||||
|
set-face global ts_attribute "%opt{yellow_base}"
|
||||||
|
set-face global ts_comment "%opt{comment}"
|
||||||
|
set-face global ts_comment_unused "%opt{comment}"
|
||||||
|
set-face global ts_conceal "%opt{magenta_dim}"
|
||||||
|
set-face global ts_constant "%opt{orange_bright}"
|
||||||
|
set-face global ts_constant_builtin_boolean "%opt{orange_bright}"
|
||||||
|
set-face global ts_constant_character "%opt{green_base}"
|
||||||
|
set-face global ts_constant_macro "%opt{orange_bright}"
|
||||||
|
set-face global ts_constructor "%opt{cyan_base}"
|
||||||
|
set-face global ts_diff_plus "%opt{green_base}"
|
||||||
|
set-face global ts_diff_minus "%opt{red_base}"
|
||||||
|
set-face global ts_diff_delta "%opt{yellow_base}"
|
||||||
|
set-face global ts_diff_delta_moved "%opt{blue_base}"
|
||||||
|
set-face global ts_error "%opt{red_base}"
|
||||||
|
set-face global ts_function "%opt{blue_bright}"
|
||||||
|
set-face global ts_function_builtin "%opt{pink_base}"
|
||||||
|
set-face global ts_function_macro "%opt{pink_bright}"
|
||||||
|
set-face global ts_function_method_private "%opt{blue_dim}"
|
||||||
|
set-face global ts_hint "%opt{orange_base}"
|
||||||
|
set-face global ts_info "%opt{blue_base}"
|
||||||
|
set-face global ts_keyword "%opt{magenta_base}"
|
||||||
|
set-face global ts_keyword_conditional "%opt{magenta_bright}"
|
||||||
|
set-face global ts_keyword_control_conditional "%opt{magenta_bright}"
|
||||||
|
set-face global ts_keyword_control_directive "%opt{pink_bright}"
|
||||||
|
set-face global ts_keyword_control_import "%opt{orange_bright}"
|
||||||
|
set-face global ts_keyword_directive "%opt{pink_bright}"
|
||||||
|
set-face global ts_keyword_storage "%opt{blue_base}"
|
||||||
|
set-face global ts_keyword_storage_modifier "%opt{magenta_base}"
|
||||||
|
set-face global ts_keyword_storage_modifier_mut "%opt{blue_bright}"
|
||||||
|
set-face global ts_keyword_storage_modifier_ref "%opt{blue_bright}"
|
||||||
|
set-face global ts_label "%opt{pink_base}+i"
|
||||||
|
set-face global ts_markup_bold "%opt{red_base}+b"
|
||||||
|
set-face global ts_markup_heading "%opt{blue_base}"
|
||||||
|
set-face global ts_markup_heading_1 "%opt{blue_base}"
|
||||||
|
set-face global ts_markup_heading_2 "%opt{blue_base}"
|
||||||
|
set-face global ts_markup_heading_3 "%opt{blue_base}"
|
||||||
|
set-face global ts_markup_heading_4 "%opt{blue_base}"
|
||||||
|
set-face global ts_markup_heading_5 "%opt{blue_base}"
|
||||||
|
set-face global ts_markup_heading_6 "%opt{blue_base}"
|
||||||
|
set-face global ts_markup_heading_marker "%opt{orange_base}+b"
|
||||||
|
set-face global ts_markup_italic "%opt{pink_base}+i"
|
||||||
|
set-face global ts_markup_list_checked "%opt{green_base}"
|
||||||
|
set-face global ts_markup_list_numbered "%opt{fg2}"
|
||||||
|
set-face global ts_markup_list_unchecked "%opt{cyan_base}"
|
||||||
|
set-face global ts_markup_list_unnumbered "%opt{fg2}"
|
||||||
|
set-face global ts_markup_link_label "%opt{blue_base}"
|
||||||
|
set-face global ts_markup_link_url "%opt{cyan_base}+u"
|
||||||
|
set-face global ts_markup_link_uri "%opt{cyan_base}+u"
|
||||||
|
set-face global ts_markup_link_text "%opt{blue_base}"
|
||||||
|
set-face global ts_markup_quote "%opt{fg2},%opt{bg2}"
|
||||||
|
set-face global ts_markup_raw "%opt{green_base}"
|
||||||
|
set-face global ts_markup_strikethrough "%opt{fg1}+s"
|
||||||
|
set-face global ts_namespace "%opt{cyan_base}"
|
||||||
|
set-face global ts_operator "%opt{fg2}"
|
||||||
|
set-face global ts_property "%opt{blue_base}"
|
||||||
|
set-face global ts_punctuation "%opt{fg2}"
|
||||||
|
set-face global ts_punctuation_special "%opt{blue_bright}"
|
||||||
|
set-face global ts_special "%opt{blue_base}"
|
||||||
|
set-face global ts_spell "%opt{fg1},%opt{bg1},%opt{red_base}+c"
|
||||||
|
set-face global ts_string "%opt{green_base}"
|
||||||
|
set-face global ts_string_regex "%opt{yellow_bright}"
|
||||||
|
set-face global ts_string_regexp "%opt{yellow_bright}"
|
||||||
|
set-face global ts_string_escape "%opt{cyan_base}"
|
||||||
|
set-face global ts_string_special "%opt{green_base}"
|
||||||
|
set-face global ts_string_special_path "%opt{green_base}"
|
||||||
|
set-face global ts_string_special_symbol "%opt{green_base}"
|
||||||
|
set-face global ts_string_symbol "%opt{green_base}"
|
||||||
|
set-face global ts_tag "%opt{blue_base}"
|
||||||
|
set-face global ts_tag_error "%opt{red_base}"
|
||||||
|
set-face global ts_text "%opt{white_base}"
|
||||||
|
set-face global ts_text_title "%opt{orange_base}"
|
||||||
|
set-face global ts_type "%opt{yellow_base}"
|
||||||
|
set-face global ts_type_enum_variant "%opt{yellow_base}"
|
||||||
|
set-face global ts_type_enum_variant_builtin "%opt{orange_bright}"
|
||||||
|
set-face global ts_variable "%opt{white_base}"
|
||||||
|
set-face global ts_variable_builtin "%opt{red_base}"
|
||||||
|
set-face global ts_variable_other_member "%opt{cyan_base}"
|
||||||
|
set-face global ts_variable_other_member_private "%opt{cyan_dim}"
|
||||||
|
set-face global ts_variable_parameter "%opt{blue_base}"
|
||||||
|
set-face global ts_warning "%opt{magenta_base}"
|
||||||
@@ -1,163 +0,0 @@
|
|||||||
# Catppuccin Macchiato theme for Kakoune
|
|
||||||
#
|
|
||||||
# Taken and adapted from
|
|
||||||
# <https://github.com/catppuccin/kakoune/blob/e52fb5c95f70c297fea1fd58613284817b5a50bd/colors/catppuccin_macchiato.kak>
|
|
||||||
|
|
||||||
# Color palette
|
|
||||||
declare-option str rosewater "rgb:f4dbd6"
|
|
||||||
declare-option str red "rgb:ed8796"
|
|
||||||
declare-option str mauve "rgb:c6a0f6"
|
|
||||||
declare-option str maroon "rgb:ee99a0"
|
|
||||||
declare-option str pink "rgb:f5bde6"
|
|
||||||
declare-option str cyan "rgb:7dc4e4"
|
|
||||||
declare-option str yellow "rgb:eed49f"
|
|
||||||
declare-option str green "rgb:a6da95"
|
|
||||||
declare-option str white "rgb:cad3f5"
|
|
||||||
declare-option str blue "rgb:8aadf4"
|
|
||||||
declare-option str sky "rgb:91d7e3"
|
|
||||||
declare-option str lavender "rgb:b7bdf8"
|
|
||||||
declare-option str black1 "rgb:1e2030"
|
|
||||||
declare-option str black2 "rgb:24273a"
|
|
||||||
declare-option str black3 "rgb:363a4f"
|
|
||||||
declare-option str orange "rgb:f5a97f"
|
|
||||||
declare-option str teal "rgb:8bd5ca"
|
|
||||||
declare-option str flamingo "rgb:f0c6c6"
|
|
||||||
declare-option str gray0 "rgb:5b6078"
|
|
||||||
declare-option str gray1 "rgb:6e738d"
|
|
||||||
declare-option str bright_red "%opt{red}+b"
|
|
||||||
declare-option str bright_green "%opt{green}+b"
|
|
||||||
declare-option str bright_yellow "%opt{yellow}+b"
|
|
||||||
declare-option str bright_blue "%opt{blue}+b"
|
|
||||||
declare-option str bright_cyan "%opt{cyan}+b"
|
|
||||||
declare-option str bright_white "%opt{white}+b"
|
|
||||||
declare-option str foreground %opt{white}
|
|
||||||
declare-option str background %opt{black2}
|
|
||||||
declare-option str overlay0 "rgb:8087a2"
|
|
||||||
declare-option str overlay1 "rgb:939ab7"
|
|
||||||
|
|
||||||
# Markup
|
|
||||||
set-face global title "%opt{rosewater}"
|
|
||||||
set-face global header "%opt{bright_red}"
|
|
||||||
set-face global bold "%opt{mauve}"
|
|
||||||
set-face global italic "%opt{lavender}"
|
|
||||||
set-face global mono "%opt{green}"
|
|
||||||
set-face global block "%opt{cyan}"
|
|
||||||
set-face global link "%opt{green}"
|
|
||||||
set-face global bullet "%opt{green}"
|
|
||||||
set-face global list "%opt{white}"
|
|
||||||
|
|
||||||
# Builtins
|
|
||||||
set-face global Default "%opt{white},%opt{background}"
|
|
||||||
set-face global PrimarySelection "%opt{gray0},%opt{lavender}"
|
|
||||||
set-face global SecondarySelection "%opt{lavender},%opt{gray0}"
|
|
||||||
set-face global PrimaryCursor "%opt{background},%opt{rosewater}"
|
|
||||||
set-face global SecondaryCursor "%opt{black1},%opt{teal}"
|
|
||||||
set-face global PrimaryCursorEol "%opt{gray0},%opt{mauve}"
|
|
||||||
set-face global SecondaryCursorEol "%opt{gray0},%opt{maroon}"
|
|
||||||
set-face global LineNumbers "%opt{gray1},%opt{background}"
|
|
||||||
set-face global LineNumberCursor "%opt{lavender},%opt{gray0}+b"
|
|
||||||
set-face global LineNumbersWrapped "%opt{teal},%opt{black1}+i"
|
|
||||||
set-face global MenuForeground "%opt{white},%opt{gray0}+b"
|
|
||||||
set-face global MenuBackground "%opt{white},%opt{black3}"
|
|
||||||
set-face global MenuInfo "%opt{black1},%opt{blue}"
|
|
||||||
set-face global Information "%opt{black1},%opt{lavender}"
|
|
||||||
set-face global Error "%opt{red},%opt{black2}"
|
|
||||||
set-face global StatusLine "%opt{white},%opt{black1}"
|
|
||||||
set-face global StatusLineMode "%opt{black2},%opt{yellow}"
|
|
||||||
set-face global StatusLineInfo "%opt{background},%opt{green}"
|
|
||||||
set-face global StatusLineValue "%opt{orange},%opt{gray0}"
|
|
||||||
set-face global StatusCursor "%opt{black1},%opt{lavender}"
|
|
||||||
set-face global Prompt "%opt{green},%opt{black2}"
|
|
||||||
set-face global MatchingChar "%opt{maroon},%opt{black2}"
|
|
||||||
set-face global Whitespace "%opt{gray1},%opt{background}+f"
|
|
||||||
set-face global WrapMarker Whitespace
|
|
||||||
set-face global BufferPadding "%opt{background},%opt{background}"
|
|
||||||
|
|
||||||
# Code
|
|
||||||
set-face global value "%opt{orange}"
|
|
||||||
set-face global type "%opt{rosewater}"
|
|
||||||
set-face global variable "%opt{white}"
|
|
||||||
set-face global module "%opt{maroon}"
|
|
||||||
set-face global function "%opt{sky}"
|
|
||||||
set-face global string "%opt{green}"
|
|
||||||
set-face global keyword "%opt{blue}"
|
|
||||||
set-face global operator "%opt{blue}"
|
|
||||||
set-face global attribute "%opt{green}"
|
|
||||||
set-face global comment "%opt{gray1}+i"
|
|
||||||
set-face global documentation comment
|
|
||||||
set-face global meta "%opt{pink}"
|
|
||||||
set-face global builtin "%opt{lavender}+b"
|
|
||||||
|
|
||||||
# Tree-sitter (<https://git.sr.ht/~hadronized/kak-tree-sitter>)
|
|
||||||
set-face global ts_attribute "%opt{blue}"
|
|
||||||
set-face global ts_comment "%opt{overlay0}+i"
|
|
||||||
set-face global ts_conceal "%opt{mauve}+i"
|
|
||||||
set-face global ts_constant "%opt{orange}"
|
|
||||||
set-face global ts_constant_builtin_boolean "%opt{sky}"
|
|
||||||
set-face global ts_constant_character "%opt{yellow}"
|
|
||||||
set-face global ts_constant_macro "%opt{mauve}"
|
|
||||||
set-face global ts_constructor "%opt{cyan}"
|
|
||||||
set-face global ts_diff_plus "%opt{green}"
|
|
||||||
set-face global ts_diff_minus "%opt{red}"
|
|
||||||
set-face global ts_diff_delta "%opt{blue}"
|
|
||||||
set-face global ts_diff_delta_moved "%opt{mauve}"
|
|
||||||
set-face global ts_error "%opt{red}+b"
|
|
||||||
set-face global ts_function "%opt{blue}"
|
|
||||||
set-face global ts_function_builtin "%opt{blue}+i"
|
|
||||||
set-face global ts_function_macro "%opt{mauve}"
|
|
||||||
set-face global ts_hint "%opt{blue}+b"
|
|
||||||
set-face global ts_info "%opt{green}+b"
|
|
||||||
set-face global ts_keyword "%opt{mauve}"
|
|
||||||
set-face global ts_keyword_conditional "%opt{mauve}+i"
|
|
||||||
set-face global ts_keyword_control_conditional "%opt{mauve}+i"
|
|
||||||
set-face global ts_keyword_control_directive "%opt{mauve}+i"
|
|
||||||
set-face global ts_keyword_control_import "%opt{mauve}+i"
|
|
||||||
set-face global ts_keyword_directive "%opt{mauve}+i"
|
|
||||||
set-face global ts_label "%opt{cyan}+i"
|
|
||||||
set-face global ts_markup_bold "%opt{orange}+b"
|
|
||||||
set-face global ts_markup_heading "%opt{red}"
|
|
||||||
set-face global ts_markup_heading_1 "%opt{red}"
|
|
||||||
set-face global ts_markup_heading_2 "%opt{mauve}"
|
|
||||||
set-face global ts_markup_heading_3 "%opt{green}"
|
|
||||||
set-face global ts_markup_heading_4 "%opt{yellow}"
|
|
||||||
set-face global ts_markup_heading_5 "%opt{pink}"
|
|
||||||
set-face global ts_markup_heading_6 "%opt{teal}"
|
|
||||||
set-face global ts_markup_heading_marker "%opt{orange}+b"
|
|
||||||
set-face global ts_markup_italic "%opt{pink}+i"
|
|
||||||
set-face global ts_markup_list_checked "%opt{green}"
|
|
||||||
set-face global ts_markup_list_numbered "%opt{blue}+i"
|
|
||||||
set-face global ts_markup_list_unchecked "%opt{teal}"
|
|
||||||
set-face global ts_markup_list_unnumbered "%opt{mauve}"
|
|
||||||
set-face global ts_markup_link_label "%opt{blue}"
|
|
||||||
set-face global ts_markup_link_url "%opt{teal}+u"
|
|
||||||
set-face global ts_markup_link_uri "%opt{teal}+u"
|
|
||||||
set-face global ts_markup_link_text "%opt{blue}"
|
|
||||||
set-face global ts_markup_quote "%opt{gray1}"
|
|
||||||
set-face global ts_markup_raw "%opt{green}"
|
|
||||||
set-face global ts_markup_strikethrough "%opt{gray1}+s"
|
|
||||||
set-face global ts_namespace "%opt{blue}+i"
|
|
||||||
set-face global ts_operator "%opt{sky}"
|
|
||||||
set-face global ts_property "%opt{sky}"
|
|
||||||
set-face global ts_punctuation "%opt{overlay1}"
|
|
||||||
set-face global ts_punctuation_special "%opt{sky}"
|
|
||||||
set-face global ts_special "%opt{blue}"
|
|
||||||
set-face global ts_spell "%opt{mauve}"
|
|
||||||
set-face global ts_string "%opt{green}"
|
|
||||||
set-face global ts_string_regex "%opt{orange}"
|
|
||||||
set-face global ts_string_regexp "%opt{orange}"
|
|
||||||
set-face global ts_string_escape "%opt{mauve}"
|
|
||||||
set-face global ts_string_special "%opt{blue}"
|
|
||||||
set-face global ts_string_special_path "%opt{green}"
|
|
||||||
set-face global ts_string_special_symbol "%opt{mauve}"
|
|
||||||
set-face global ts_string_symbol "%opt{red}"
|
|
||||||
set-face global ts_tag "%opt{mauve}"
|
|
||||||
set-face global ts_tag_error "%opt{red}"
|
|
||||||
set-face global ts_text "%opt{white}"
|
|
||||||
set-face global ts_text_title "%opt{mauve}"
|
|
||||||
set-face global ts_type "%opt{yellow}"
|
|
||||||
set-face global ts_type_enum_variant "%opt{flamingo}"
|
|
||||||
set-face global ts_variable "%opt{white}"
|
|
||||||
set-face global ts_variable_builtin "%opt{red}"
|
|
||||||
set-face global ts_variable_other_member "%opt{teal}"
|
|
||||||
set-face global ts_variable_parameter "%opt{maroon}+i"
|
|
||||||
set-face global ts_warning "%opt{orange}+b"
|
|
||||||
@@ -1,166 +0,0 @@
|
|||||||
# Catppuccint Mocha theme for Kakoune
|
|
||||||
#
|
|
||||||
# Taken and adapted from
|
|
||||||
# <https://github.com/catppuccin/kakoune/blob/7f187d9da2867a7fda568b2135d29b9c00cfbb94/colors/catppuccin_mocha.kak>
|
|
||||||
|
|
||||||
# Catppuccin theme for Kakoune
|
|
||||||
|
|
||||||
# Color palette (see https://catppuccin.com/palette)
|
|
||||||
declare-option str rosewater "rgb:f5e0dc"
|
|
||||||
declare-option str flamingo "rgb:f2cdcd"
|
|
||||||
declare-option str pink "rgb:f5c2e7"
|
|
||||||
declare-option str mauve "rgb:cba6f7"
|
|
||||||
declare-option str red "rgb:f38ba8"
|
|
||||||
declare-option str maroon "rgb:eba0ac"
|
|
||||||
declare-option str peach "rgb:fab387"
|
|
||||||
declare-option str yellow "rgb:f9e2af"
|
|
||||||
declare-option str green "rgb:a6e3a1"
|
|
||||||
declare-option str teal "rgb:94e2d5"
|
|
||||||
declare-option str sky "rgb:89dceb"
|
|
||||||
declare-option str sapphire "rgb:74c7ec"
|
|
||||||
declare-option str blue "rgb:89b4fa"
|
|
||||||
declare-option str lavender "rgb:b4befe"
|
|
||||||
declare-option str text "rgb:cdd6f4"
|
|
||||||
declare-option str subtext1 "rgb:bac2de"
|
|
||||||
declare-option str subtext0 "rgb:a6adc8"
|
|
||||||
declare-option str overlay2 "rgb:9399b2"
|
|
||||||
declare-option str overlay1 "rgb:7f849c"
|
|
||||||
declare-option str overlay0 "rgb:6c7086"
|
|
||||||
declare-option str surface2 "rgb:585b70"
|
|
||||||
declare-option str surface1 "rgb:45475a"
|
|
||||||
declare-option str surface0 "rgb:313244"
|
|
||||||
declare-option str base "rgb:1e1e2e"
|
|
||||||
declare-option str mantle "rgb:181825"
|
|
||||||
declare-option str crust "rgb:11111b"
|
|
||||||
|
|
||||||
# Markup
|
|
||||||
set-face global title "%opt{text}+b"
|
|
||||||
set-face global header "%opt{subtext0}+b"
|
|
||||||
set-face global bold "%opt{maroon}+b"
|
|
||||||
set-face global italic "%opt{maroon}+i"
|
|
||||||
set-face global mono "%opt{green}"
|
|
||||||
set-face global block "%opt{sapphire}"
|
|
||||||
set-face global link "%opt{blue}"
|
|
||||||
set-face global bullet "%opt{peach}"
|
|
||||||
set-face global list "%opt{peach}"
|
|
||||||
|
|
||||||
# Builtins
|
|
||||||
set-face global Default "%opt{text},%opt{base}"
|
|
||||||
set-face global PrimarySelection "%opt{text},%opt{surface2}"
|
|
||||||
set-face global SecondarySelection "%opt{text},%opt{surface2}"
|
|
||||||
set-face global PrimaryCursor "%opt{crust},%opt{rosewater}"
|
|
||||||
set-face global SecondaryCursor "%opt{text},%opt{overlay0}"
|
|
||||||
set-face global PrimaryCursorEol "%opt{surface2},%opt{lavender}"
|
|
||||||
set-face global SecondaryCursorEol "%opt{surface2},%opt{overlay1}"
|
|
||||||
set-face global LineNumbers "%opt{overlay1},%opt{base}"
|
|
||||||
set-face global LineNumberCursor "%opt{rosewater},%opt{surface2}+b"
|
|
||||||
set-face global LineNumbersWrapped "%opt{rosewater},%opt{surface2}"
|
|
||||||
set-face global MenuForeground "%opt{text},%opt{surface1}+b"
|
|
||||||
set-face global MenuBackground "%opt{text},%opt{surface0}"
|
|
||||||
set-face global MenuInfo "%opt{crust},%opt{teal}"
|
|
||||||
set-face global Information "%opt{crust},%opt{teal}"
|
|
||||||
set-face global Error "%opt{crust},%opt{red}"
|
|
||||||
set-face global DiagnosticError Error
|
|
||||||
set-face global DiagnosticWarning "%opt{yellow}"
|
|
||||||
set-face global StatusLine "%opt{text},%opt{mantle}"
|
|
||||||
set-face global StatusLineMode "%opt{crust},%opt{yellow}"
|
|
||||||
set-face global StatusLineInfo "%opt{crust},%opt{teal}"
|
|
||||||
set-face global StatusLineValue "%opt{crust},%opt{yellow}"
|
|
||||||
set-face global StatusCursor "%opt{crust},%opt{rosewater}"
|
|
||||||
set-face global Prompt "%opt{teal},%opt{base}+b"
|
|
||||||
set-face global MatchingChar "%opt{maroon},%opt{base}"
|
|
||||||
set-face global Whitespace "%opt{overlay1},%opt{base}+f"
|
|
||||||
set-face global WrapMarker Whitespace
|
|
||||||
set-face global BufferPadding "%opt{base},%opt{base}"
|
|
||||||
|
|
||||||
|
|
||||||
# Code
|
|
||||||
set-face global value "%opt{peach}"
|
|
||||||
set-face global type "%opt{yellow}"
|
|
||||||
set-face global variable "%opt{text}"
|
|
||||||
set-face global module "%opt{maroon}"
|
|
||||||
set-face global function "%opt{blue}"
|
|
||||||
set-face global string "%opt{green}"
|
|
||||||
set-face global keyword "%opt{mauve}"
|
|
||||||
set-face global operator "%opt{sky}"
|
|
||||||
set-face global attribute "%opt{yellow}"
|
|
||||||
set-face global comment "%opt{overlay1}+i"
|
|
||||||
set-face global documentation comment
|
|
||||||
set-face global meta "%opt{yellow}"
|
|
||||||
set-face global builtin "%opt{red}"
|
|
||||||
|
|
||||||
# Tree-sitter (<https://git.sr.ht/~hadronized/kak-tree-sitter>)
|
|
||||||
# Copied from catppuccin_macchiato.kak
|
|
||||||
# Adjusted with https://github.com/catppuccin/catppuccin/blob/main/docs/style-guide.md
|
|
||||||
set-face global ts_attribute attribute
|
|
||||||
set-face global ts_comment comment
|
|
||||||
set-face global ts_conceal "%opt{mauve}+i"
|
|
||||||
set-face global ts_constant "%opt{peach}"
|
|
||||||
set-face global ts_constant_builtin_boolean "%opt{sky}"
|
|
||||||
set-face global ts_constant_character "%opt{yellow}"
|
|
||||||
set-face global ts_constant_macro "%opt{mauve}"
|
|
||||||
set-face global ts_constructor "%opt{sky}"
|
|
||||||
set-face global ts_diff_plus "%opt{green}"
|
|
||||||
set-face global ts_diff_minus "%opt{red}"
|
|
||||||
set-face global ts_diff_delta "%opt{blue}"
|
|
||||||
set-face global ts_diff_delta_moved "%opt{mauve}"
|
|
||||||
set-face global ts_error "%opt{red}+b"
|
|
||||||
set-face global ts_function "%opt{blue}"
|
|
||||||
set-face global ts_function_builtin "%opt{blue}+i"
|
|
||||||
set-face global ts_function_macro "%opt{mauve}"
|
|
||||||
set-face global ts_hint "%opt{blue}+b"
|
|
||||||
set-face global ts_info "%opt{teal}+b"
|
|
||||||
set-face global ts_keyword "%opt{mauve}"
|
|
||||||
set-face global ts_keyword_conditional "%opt{mauve}+i"
|
|
||||||
set-face global ts_keyword_control_conditional "%opt{mauve}+i"
|
|
||||||
set-face global ts_keyword_control_directive "%opt{mauve}+i"
|
|
||||||
set-face global ts_keyword_control_import "%opt{mauve}+i"
|
|
||||||
set-face global ts_keyword_directive "%opt{mauve}+i"
|
|
||||||
set-face global ts_label "%opt{sky}+i"
|
|
||||||
set-face global ts_markup_bold "%opt{peach}+b"
|
|
||||||
set-face global ts_markup_heading "%opt{red}"
|
|
||||||
set-face global ts_markup_heading_1 "%opt{red}"
|
|
||||||
set-face global ts_markup_heading_2 "%opt{mauve}"
|
|
||||||
set-face global ts_markup_heading_3 "%opt{green}"
|
|
||||||
set-face global ts_markup_heading_4 "%opt{yellow}"
|
|
||||||
set-face global ts_markup_heading_5 "%opt{pink}"
|
|
||||||
set-face global ts_markup_heading_6 "%opt{teal}"
|
|
||||||
set-face global ts_markup_heading_marker "%opt{peach}+b"
|
|
||||||
set-face global ts_markup_italic "%opt{pink}+i"
|
|
||||||
set-face global ts_markup_list_checked "%opt{green}"
|
|
||||||
set-face global ts_markup_list_numbered "%opt{blue}+i"
|
|
||||||
set-face global ts_markup_list_unchecked "%opt{teal}"
|
|
||||||
set-face global ts_markup_list_unnumbered "%opt{mauve}"
|
|
||||||
set-face global ts_markup_link_label "%opt{blue}"
|
|
||||||
set-face global ts_markup_link_url "%opt{teal}+u"
|
|
||||||
set-face global ts_markup_link_uri "%opt{teal}+u"
|
|
||||||
set-face global ts_markup_link_text "%opt{blue}"
|
|
||||||
set-face global ts_markup_quote "%opt{overlay1}"
|
|
||||||
set-face global ts_markup_raw "%opt{green}"
|
|
||||||
set-face global ts_markup_strikethrough "%opt{overlay1}+s"
|
|
||||||
set-face global ts_namespace "%opt{blue}+i"
|
|
||||||
set-face global ts_operator "%opt{sky}"
|
|
||||||
set-face global ts_property "%opt{sky}"
|
|
||||||
set-face global ts_punctuation "%opt{overlay1}"
|
|
||||||
set-face global ts_punctuation_special "%opt{sky}"
|
|
||||||
set-face global ts_special "%opt{blue}"
|
|
||||||
set-face global ts_spell "%opt{mauve}"
|
|
||||||
set-face global ts_string string
|
|
||||||
set-face global ts_string_regex "%opt{pink}"
|
|
||||||
set-face global ts_string_regexp "%opt{pink}"
|
|
||||||
set-face global ts_string_escape "%opt{flamingo}"
|
|
||||||
set-face global ts_string_special "%opt{blue}"
|
|
||||||
set-face global ts_string_special_path "%opt{green}"
|
|
||||||
set-face global ts_string_special_symbol "%opt{mauve}"
|
|
||||||
set-face global ts_string_symbol "%opt{red}"
|
|
||||||
set-face global ts_tag "%opt{mauve}"
|
|
||||||
set-face global ts_tag_error "%opt{red}"
|
|
||||||
set-face global ts_text "%opt{text}"
|
|
||||||
set-face global ts_text_title "%opt{mauve}"
|
|
||||||
set-face global ts_type type
|
|
||||||
set-face global ts_type_enum_variant "%opt{teal}"
|
|
||||||
set-face global ts_variable variable
|
|
||||||
set-face global ts_variable_builtin builtin
|
|
||||||
set-face global ts_variable_other_member "%opt{teal}"
|
|
||||||
set-face global ts_variable_parameter "%opt{maroon}+i"
|
|
||||||
set-face global ts_warning "%opt{yellow}+b"
|
|
||||||
178
config/.config/kak/colors/dawnfox.kak
Normal file
178
config/.config/kak/colors/dawnfox.kak
Normal file
@@ -0,0 +1,178 @@
|
|||||||
|
# Carbonfox theme for Kakoune
|
||||||
|
#
|
||||||
|
# Taken and adapted from
|
||||||
|
# <https://github.com/EdenEast/nightfox.nvim/blob/main/lua/nightfox/palette/dawnfox.lua>
|
||||||
|
|
||||||
|
# Color palette
|
||||||
|
declare-option str pink_dim "rgb:c9709e"
|
||||||
|
declare-option str pink_base "rgb:d685af"
|
||||||
|
declare-option str pink_bright "rgb:de8db7"
|
||||||
|
declare-option str bg2 "rgb:ebe0df"
|
||||||
|
declare-option str fg1 "rgb:575279"
|
||||||
|
declare-option str bg3 "rgb:ebdfe4"
|
||||||
|
declare-option str orange_dim "rgb:ca6e69"
|
||||||
|
declare-option str orange_base "rgb:d7827e"
|
||||||
|
declare-option str orange_bright "rgb:de8c88"
|
||||||
|
declare-option str red_dim "rgb:a5576d"
|
||||||
|
declare-option str red_base "rgb:b4637a"
|
||||||
|
declare-option str red_bright "rgb:c26d85"
|
||||||
|
declare-option str green_dim "rgb:597668"
|
||||||
|
declare-option str green_base "rgb:618774"
|
||||||
|
declare-option str green_bright "rgb:629f81"
|
||||||
|
declare-option str cyan_dim "rgb:50848c"
|
||||||
|
declare-option str cyan_base "rgb:56949f"
|
||||||
|
declare-option str cyan_bright "rgb:5ca7b4"
|
||||||
|
declare-option str black_dim "rgb:504c6b"
|
||||||
|
declare-option str black_base "rgb:575279"
|
||||||
|
declare-option str black_bright "rgb:5f5695"
|
||||||
|
declare-option str yellow_dim "rgb:dd9024"
|
||||||
|
declare-option str yellow_base "rgb:ea9d34"
|
||||||
|
declare-option str yellow_bright "rgb:eea846"
|
||||||
|
declare-option str fg3 "rgb:a8a3b3"
|
||||||
|
declare-option str sel1 "rgb:b8cece"
|
||||||
|
declare-option str comment "rgb:9893a5"
|
||||||
|
declare-option str blue_dim "rgb:295e73"
|
||||||
|
declare-option str blue_base "rgb:286983"
|
||||||
|
declare-option str blue_bright "rgb:2d81a3"
|
||||||
|
declare-option str sel0 "rgb:d0d8d8"
|
||||||
|
declare-option str fg2 "rgb:625c87"
|
||||||
|
declare-option str bg1 "rgb:faf4ed"
|
||||||
|
declare-option str fg0 "rgb:4c4769"
|
||||||
|
declare-option str bg4 "rgb:bdbfc9"
|
||||||
|
declare-option str bg0 "rgb:ebe5df"
|
||||||
|
declare-option str white_dim "rgb:c8cfde"
|
||||||
|
declare-option str white_base "rgb:e5e9f0"
|
||||||
|
declare-option str white_bright "rgb:e6ebf3"
|
||||||
|
declare-option str magenta_dim "rgb:816b9a"
|
||||||
|
declare-option str magenta_base "rgb:907aa9"
|
||||||
|
declare-option str magenta_bright "rgb:9a80b9"
|
||||||
|
|
||||||
|
# Markup
|
||||||
|
set-face global title "%opt{yellow_base}"
|
||||||
|
set-face global header "%opt{red_dim}+b"
|
||||||
|
set-face global bold "%opt{fg1}+b"
|
||||||
|
set-face global italic "%opt{fg1}+i"
|
||||||
|
|
||||||
|
# Builtins
|
||||||
|
set-face global Default "%opt{fg1},%opt{bg1}"
|
||||||
|
set-face global PrimarySelection "%opt{fg2},%opt{sel0}"
|
||||||
|
set-face global SecondarySelection "%opt{fg3},%opt{sel1}"
|
||||||
|
set-face global PrimaryCursor "%opt{bg1},%opt{fg1}"
|
||||||
|
set-face global SecondaryCursor "%opt{bg1},%opt{fg2}"
|
||||||
|
set-face global PrimaryCursorEol "%opt{bg2},%opt{blue_bright}"
|
||||||
|
set-face global SecondaryCursorEol "%opt{bg3},%opt{blue_dim}"
|
||||||
|
set-face global LineNumbers "%opt{fg3},%opt{bg1}"
|
||||||
|
set-face global LineNumberCursor "%opt{fg2},%opt{bg1}"
|
||||||
|
set-face global LineNumbersWrapped "%opt{fg3},%opt{bg1}+i"
|
||||||
|
set-face global MenuForeground "%opt{fg1},%opt{sel1}"
|
||||||
|
set-face global MenuBackground "%opt{fg1},%opt{sel0}"
|
||||||
|
set-face global MenuInfo "%opt{fg1},%opt{bg0}"
|
||||||
|
set-face global Information "%opt{fg1},%opt{bg0}"
|
||||||
|
set-face global Error "%opt{red_base},%opt{bg0}"
|
||||||
|
set-face global StatusLine "%opt{fg2},%opt{bg0}"
|
||||||
|
set-face global StatusLineMode "%opt{green_bright},%opt{bg0}"
|
||||||
|
set-face global StatusLineInfo "%opt{blue_bright},%opt{bg0}"
|
||||||
|
set-face global StatusLineValue "%opt{orange_base},%opt{bg0}"
|
||||||
|
set-face global StatusCursor "%opt{bg0},%opt{fg2}"
|
||||||
|
set-face global Prompt "%opt{blue_bright},%opt{bg0}"
|
||||||
|
set-face global MatchingChar "%opt{fg1},%opt{sel1}"
|
||||||
|
set-face global Whitespace "%opt{fg3},%opt{bg1}"
|
||||||
|
set-face global WrapMarker Whitespace
|
||||||
|
set-face global BufferPadding "%opt{blue_dim},%opt{bg1}"
|
||||||
|
|
||||||
|
# Code
|
||||||
|
set-face global value "%opt{orange_dim}"
|
||||||
|
set-face global type "%opt{yellow_base}"
|
||||||
|
set-face global variable "%opt{black_base}"
|
||||||
|
set-face global module "%opt{blue_base}"
|
||||||
|
set-face global function "%opt{blue_dim}"
|
||||||
|
set-face global string "%opt{green_base}"
|
||||||
|
set-face global keyword "%opt{magenta_base}"
|
||||||
|
set-face global operator "%opt{fg2}"
|
||||||
|
set-face global attribute "%opt{blue_base}"
|
||||||
|
set-face global comment "%opt{comment}"
|
||||||
|
set-face global documentation comment
|
||||||
|
set-face global meta "%opt{pink_dim}"
|
||||||
|
set-face global builtin "%opt{red_base}"
|
||||||
|
|
||||||
|
# Tree-sitter (<https://github.com/hadronized/kak-tree-sitter>)
|
||||||
|
set-face global ts_attribute "%opt{yellow_base}"
|
||||||
|
set-face global ts_comment "%opt{comment}"
|
||||||
|
set-face global ts_comment_unused "%opt{comment}"
|
||||||
|
set-face global ts_conceal "%opt{magenta_dim}"
|
||||||
|
set-face global ts_constant "%opt{orange_dim}"
|
||||||
|
set-face global ts_constant_builtin_boolean "%opt{orange_dim}"
|
||||||
|
set-face global ts_constant_character "%opt{green_base}"
|
||||||
|
set-face global ts_constant_macro "%opt{orange_dim}"
|
||||||
|
set-face global ts_constructor "%opt{cyan_base}"
|
||||||
|
set-face global ts_diff_plus "%opt{green_base}"
|
||||||
|
set-face global ts_diff_minus "%opt{red_base}"
|
||||||
|
set-face global ts_diff_delta "%opt{yellow_base}"
|
||||||
|
set-face global ts_diff_delta_moved "%opt{blue_base}"
|
||||||
|
set-face global ts_error "%opt{red_base}"
|
||||||
|
set-face global ts_function "%opt{blue_dim}"
|
||||||
|
set-face global ts_function_builtin "%opt{pink_base}"
|
||||||
|
set-face global ts_function_macro "%opt{pink_dim}"
|
||||||
|
set-face global ts_function_method_private "%opt{blue_dim}"
|
||||||
|
set-face global ts_hint "%opt{green_base}"
|
||||||
|
set-face global ts_info "%opt{blue_base}"
|
||||||
|
set-face global ts_keyword "%opt{magenta_base}"
|
||||||
|
set-face global ts_keyword_conditional "%opt{magenta_dim}"
|
||||||
|
set-face global ts_keyword_control_conditional "%opt{magenta_dim}"
|
||||||
|
set-face global ts_keyword_control_directive "%opt{pink_dim}"
|
||||||
|
set-face global ts_keyword_control_import "%opt{orange_dim}"
|
||||||
|
set-face global ts_keyword_directive "%opt{pink_dim}"
|
||||||
|
set-face global ts_keyword_storage "%opt{blue_base}"
|
||||||
|
set-face global ts_keyword_storage_modifier "%opt{magenta_base}"
|
||||||
|
set-face global ts_keyword_storage_modifier_mut "%opt{blue_dim}"
|
||||||
|
set-face global ts_keyword_storage_modifier_ref "%opt{blue_dim}"
|
||||||
|
set-face global ts_label "%opt{pink_base}+i"
|
||||||
|
set-face global ts_markup_bold "%opt{red_base}+b"
|
||||||
|
set-face global ts_markup_heading "%opt{blue_base}"
|
||||||
|
set-face global ts_markup_heading_1 "%opt{blue_base}+b"
|
||||||
|
set-face global ts_markup_heading_2 "%opt{blue_base}+b"
|
||||||
|
set-face global ts_markup_heading_3 "%opt{blue_base}+b"
|
||||||
|
set-face global ts_markup_heading_4 "%opt{blue_base}+b"
|
||||||
|
set-face global ts_markup_heading_5 "%opt{blue_base}+b"
|
||||||
|
set-face global ts_markup_heading_6 "%opt{blue_base}+b"
|
||||||
|
set-face global ts_markup_heading_marker "%opt{orange_base}+b"
|
||||||
|
set-face global ts_markup_italic "%opt{pink_base}+i"
|
||||||
|
set-face global ts_markup_list_checked "%opt{green_base}"
|
||||||
|
set-face global ts_markup_list_numbered "%opt{fg2}"
|
||||||
|
set-face global ts_markup_list_unchecked "%opt{cyan_base}"
|
||||||
|
set-face global ts_markup_list_unnumbered "%opt{fg2}"
|
||||||
|
set-face global ts_markup_link_label "%opt{blue_base}"
|
||||||
|
set-face global ts_markup_link_url "%opt{cyan_base}+u"
|
||||||
|
set-face global ts_markup_link_uri "%opt{cyan_base}+u"
|
||||||
|
set-face global ts_markup_link_text "%opt{blue_base}"
|
||||||
|
set-face global ts_markup_quote "%opt{fg2},%opt{bg2}"
|
||||||
|
set-face global ts_markup_raw "%opt{green_base}"
|
||||||
|
set-face global ts_markup_strikethrough "%opt{fg1}+s"
|
||||||
|
set-face global ts_namespace "%opt{cyan_base}"
|
||||||
|
set-face global ts_operator "%opt{fg2}"
|
||||||
|
set-face global ts_property "%opt{blue_base}"
|
||||||
|
set-face global ts_punctuation "%opt{fg2}"
|
||||||
|
set-face global ts_punctuation_special "%opt{blue_dim}"
|
||||||
|
set-face global ts_special "%opt{blue_base}"
|
||||||
|
set-face global ts_spell "%opt{fg1},%opt{bg1},%opt{red_base}+c"
|
||||||
|
set-face global ts_string "%opt{green_base}"
|
||||||
|
set-face global ts_string_regex "%opt{yellow_dim}"
|
||||||
|
set-face global ts_string_regexp "%opt{yellow_dim}"
|
||||||
|
set-face global ts_string_escape "%opt{cyan_base}"
|
||||||
|
set-face global ts_string_special "%opt{green_base}"
|
||||||
|
set-face global ts_string_special_path "%opt{green_base}"
|
||||||
|
set-face global ts_string_special_symbol "%opt{green_base}"
|
||||||
|
set-face global ts_string_symbol "%opt{green_base}"
|
||||||
|
set-face global ts_tag "%opt{blue_base}"
|
||||||
|
set-face global ts_tag_error "%opt{red_base}"
|
||||||
|
set-face global ts_text "%opt{black_base}"
|
||||||
|
set-face global ts_text_title "%opt{orange_base}"
|
||||||
|
set-face global ts_type "%opt{yellow_base}"
|
||||||
|
set-face global ts_type_enum_variant "%opt{yellow_base}"
|
||||||
|
set-face global ts_type_enum_variant_builtin "%opt{orange_dim}"
|
||||||
|
set-face global ts_variable "%opt{black_base}"
|
||||||
|
set-face global ts_variable_builtin "%opt{red_base}"
|
||||||
|
set-face global ts_variable_other_member "%opt{cyan_base}"
|
||||||
|
set-face global ts_variable_other_member_private "%opt{cyan_dim}"
|
||||||
|
set-face global ts_variable_parameter "%opt{blue_base}"
|
||||||
|
set-face global ts_warning "%opt{yellow_base}"
|
||||||
@@ -1 +0,0 @@
|
|||||||
../plugins/base16-kakoune/colors/
|
|
||||||
@@ -19,109 +19,130 @@ plug "kak-lsp/kak-lsp" do %{
|
|||||||
cargo install --locked --force --path .
|
cargo install --locked --force --path .
|
||||||
}
|
}
|
||||||
|
|
||||||
# plug "gustavo-hms/luar" %{
|
plug "gustavo-hms/luar" %{
|
||||||
# plug "gustavo-hms/peneira" %{
|
plug "gustavo-hms/peneira" %{
|
||||||
# require-module peneira
|
require-module peneira
|
||||||
# }
|
}
|
||||||
# }
|
}
|
||||||
|
|
||||||
|
plug "h-youhei/kakoune-surround"
|
||||||
|
|
||||||
|
plug "your-tools/kak-subvert" do %{
|
||||||
|
cargo install --locked --force --path .
|
||||||
|
}
|
||||||
|
|
||||||
|
plug "https://git.sr.ht/~nasmevka/repl.kak"
|
||||||
|
|
||||||
|
plug "https://gitlab.com/kstr0k/mru-files.kak" demand mru-files %{ # %{} needed even if empty
|
||||||
|
# suggested mappings: *after* plugin loads
|
||||||
|
# think "go alt[ernate]-f[iles]"
|
||||||
|
# map global goto <a-f> '<esc>: mru-files ' -docstring 'mru-files'
|
||||||
|
# map global goto <a-F> '<esc>: mru-files-related<ret>' -docstring 'mru-files-related'
|
||||||
|
}
|
||||||
|
|
||||||
|
plug "custom-filetypes" load-path "~/.config/kak/al"
|
||||||
# # Color Themes
|
# # Color Themes
|
||||||
plug "tinted-theming/base16-kakoune"
|
plug "tinted-theming/base16-kakoune" theme
|
||||||
|
plug "https://git.sr.ht/~hadronized/kakoune-tree-sitter-themes" theme
|
||||||
### End Of Plugins ###
|
### End Of Plugins ###
|
||||||
|
|
||||||
# set-option global luar_interpreter luajit
|
set-option global luar_interpreter luajit
|
||||||
|
|
||||||
## Treesitter ##
|
## Treesitter ##
|
||||||
|
eval %sh{ kak-tree-sitter -dksvvv --with-highlighting --with-text-objects --init $kak_session }
|
||||||
#eval %sh{ kak-tree-sitter -dksv --with-highlighting --with-text-objects --init $kak_session }
|
|
||||||
#eval %sh{ kak-tree-sitter -dks --with-text-objects --session $kak_session }
|
#eval %sh{ kak-tree-sitter -dks --with-text-objects --session $kak_session }
|
||||||
#eval %sh{ kak-tree-sitter -dks --with-highlighting --session $kak_session }
|
#eval %sh{ kak-tree-sitter -dks --with-highlighting --session $kak_session }
|
||||||
eval %sh{ kak-tree-sitter -dks --init $kak_session }
|
#eval %sh{ kak-tree-sitter -dksvvv --init $kak_session }
|
||||||
evaluate-commands %sh{
|
#
|
||||||
echo "colorscheme base16-$BASE16_THEME"
|
# evaluate-commands %sh{
|
||||||
}
|
# echo "colorscheme base16-$BASE16_THEME"
|
||||||
|
# }
|
||||||
|
|
||||||
|
## Popup ##
|
||||||
|
evaluate-commands %sh{kak-popup init}
|
||||||
|
|
||||||
## Highlighting ##
|
## Highlighting ##
|
||||||
hook global WinCreate .* %{ add-highlighter window/number-lines number-lines -relative -hlcursor}
|
hook global WinCreate .* %{ add-highlighter window/number-lines number-lines -relative -hlcursor}
|
||||||
add-highlighter global/ show-matching
|
add-highlighter global/ show-matching
|
||||||
add-highlighter global/ column 80 MenuForeground
|
add-highlighter global/ column 80 MenuBackground
|
||||||
add-highlighter global/ show-whitespaces
|
add-highlighter global/ show-whitespaces -spc " " -nbsp ""
|
||||||
|
#add-highlighter global/ show-whitespaces -nbsp "" -lf "" -indent "|"
|
||||||
|
|
||||||
## Wrapping ##
|
## Wrapping ##
|
||||||
|
|
||||||
add-highlighter global/ wrap -word -indent
|
add-highlighter global/ wrap -word -indent
|
||||||
|
|
||||||
## Formatting ##
|
## Formatting ##
|
||||||
define-command enable-autofmt -docstring 'enable autoformatting of buffer' %{
|
# define-command enable-autofmt -docstring 'enable autoformatting of buffer' %{
|
||||||
|
#
|
||||||
|
#
|
||||||
hook global -group autofmt BufSetOption filetype=(zig) %{
|
# hook global -group autofmt BufSetOption filetype=(zig) %{
|
||||||
set-option buffer formatcmd 'zig fmt --stdin'
|
# set-option buffer formatcmd 'zig fmt --stdin'
|
||||||
|
#
|
||||||
hook -group autofmt buffer BufOpenFile .* %{
|
# hook -group autofmt buffer BufOpenFile .* %{
|
||||||
format
|
# format
|
||||||
}
|
# }
|
||||||
|
#
|
||||||
hook -group autofmt buffer BufWritePre .* %{
|
# hook -group autofmt buffer BufWritePre .* %{
|
||||||
format
|
# format
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
#
|
||||||
hook global -group autofmt BufSetOption filetype=(html) %{
|
# hook global -group autofmt BufSetOption filetype=(html) %{
|
||||||
set-option buffer formatcmd 'prettier --tab-width 4 --parser html'
|
# set-option buffer formatcmd 'prettier --tab-width 4 --parser html'
|
||||||
|
#
|
||||||
hook -group autofmt buffer BufOpenFile .* %{
|
# hook -group autofmt buffer BufOpenFile .* %{
|
||||||
format
|
# format
|
||||||
}
|
# }
|
||||||
|
#
|
||||||
hook -group autofmt buffer BufWritePre .* %{
|
# hook -group autofmt buffer BufWritePre .* %{
|
||||||
format
|
# format
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
#
|
||||||
hook global -group autofmt BufSetOption filetype=(css) %{
|
# hook global -group autofmt BufSetOption filetype=(css) %{
|
||||||
set-option buffer formatcmd 'prettier --tab-width 4 --parser css'
|
# set-option buffer formatcmd 'prettier --tab-width 4 --parser css'
|
||||||
|
#
|
||||||
hook -group autofmt buffer BufOpenFile .* %{
|
# hook -group autofmt buffer BufOpenFile .* %{
|
||||||
format
|
# format
|
||||||
}
|
# }
|
||||||
|
#
|
||||||
hook -group autofmt buffer BufWritePre .* %{
|
# hook -group autofmt buffer BufWritePre .* %{
|
||||||
format
|
# format
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
# hook global -group autofmt BufSetOption filetype=(javascript) %{
|
||||||
hook global -group autofmt BufSetOption filetype=(javascript) %{
|
# set-option buffer formatcmd 'prettier --tab-width 4 --parser typescript'
|
||||||
set-option buffer formatcmd 'prettier --tab-width 4 --parser typescript'
|
#
|
||||||
|
# hook -group autofmt buffer BufOpenFile .* %{
|
||||||
hook -group autofmt buffer BufOpenFile .* %{
|
# format
|
||||||
format
|
# }
|
||||||
}
|
#
|
||||||
|
# hook -group autofmt buffer BufWritePre .* %{
|
||||||
hook -group autofmt buffer BufWritePre .* %{
|
# format
|
||||||
format
|
# }
|
||||||
}
|
# }
|
||||||
}
|
#
|
||||||
|
# hook global -group autofmt BufSetOption filetype=(go) %{
|
||||||
hook global -group autofmt BufSetOption filetype=(go) %{
|
# set-option buffer formatcmd 'gofmt'
|
||||||
set-option buffer formatcmd 'gofmt'
|
#
|
||||||
|
# hook -group autofmt buffer BufOpenFile .* %{
|
||||||
hook -group autofmt buffer BufOpenFile .* %{
|
# format
|
||||||
format
|
# }
|
||||||
}
|
#
|
||||||
|
# hook -group autofmt buffer BufWritePre .* %{
|
||||||
hook -group autofmt buffer BufWritePre .* %{
|
# format
|
||||||
format
|
# }
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
}
|
#
|
||||||
|
# define-command disable-autofmt -docstring 'disable autoformatting of buffer' %{
|
||||||
define-command disable-autofmt -docstring 'disable autoformatting of buffer' %{
|
# remove-hooks global autofmt
|
||||||
remove-hooks global autofmt
|
# }
|
||||||
}
|
#
|
||||||
|
# enable-autofmt
|
||||||
enable-autofmt
|
#
|
||||||
|
#
|
||||||
|
|
||||||
## Indentation ##
|
## Indentation ##
|
||||||
set global tabstop 4
|
set global tabstop 4
|
||||||
@@ -133,6 +154,26 @@ hook global BufCreate .* %{
|
|||||||
autoconfigtab
|
autoconfigtab
|
||||||
}
|
}
|
||||||
|
|
||||||
|
define-command set-spell -docstring 'Enable spellcheck' %{
|
||||||
|
# hook -group spellcheck global BufOpenFile .* %{
|
||||||
|
hook -group spellcheck buffer InsertChar .* %{
|
||||||
|
evaluate-commands %{
|
||||||
|
spell
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
hook -group spellcheck buffer InsertDelete .* %{
|
||||||
|
evaluate-commands %{
|
||||||
|
spell
|
||||||
|
}
|
||||||
|
}
|
||||||
|
# }
|
||||||
|
}
|
||||||
|
|
||||||
|
define-command set-nospell -docstring 'Disable spellcheck' %{
|
||||||
|
remove-hooks buffer spellcheck
|
||||||
|
}
|
||||||
|
|
||||||
define-command sleuth -docstring 'Heuristically set buffer options' %{
|
define-command sleuth -docstring 'Heuristically set buffer options' %{
|
||||||
try %{
|
try %{
|
||||||
evaluate-commands -draft %{
|
evaluate-commands -draft %{
|
||||||
@@ -184,10 +225,15 @@ define-command sleuth-disable -docstring 'Disable sleuth' %{
|
|||||||
|
|
||||||
## LSP ##
|
## LSP ##
|
||||||
lsp-enable
|
lsp-enable
|
||||||
lsp-auto-hover-enable
|
|
||||||
|
|
||||||
lsp-inlay-diagnostics-enable global
|
lsp-inlay-diagnostics-enable global
|
||||||
hook global WinSetOption filetype=(c|zig|rust|python|ruby|lua|java|html|css) %{
|
set-option global lsp_auto_highlight_references true
|
||||||
|
set-option global lsp_hover_anchor true
|
||||||
|
lsp-auto-signature-help-enable
|
||||||
|
lsp-inlay-hints-enable global
|
||||||
|
|
||||||
|
map global user k ':lsp-hover<ret>'
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=(c|cpp|zig|rust|python|ruby|lua|java|html|css) %{
|
||||||
hook window -group semantic-tokens BufReload .* lsp-semantic-tokens
|
hook window -group semantic-tokens BufReload .* lsp-semantic-tokens
|
||||||
hook window -group semantic-tokens NormalIdle .* lsp-semantic-tokens
|
hook window -group semantic-tokens NormalIdle .* lsp-semantic-tokens
|
||||||
hook window -group semantic-tokens InsertIdle .* lsp-semantic-tokens
|
hook window -group semantic-tokens InsertIdle .* lsp-semantic-tokens
|
||||||
@@ -210,10 +256,36 @@ face global InfoDiagnosticHint Information
|
|||||||
face global InfoDiagnosticInformation Information
|
face global InfoDiagnosticInformation Information
|
||||||
face global InfoDiagnosticWarning Information
|
face global InfoDiagnosticWarning Information
|
||||||
|
|
||||||
|
hook -group lsp-filetype-swift global BufSetOption filetype=swift %{
|
||||||
|
set-option buffer lsp_servers %{
|
||||||
|
[sourcekit-lsp]
|
||||||
|
root_globs = [".git", ".hg"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
hook -group lsp-filetype-typst global BufSetOption filetype=typst %{
|
||||||
|
set-option buffer lsp_servers %{
|
||||||
|
[tinymist]
|
||||||
|
root_globs = [".git", ".hg"]
|
||||||
|
args = ["lsp"]
|
||||||
|
settings_section = "_"
|
||||||
|
[tinymist.settings._]
|
||||||
|
# See https://myriad-dreamin.github.io/tinymist/configurations.html
|
||||||
|
exportPdf = "onType"
|
||||||
|
# formatterMode = "typstyle"
|
||||||
|
# previewFeature = "disable"
|
||||||
|
}
|
||||||
|
}
|
||||||
set-option global lsp_config %{
|
set-option global lsp_config %{
|
||||||
}
|
}
|
||||||
|
|
||||||
define-command -docstring 'Invoke fzf to select a buffer' fzf-buffer %{
|
define-command fzf-buffer -docstring 'Invoke fzf to select a buffer' %{
|
||||||
|
evaluate-commands %sh{
|
||||||
|
tmux split-window -l 20% "(printf \"%s\n\" $kak_quoted_buflist | fzf --bind 'focus:execute-silent(echo \"eval -client $kak_client %{ e {} }\" | kak -p $kak_session)' || echo \"$kak_buffile\") | xargs -I{} echo \"eval -client $kak_client %{ e '{}' }\" | /usr/bin/kak -p $kak_session"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
define-command -docstring 'Invoke fzf to select a buffer' prev-fzf-buff %{
|
||||||
evaluate-commands %sh{
|
evaluate-commands %sh{
|
||||||
BUFFER=$(
|
BUFFER=$(
|
||||||
(
|
(
|
||||||
@@ -225,7 +297,6 @@ define-command -docstring 'Invoke fzf to select a buffer' fzf-buffer %{
|
|||||||
) |
|
) |
|
||||||
fzf-tmux --cycle -p 80%,90% --read0 --preview='bat --theme=base16-256 --color=always {} 2>/dev/null'
|
fzf-tmux --cycle -p 80%,90% --read0 --preview='bat --theme=base16-256 --color=always {} 2>/dev/null'
|
||||||
)
|
)
|
||||||
BUFFER=${BUFFER/\'/\'\'}
|
|
||||||
if [ -n "$BUFFER" ]; then
|
if [ -n "$BUFFER" ]; then
|
||||||
printf "buffer %s" "${BUFFER}"
|
printf "buffer %s" "${BUFFER}"
|
||||||
fi
|
fi
|
||||||
@@ -357,20 +428,31 @@ define-command -docstring 'Print Working Directory' -params 0 pwd %{
|
|||||||
evaluate-commands echo %sh{ echo "$(pwd)"}
|
evaluate-commands echo %sh{ echo "$(pwd)"}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# define-command -docstring 'copy to clipboard' xcopy %{
|
||||||
|
# execute-keys '<a-|>xclip -selection clipboard -i<ret>'
|
||||||
|
# }
|
||||||
|
|
||||||
|
# define-command -docstring 'paste from clipboard' xpaste %{
|
||||||
|
# evaluate-commands -save-regs '"' %{
|
||||||
|
# set-register dquote %sh{ xclip -selection clipboard -o }
|
||||||
|
# execute-keys 'p'
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
|
||||||
define-command -docstring 'copy to clipboard' xcopy %{
|
define-command -docstring 'copy to clipboard' xcopy %{
|
||||||
execute-keys '<a-|>xclip -selection clipboard -i<ret>'
|
execute-keys '<a-|>wl-copy<ret>'
|
||||||
}
|
}
|
||||||
|
|
||||||
define-command -docstring 'paste from clipboard' xpaste %{
|
define-command -docstring 'paste from clipboard' xpaste %{
|
||||||
evaluate-commands -save-regs '"' %{
|
evaluate-commands -save-regs '"' %{
|
||||||
set-register dquote %sh{ xclip -selection clipboard -o }
|
set-register dquote %sh{ wl-paste }
|
||||||
execute-keys 'p'
|
execute-keys 'P'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
declare-user-mode config
|
declare-user-mode config
|
||||||
map -docstring 'enter config mode' global user e ':enter-user-mode config<ret>'
|
map -docstring 'enter config mode' global user e ':enter-user-mode config<ret>'
|
||||||
map -docstring 'edit kakoune config' global config k ':cd ~/.config/kak/<ret>:e ./kakrc<ret>'
|
map -docstring 'edit kakoune config' global config k ':e ~/.config/kak/kakrc<ret>'
|
||||||
map -docstring 'edit tmux config' global config t ':e ~/.tmux.conf<ret>'
|
map -docstring 'edit tmux config' global config t ':e ~/.tmux.conf<ret>'
|
||||||
map -docstring 'edit bash config' global config b ':e ~/.bashrc<ret>'
|
map -docstring 'edit bash config' global config b ':e ~/.bashrc<ret>'
|
||||||
map -docstring 'edit scripts folder' global config s ':cd ~/.scripts<ret>:fzf-edit<ret>'
|
map -docstring 'edit scripts folder' global config s ':cd ~/.scripts<ret>:fzf-edit<ret>'
|
||||||
@@ -412,15 +494,32 @@ map -docstring 'new terminal tab' global tmux T ':tmux-repl-window<ret>'
|
|||||||
map -docstring 'new git window' global tmux g ':tmux-terminal-window lazygit<ret>'
|
map -docstring 'new git window' global tmux g ':tmux-terminal-window lazygit<ret>'
|
||||||
|
|
||||||
declare-user-mode project
|
declare-user-mode project
|
||||||
map -docstring 'enter project mode' global user P ':enter-user-mode project<ret>'
|
map -docstring 'enter project mode' global user p ':enter-user-mode project<ret>'
|
||||||
map -docstring 'open project' global project o ':switch-project<ret>'
|
map -docstring 'open project' global project o ':switch-project<ret>'
|
||||||
|
|
||||||
map -docstring 'enter man mode' global user m ':enter-user-mode man<ret>'
|
map -docstring 'enter man mode' global user m ':enter-user-mode man<ret>'
|
||||||
|
|
||||||
|
declare-user-mode general
|
||||||
|
map -docstring 'enter general keybinds mode' global user g ':enter-user-mode general<ret>'
|
||||||
#map -docstring 'clipboard yank' global user y '<a-|>clip.exe<ret>'
|
#map -docstring 'clipboard yank' global user y '<a-|>clip.exe<ret>'
|
||||||
map -docstring 'clipboard yank' global user y ':xcopy<ret>'
|
map -docstring 'clipboard yank' global general y ':xcopy<ret>'
|
||||||
#map -docstring 'clipboard paste' global user p '|powershell.exe -C Get-Clipboard | tr -d "\r"<ret>'
|
#map -docstring 'clipboard paste' global user p '|powershell.exe -C Get-Clipboard | tr -d "\r"<ret>'
|
||||||
map -docstring 'clipboard paste' global user p ':xpaste<ret>'
|
map -docstring 'clipboard paste' global general p ':xpaste<ret>'
|
||||||
|
map -docstring 'quit kakoune' global general q ':q<ret>'
|
||||||
|
map -docstring 'toggle comments' global general c ':comment-line<ret>'
|
||||||
|
|
||||||
map -docstring 'quit kakoune' global user q ':q<ret>'
|
declare-user-mode spell
|
||||||
map -docstring 'toggle comments' global user c ':comment-line<ret>'
|
map -docstring 'enter spell mode' global general s ':enter-user-mode spell<ret>'
|
||||||
|
map -docstring 'enable spell check' global spell s ':spell<ret>'
|
||||||
|
map -docstring 'clear spell check' global spell c ':spell-clear<ret>'
|
||||||
|
map -docstring 'next spell check' global spell n ':spell-next<ret>'
|
||||||
|
map -docstring 'spell check replacements' global spell r ':spell-replace<ret>'
|
||||||
|
|
||||||
|
map -docstring 'quit kakoune' global user q ':q!<ret>'
|
||||||
|
try %{
|
||||||
|
colorscheme %sh{
|
||||||
|
ruby -e "time = Time.new; if time.hour < 20 and time.hour > 6 then puts 'dawnfox' else puts 'carbonfox' end"
|
||||||
|
}
|
||||||
|
} catch %{
|
||||||
|
colorscheme carbonfox
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
cargo install --locked --force --path .
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
try %{
|
|
||||||
|
|
||||||
discord-presence-enable
|
|
||||||
} catch %{
|
|
||||||
echo -debug "Error while evaluating 'kakoune-discord' configuration: %val{error}"
|
|
||||||
|
|
||||||
set-option -add current plug_conf_errors "Error while evaluating 'kakoune-discord' configuration:"
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n " }
|
|
||||||
set-option -add current plug_conf_errors %val{error}
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n\n" }
|
|
||||||
|
|
||||||
hook -once -group plug-conf-err global WinDisplay .* %{
|
|
||||||
info -style modal -title "plug.kak error" "%opt{plug_conf_errors}"
|
|
||||||
on-key %{
|
|
||||||
info -style modal
|
|
||||||
execute-keys -with-maps -with-hooks %val{key}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
|
|
||||||
cargo install --path . --force
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
try %{
|
|
||||||
|
|
||||||
require-module rainbow
|
|
||||||
# suggested mapping
|
|
||||||
# # map global user r ": rainbow<ret>" -docstring "rainbow brackets"
|
|
||||||
# # map global user R ": rmhl window/ranges_rainbow_specs<ret>" \
|
|
||||||
# # -docstring "remove rainbow highlighter"
|
|
||||||
} catch %{
|
|
||||||
echo -debug "Error while evaluating 'kakoune-rainbow' configuration: %val{error}"
|
|
||||||
|
|
||||||
set-option -add current plug_conf_errors "Error while evaluating 'kakoune-rainbow' configuration:"
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n " }
|
|
||||||
set-option -add current plug_conf_errors %val{error}
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n\n" }
|
|
||||||
|
|
||||||
hook -once -group plug-conf-err global WinDisplay .* %{
|
|
||||||
info -style modal -title "plug.kak error" "%opt{plug_conf_errors}"
|
|
||||||
on-key %{
|
|
||||||
info -style modal
|
|
||||||
execute-keys -with-maps -with-hooks %val{key}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
gitlab.com
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
try %{
|
|
||||||
|
|
||||||
# configuration here
|
|
||||||
} catch %{
|
|
||||||
echo -debug "Error while evaluating 'kakoune-smooth-scroll' configuration: %val{error}"
|
|
||||||
|
|
||||||
set-option -add current plug_conf_errors "Error while evaluating 'kakoune-smooth-scroll' configuration:"
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n " }
|
|
||||||
set-option -add current plug_conf_errors %val{error}
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n\n" }
|
|
||||||
|
|
||||||
hook -once -group plug-conf-err global WinDisplay .* %{
|
|
||||||
info -style modal -title "plug.kak error" "%opt{plug_conf_errors}"
|
|
||||||
on-key %{
|
|
||||||
info -style modal
|
|
||||||
execute-keys -with-maps -with-hooks %val{key}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
try %{
|
|
||||||
|
|
||||||
plug "gustavo-hms/peneira" %{
|
|
||||||
require-module peneira
|
|
||||||
}
|
|
||||||
} catch %{
|
|
||||||
echo -debug "Error while evaluating 'luar' configuration: %val{error}"
|
|
||||||
|
|
||||||
set-option -add current plug_conf_errors "Error while evaluating 'luar' configuration:"
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n " }
|
|
||||||
set-option -add current plug_conf_errors %val{error}
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n\n" }
|
|
||||||
|
|
||||||
hook -once -group plug-conf-err global WinDisplay .* %{
|
|
||||||
info -style modal -title "plug.kak error" "%opt{plug_conf_errors}"
|
|
||||||
on-key %{
|
|
||||||
info -style modal
|
|
||||||
execute-keys -with-maps -with-hooks %val{key}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
try %{
|
|
||||||
|
|
||||||
# your config
|
|
||||||
} catch %{
|
|
||||||
echo -debug "Error while evaluating 'pandoc.kak' configuration: %val{error}"
|
|
||||||
|
|
||||||
set-option -add current plug_conf_errors "Error while evaluating 'pandoc.kak' configuration:"
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n " }
|
|
||||||
set-option -add current plug_conf_errors %val{error}
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n\n" }
|
|
||||||
|
|
||||||
hook -once -group plug-conf-err global WinDisplay .* %{
|
|
||||||
info -style modal -title "plug.kak error" "%opt{plug_conf_errors}"
|
|
||||||
on-key %{
|
|
||||||
info -style modal
|
|
||||||
execute-keys -with-maps -with-hooks %val{key}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
try %{
|
|
||||||
|
|
||||||
require-module peneira
|
|
||||||
} catch %{
|
|
||||||
echo -debug "Error while evaluating 'peneira' configuration: %val{error}"
|
|
||||||
|
|
||||||
set-option -add current plug_conf_errors "Error while evaluating 'peneira' configuration:"
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n " }
|
|
||||||
set-option -add current plug_conf_errors %val{error}
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n\n" }
|
|
||||||
|
|
||||||
hook -once -group plug-conf-err global WinDisplay .* %{
|
|
||||||
info -style modal -title "plug.kak error" "%opt{plug_conf_errors}"
|
|
||||||
on-key %{
|
|
||||||
info -style modal
|
|
||||||
execute-keys -with-maps -with-hooks %val{key}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
try %{
|
|
||||||
|
|
||||||
# if you have wrap highlighter enamled in you configuration
|
|
||||||
# files it's better to turn it off for tagbar, using this hook:
|
|
||||||
hook global WinSetOption filetype=tagbar %{
|
|
||||||
remove-highlighter window/wrap
|
|
||||||
# you can also disable rendering whitespaces here, line numbers, and
|
|
||||||
# matching characters
|
|
||||||
}
|
|
||||||
} catch %{
|
|
||||||
echo -debug "Error while evaluating 'tagbar.kak' configuration: %val{error}"
|
|
||||||
|
|
||||||
set-option -add current plug_conf_errors "Error while evaluating 'tagbar.kak' configuration:"
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n " }
|
|
||||||
set-option -add current plug_conf_errors %val{error}
|
|
||||||
set-option -add current plug_conf_errors %sh{ printf "\n\n" }
|
|
||||||
|
|
||||||
hook -once -group plug-conf-err global WinDisplay .* %{
|
|
||||||
info -style modal -title "plug.kak error" "%opt{plug_conf_errors}"
|
|
||||||
on-key %{
|
|
||||||
info -style modal
|
|
||||||
execute-keys -with-maps -with-hooks %val{key}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
30
config/.config/kde.org/UserFeedback.org.kde.discover.conf
Normal file
30
config/.config/kde.org/UserFeedback.org.kde.discover.conf
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
[Source-applicationSourceName]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-applicationVersion]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-locale]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-opengl]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-platform]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-qtVersion]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-screens]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-startCount]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-usageTime]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[UserFeedback]
|
||||||
|
ApplicationStartCount=137
|
||||||
|
ApplicationTime=622
|
||||||
30
config/.config/kde.org/UserFeedback.org.kde.dolphin.conf
Normal file
30
config/.config/kde.org/UserFeedback.org.kde.dolphin.conf
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
[Source-applicationVersion]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-locale]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-places]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-platform]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-qtVersion]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-screens]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-settings]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-startCount]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-usageTime]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[UserFeedback]
|
||||||
|
ApplicationStartCount=3
|
||||||
|
ApplicationTime=35142
|
||||||
21
config/.config/kde.org/UserFeedback.org.kde.kate.conf
Normal file
21
config/.config/kde.org/UserFeedback.org.kde.kate.conf
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
[Source-applicationVersion]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-platform]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-qtVersion]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-screens]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-startCount]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-usageTime]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[UserFeedback]
|
||||||
|
ApplicationStartCount=10
|
||||||
|
ApplicationTime=3242
|
||||||
27
config/.config/kde.org/UserFeedback.org.kde.kmail.conf
Normal file
27
config/.config/kde.org/UserFeedback.org.kde.kmail.conf
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
[Source-accounts]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-applicationVersion]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-locale]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-platform]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-qtVersion]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-screens]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-startCount]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-usageTime]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[UserFeedback]
|
||||||
|
ApplicationStartCount=1
|
||||||
|
ApplicationTime=14
|
||||||
2
config/.config/kde.org/UserFeedback.org.kde.kmail2.conf
Normal file
2
config/.config/kde.org/UserFeedback.org.kde.kmail2.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[UserFeedback]
|
||||||
|
ApplicationStartCount=1
|
||||||
31
config/.config/kde.org/UserFeedback.org.kde.plasmashell.conf
Normal file
31
config/.config/kde.org/UserFeedback.org.kde.plasmashell.conf
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
[Source-applicationVersion]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-compiler]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-opengl]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-panelCount]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-platform]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-qpa]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-qtVersion]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-screens]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[Source-usageTime]
|
||||||
|
dataSourceCommonSettings\activeState=true
|
||||||
|
|
||||||
|
[UserFeedback]
|
||||||
|
ApplicationStartCount=210
|
||||||
|
ApplicationTime=2008695
|
||||||
|
LastEncouragement=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x87}\x4\n\x84\xab\0)
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[UserFeedback]
|
||||||
|
ApplicationStartCount=254
|
||||||
21
config/.config/kde.org/elisa.conf
Normal file
21
config/.config/kde.org/elisa.conf
Normal file
File diff suppressed because one or more lines are too long
5
config/.config/kde.org/marble.conf
Normal file
5
config/.config/kde.org/marble.conf
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
[Favorites]
|
||||||
|
Atlas=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x8c\xc2\x3\xd4\x8b\xdf\0)
|
||||||
|
OpenStreetMap=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x8c\xc2\x3\xd4\x8b\xdf\0)
|
||||||
|
Satellite%20View=@DateTime(\0\0\0\x10\0\0\0\0\0\0%\x8c\xc2\x3\xd4\x8b\xdf\0)
|
||||||
|
initialized=true
|
||||||
7
config/.config/kde.org/plasmashell.conf
Normal file
7
config/.config/kde.org/plasmashell.conf
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[QQControlsFileDialog]
|
||||||
|
favoriteFolders=@Invalid()
|
||||||
|
height=0
|
||||||
|
sidebarSplit=125.55000000000001
|
||||||
|
sidebarVisible=true
|
||||||
|
sidebarWidth=80
|
||||||
|
width=0
|
||||||
2
config/.config/kde.org/spectacle.conf
Normal file
2
config/.config/kde.org/spectacle.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[KImageAnnotator]
|
||||||
|
AnnotatorDockWidgetsState=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x3\0\0\0\0\0\0\0W\0\0\x1\x8a\xfc\x2\0\0\0\x1\xfb\0\0\0\x1c\0T\0o\0o\0l\0 \0S\0\x65\0l\0\x65\0\x63\0t\0i\0o\0n\x1\0\0\0%\0\0\x1\x8a\0\0\0\x64\x1\0\0\x3\0\0\0\x2\0\0\x2t\0\0\0$\xfc\x1\0\0\0\x1\xfb\0\0\0\x1a\0I\0t\0\x65\0m\0 \0S\0\x65\0t\0t\0i\0n\0g\0s\x1\0\0\0\0\0\0\x2t\0\0\0\xe5\x1\0\0\x3\0\0\0\x3\0\0\x2t\0\0\0$\xfc\x1\0\0\0\x2\xfb\0\0\0 \0G\0\x65\0n\0\x65\0r\0\x61\0l\0 \0S\0\x65\0t\0t\0i\0n\0g\0s\x1\0\0\0\0\0\0\x1x\0\0\0x\x1\0\0\x3\xfb\0\0\0\x1c\0I\0m\0\x61\0g\0\x65\0 \0S\0\x65\0t\0t\0i\0n\0g\0s\x1\0\0\x1y\0\0\0\xfb\0\0\0P\x1\0\0\x3\0\0\x2\x1c\0\0\x1\x8a\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\0)
|
||||||
7
config/.config/kde.org/systemsettings.conf
Normal file
7
config/.config/kde.org/systemsettings.conf
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[QQControlsFileDialog]
|
||||||
|
favoriteFolders=@Invalid()
|
||||||
|
height=0
|
||||||
|
sidebarSplit=125.55000000000001
|
||||||
|
sidebarVisible=true
|
||||||
|
sidebarWidth=80
|
||||||
|
width=0
|
||||||
2
config/.config/kdedefaults/kcminputrc
Normal file
2
config/.config/kdedefaults/kcminputrc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[Mouse]
|
||||||
|
cursorTheme=breeze_cursors
|
||||||
8
config/.config/kdedefaults/kdeglobals
Normal file
8
config/.config/kdedefaults/kdeglobals
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[General]
|
||||||
|
ColorScheme=BreezeDark
|
||||||
|
|
||||||
|
[Icons]
|
||||||
|
Theme=breeze-dark
|
||||||
|
|
||||||
|
[KDE]
|
||||||
|
widgetStyle=Breeze
|
||||||
2
config/.config/kdedefaults/kscreenlockerrc
Normal file
2
config/.config/kdedefaults/kscreenlockerrc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[Greeter]
|
||||||
|
Theme=org.kde.breeze.desktop
|
||||||
3
config/.config/kdedefaults/ksplashrc
Normal file
3
config/.config/kdedefaults/ksplashrc
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
[KSplash]
|
||||||
|
Engine=KSplashQML
|
||||||
|
Theme=org.kde.breezedark.desktop
|
||||||
7
config/.config/kdedefaults/kwinrc
Normal file
7
config/.config/kdedefaults/kwinrc
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[Windows]
|
||||||
|
Placement=Centered
|
||||||
|
|
||||||
|
[org.kde.kdecoration2]
|
||||||
|
NoPlugin=false
|
||||||
|
library=org.kde.breeze
|
||||||
|
theme=Breeze
|
||||||
1
config/.config/kdedefaults/package
Normal file
1
config/.config/kdedefaults/package
Normal file
@@ -0,0 +1 @@
|
|||||||
|
org.kde.breezedark.desktop
|
||||||
2
config/.config/kdedefaults/plasmarc
Normal file
2
config/.config/kdedefaults/plasmarc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[Theme]
|
||||||
|
name=default
|
||||||
22
config/.config/mutt/accounts/spamreciver1@outlook.com.muttrc
Normal file
22
config/.config/mutt/accounts/spamreciver1@outlook.com.muttrc
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# vim: filetype=neomuttrc
|
||||||
|
# muttrc file for account spamreciver1@outlook.com
|
||||||
|
set realname = "spamreciver1"
|
||||||
|
set from = "spamreciver1@outlook.com"
|
||||||
|
set sendmail = "msmtp -a spamreciver1@outlook.com"
|
||||||
|
alias me spamreciver1 <spamreciver1@outlook.com>
|
||||||
|
set folder = "/home/mikec/.local/share/mail/spamreciver1@outlook.com"
|
||||||
|
set header_cache = /home/mikec/.cache/mutt-wizard/spamreciver1@outlook.com/headers
|
||||||
|
set message_cachedir = /home/mikec/.cache/mutt-wizard/spamreciver1@outlook.com/bodies
|
||||||
|
set mbox_type = Maildir
|
||||||
|
set hostname = "outlook.com"
|
||||||
|
source /usr/share/mutt-wizard/switch.muttrc
|
||||||
|
set spoolfile = +INBOX
|
||||||
|
set postponed = +Drafts
|
||||||
|
set trash = +Trash
|
||||||
|
set record = +Sent
|
||||||
|
|
||||||
|
macro index o "<shell-escape>mw -y spamreciver1@outlook.com<enter>" "run mbsync to sync spamreciver1@outlook.com"
|
||||||
|
macro index \eg "<enter-command>unset wait_key<enter><shell-escape>gpg --list-secret-keys; printf 'Enter email ID of user to publish: '; read eID; printf 'Enter fingerprint of GPG key to publish: '; read eFGPT; /usr/libexec/gpg-wks-client --create \$eFGPT \$eID | msmtp --read-envelope-from --read-recipients -a spamreciver1@outlook.com<enter>" "publish GPG key to WKS provider"
|
||||||
|
macro index \eh "<pipe-message>/usr/libexec/gpg-wks-client --receive | msmtp --read-envelope-from --read-recipients -a spamreciver1@outlook.com<enter>" "confirm GPG publication"
|
||||||
|
|
||||||
|
mailboxes "=INBOX" "=Drafts" "=Junk" "=Trash" "=Sent" "=Archive"
|
||||||
@@ -5,3 +5,4 @@ macro index,pager i1 '<sync-mailbox><enter-command>source /home/mikec/.config/mu
|
|||||||
macro index,pager i2 '<sync-mailbox><enter-command>source /home/mikec/.config/mutt/accounts/chalupmc@rose-hulman.edu.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to chalupmc@rose-hulman.edu"
|
macro index,pager i2 '<sync-mailbox><enter-command>source /home/mikec/.config/mutt/accounts/chalupmc@rose-hulman.edu.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to chalupmc@rose-hulman.edu"
|
||||||
macro index,pager i3 '<sync-mailbox><enter-command>source /home/mikec/.config/mutt/accounts/mikec@mchalupiak.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to mikec@mchalupiak.com"
|
macro index,pager i3 '<sync-mailbox><enter-command>source /home/mikec/.config/mutt/accounts/mikec@mchalupiak.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to mikec@mchalupiak.com"
|
||||||
set use_threads=reverse sort=last-date
|
set use_threads=reverse sort=last-date
|
||||||
|
macro index,pager i4 '<sync-mailbox><enter-command>source /home/mikec/.config/mutt/accounts/spamreciver1@outlook.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to spamreciver1@outlook.com"
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ bind-key G end
|
|||||||
podlist-format "%2i %b %> %S [%dMB / %tMB] [%p %%] [%K]"
|
podlist-format "%2i %b %> %S [%dMB / %tMB] [%p %%] [%K]"
|
||||||
download-filename-format "%t | %n [%F].%e"
|
download-filename-format "%t | %n [%F].%e"
|
||||||
download-path "~/podcasts/%n/"
|
download-path "~/podcasts/%n/"
|
||||||
|
browser "cha %u"
|
||||||
|
html-renderer "cha -T text/html -d -o display.color-mode=\"true-color\" -o buffer.mark-links=true"
|
||||||
|
|
||||||
macro 1 set browser "curl %u --output /tmp/image && sxiv /tmp/image && rm /tmp/image"; one; set browser lynx
|
macro 1 set browser "curl %u --output /tmp/image && sxiv /tmp/image && rm /tmp/image"; one; set browser lynx
|
||||||
macro 2 set browser "mpv --vid=no -- %u"; one; set browser lynx
|
macro 2 set browser "mpv --vid=no -- %u"; one; set browser lynx
|
||||||
|
|||||||
@@ -1,7 +1,12 @@
|
|||||||
https://phaazon.net/blog/feed
|
https://phaazon.net/blog/feed
|
||||||
|
https://port19.xyz/rss.xml
|
||||||
https://danielde.dev/rss.xml
|
https://danielde.dev/rss.xml
|
||||||
https://sizeof.cat/index.xml
|
https://sizeof.cat/index.xml
|
||||||
|
https://pkolaczk.github.io/feed.xml
|
||||||
|
https://karl-voit.at/feeds/lazyblorg-all.atom_1.0.links-and-content.xml
|
||||||
https://lukesmith.xyz/index.xml
|
https://lukesmith.xyz/index.xml
|
||||||
|
https://joeyh.name/blog/index.rss
|
||||||
|
https://kagifeedback.org/atom/t/release-notes
|
||||||
https://api.substack.com/feed/podcast/462466.rss
|
https://api.substack.com/feed/podcast/462466.rss
|
||||||
https://www.dailywire.com/feeds/rss.xml
|
https://www.dailywire.com/feeds/rss.xml
|
||||||
https://feeds.simplecast.com/6c2VScgo
|
https://feeds.simplecast.com/6c2VScgo
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
function colors(color, theme)
|
|
||||||
color = os.getenv("BASE16_THEME")
|
|
||||||
alt_color = 'rose-pine' or color
|
|
||||||
-- Available values: `'hard'`, `'medium'`, `'soft'`
|
|
||||||
vim.g.gruvbox_material_background = 'medium'
|
|
||||||
-- Available values: `'material'`, `'mix'`, `'original'`
|
|
||||||
vim.g.gruvbox_material_foreground = 'mix'
|
|
||||||
-- Available values: `'hard'`, `'medium'`, `'soft'`
|
|
||||||
vim.g.everforest_background = 'hard'
|
|
||||||
vim.g.gruvbox_material_better_performance = 1
|
|
||||||
vim.g.everforest_better_performance = 1
|
|
||||||
if color == 'gruvbox-dark-hard' then
|
|
||||||
color = 'gruvbox-material'
|
|
||||||
vim.g.gruvbox_material_background = 'hard'
|
|
||||||
elseif color == 'gruvbox-dark-soft' then
|
|
||||||
color = 'gruvbox-material'
|
|
||||||
vim.g.gruvbox_material_background = 'soft'
|
|
||||||
end
|
|
||||||
if theme then
|
|
||||||
vim.cmd.colorscheme(alt_color)
|
|
||||||
elseif not pcall(vim.cmd.colorscheme, color) then
|
|
||||||
vim.cmd.colorscheme(alt_color)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
colors()
|
|
||||||
@@ -1,92 +0,0 @@
|
|||||||
local lsp = require('lsp-zero')
|
|
||||||
local lsp_config = require("lspconfig")
|
|
||||||
|
|
||||||
lsp.preset('recommended')
|
|
||||||
|
|
||||||
lsp.ensure_installed({
|
|
||||||
'lua_ls',
|
|
||||||
})
|
|
||||||
|
|
||||||
--Enable (broadcasting) snippet capability for completion
|
|
||||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
|
||||||
capabilities.textDocument.completion.completionItem.snippetSupport = true
|
|
||||||
|
|
||||||
lsp_config.html.setup {
|
|
||||||
capabilities = capabilities,
|
|
||||||
filetypes = { "html", "etlua" },
|
|
||||||
}
|
|
||||||
|
|
||||||
lsp_config.nim_langserver.setup{
|
|
||||||
settings = {
|
|
||||||
nim = {
|
|
||||||
projectMapping = {
|
|
||||||
projectFile = "main.nim",
|
|
||||||
fileRegex = ".*\\.nim"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
lsp_config.hls.setup{}
|
|
||||||
|
|
||||||
local cmp = require("cmp")
|
|
||||||
local cmp_select = {behavior = cmp.SelectBehavior.Select}
|
|
||||||
local cmp_mappings = lsp.defaults.cmp_mappings({
|
|
||||||
['<C-p>'] = cmp.mapping.select_prev_item(cmp_select),
|
|
||||||
['<C-n>'] = cmp.mapping.select_next_item(cmp_select),
|
|
||||||
['<C-y>'] = cmp.mapping.confirm({select = true}),
|
|
||||||
['<C-Space>'] = cmp.mapping.complete(),
|
|
||||||
})
|
|
||||||
|
|
||||||
cmp.setup {
|
|
||||||
sources = {
|
|
||||||
-- { name = 'conjure' },
|
|
||||||
{ name = 'nvim_lsp_signature_help' },
|
|
||||||
{ name = 'nvim_lsp' },
|
|
||||||
{ name = 'luasnip' },
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
lsp.set_preferences({
|
|
||||||
sign_icons = { }
|
|
||||||
})
|
|
||||||
|
|
||||||
lsp.setup_nvim_cmp({
|
|
||||||
mapping = cmp_mappings
|
|
||||||
})
|
|
||||||
|
|
||||||
lsp.on_attach(function(client, bufnr)
|
|
||||||
local opts = {buffer = bufnr, remap = false}
|
|
||||||
|
|
||||||
if client.name == "eslint" then
|
|
||||||
vim.cmd.LspStop('eslint')
|
|
||||||
return
|
|
||||||
end
|
|
||||||
if client.name == "html" or client.name == "cssls" then
|
|
||||||
capabilities = capabilities
|
|
||||||
end
|
|
||||||
|
|
||||||
vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts)
|
|
||||||
vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)
|
|
||||||
vim.keymap.set("n", "<leader>vws", vim.lsp.buf.workspace_symbol, opts)
|
|
||||||
vim.keymap.set("n", "<leader>vd", vim.diagnostic.open_float, opts)
|
|
||||||
vim.keymap.set("n", "[d", vim.diagnostic.goto_next, opts)
|
|
||||||
vim.keymap.set("n", "]d", vim.diagnostic.goto_prev, opts)
|
|
||||||
vim.keymap.set("n", "<leader>vca", vim.lsp.buf.code_action, opts)
|
|
||||||
vim.keymap.set("n", "<leader>vrr", vim.lsp.buf.references, opts)
|
|
||||||
vim.keymap.set("n", "<leader>vrn", vim.lsp.buf.rename, opts)
|
|
||||||
vim.keymap.set("i", "<C-h>", vim.lsp.buf.signature_help, opts)
|
|
||||||
end)
|
|
||||||
|
|
||||||
lsp_config.lua_ls.setup {
|
|
||||||
-- ... other configs
|
|
||||||
settings = {
|
|
||||||
Lua = {
|
|
||||||
diagnostics = {
|
|
||||||
globals = { 'vim' }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
lsp_config.racket_langserver.setup{}
|
|
||||||
lsp.setup()
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
local builtin = require('telescope.builtin')
|
|
||||||
local telescope = require('telescope')
|
|
||||||
telescope.load_extension("workspaces")
|
|
||||||
telescope.load_extension("recent_files")
|
|
||||||
telescope.load_extension("telescope-tabs")
|
|
||||||
vim.keymap.set('n', '<leader>ff', builtin.find_files, {})
|
|
||||||
vim.keymap.set('n', '<leader>fF', builtin.git_files, {})
|
|
||||||
vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
|
|
||||||
vim.keymap.set('n', '<leader>bb', builtin.buffers, {})
|
|
||||||
vim.keymap.set('n', '<leader>hh', builtin.help_tags, {})
|
|
||||||
vim.keymap.set('n', '<leader>cc', builtin.colorscheme, {})
|
|
||||||
vim.keymap.set('n', '<leader>wo', ":Telescope workspaces<CR>", {})
|
|
||||||
vim.api.nvim_set_keymap("n", "<leader>fr",
|
|
||||||
[[<cmd>lua require('telescope').extensions.recent_files.pick()<CR>]],
|
|
||||||
{noremap = true, silent = true})
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
require'nvim-treesitter.configs'.setup {
|
|
||||||
-- A list of parser names, or "all"
|
|
||||||
ensure_installed = { "help", "java", "c", "lua" },
|
|
||||||
|
|
||||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
|
||||||
sync_install = false,
|
|
||||||
|
|
||||||
-- Automatically install missing parsers when entering buffer
|
|
||||||
-- Recommendation: set to false if you don't have `tree-sitter` CLI installed locally
|
|
||||||
auto_install = true,
|
|
||||||
|
|
||||||
highlight = {
|
|
||||||
-- `false` will disable the whole extension
|
|
||||||
enable = true,
|
|
||||||
|
|
||||||
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
|
|
||||||
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
|
|
||||||
-- Using this option may slow down your editor, and you may see some duplicate highlights.
|
|
||||||
-- Instead of true it can also be a list of languages
|
|
||||||
additional_vim_regex_highlighting = false,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
|
|
||||||
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
[{"url": "sqlserver://chalupmc:MikeC00l@golem.csse.rose-hulman.edu/SodaBasechalupmc", "name": "SodaBasechalupmc"}, {"url": "sqlserver://chalupmc:MikeC00l@golem.csse.rose-hulman.edu/NWindchalupmc", "name": "NWindchalupmc"}]
|
|
||||||
@@ -1,97 +0,0 @@
|
|||||||
-- See `:help vim.lsp.start_client` for an overview of the supported `config` options.
|
|
||||||
|
|
||||||
--local project_name = vim.fn.fnamemodify(vim.fn.getcwd(), ':p:h:t')
|
|
||||||
--local workspace_dir = '/path/to/workspace-root/' .. project_name
|
|
||||||
local workspace_dir = vim.fn.getcwd()
|
|
||||||
local config = {
|
|
||||||
-- The command that starts the language server
|
|
||||||
-- See: https://github.com/eclipse/eclipse.jdt.ls#running-from-the-command-line
|
|
||||||
cmd = {
|
|
||||||
|
|
||||||
-- 💀
|
|
||||||
'jdtls', -- or '/path/to/java17_or_newer/bin/java'
|
|
||||||
-- depends on if `java` is in your $PATH env variable and if it points to the right version.
|
|
||||||
|
|
||||||
-- '-Declipse.application=org.eclipse.jdt.ls.core.id1',
|
|
||||||
-- '-Dosgi.bundles.defaultStartLevel=4',
|
|
||||||
-- '-Declipse.product=org.eclipse.jdt.ls.core.product',
|
|
||||||
-- '-Dlog.protocol=true',
|
|
||||||
-- '-Dlog.level=ALL',
|
|
||||||
-- '-Xms1g',
|
|
||||||
-- '--add-modules=ALL-SYSTEM',
|
|
||||||
-- '--add-opens', 'java.base/java.util=ALL-UNNAMED',
|
|
||||||
-- '--add-opens', 'java.base/java.lang=ALL-UNNAMED',
|
|
||||||
--
|
|
||||||
-- -- 💀
|
|
||||||
-- '-jar', '/usr/share/java/jdtls/plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar',
|
|
||||||
-- -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
|
|
||||||
-- -- Must point to the Change this to
|
|
||||||
-- -- eclipse.jdt.ls installation the actual version
|
|
||||||
--
|
|
||||||
--
|
|
||||||
-- -- 💀
|
|
||||||
-- '-configuration', '/usr/share/java/jdtls/config_linux',
|
|
||||||
-- -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^
|
|
||||||
-- -- Must point to the Change to one of `linux`, `win` or `mac`
|
|
||||||
-- -- eclipse.jdt.ls installation Depending on your system.
|
|
||||||
--
|
|
||||||
--
|
|
||||||
-- -- 💀
|
|
||||||
-- -- See `data directory configuration` section in the README
|
|
||||||
-- '-data', "/home/mikec/Documents/workspace"
|
|
||||||
},
|
|
||||||
|
|
||||||
-- 💀
|
|
||||||
-- This is the default if not provided, you can remove it. Or adjust as needed.
|
|
||||||
-- One dedicated LSP server & client will be started per unique root_dir
|
|
||||||
root_dir = require('jdtls.setup').find_root({'.git', 'mvnw', 'gradlew'}),
|
|
||||||
|
|
||||||
-- Here you can configure eclipse.jdt.ls specific settings
|
|
||||||
-- See https://github.com/eclipse/eclipse.jdt.ls/wiki/Running-the-JAVA-LS-server-from-the-command-line#initialize-request
|
|
||||||
-- for a list of options
|
|
||||||
settings = {
|
|
||||||
java = {
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
-- Language server `initializationOptions`
|
|
||||||
-- You need to extend the `bundles` with paths to jar files
|
|
||||||
-- if you want to use additional eclipse.jdt.ls plugins.
|
|
||||||
--
|
|
||||||
-- See https://github.com/mfussenegger/nvim-jdtls#java-debug-installation
|
|
||||||
--
|
|
||||||
-- If you don't plan on using the debugger or other eclipse.jdt.ls plugins you can remove this
|
|
||||||
--init_options = {
|
|
||||||
-- bundles = {
|
|
||||||
-- vim.fn.glob("/home/mikec/.local/share/nvim/mason/packages/java-debug-adapter/extension/server/com.microsoft.java.debug.plugin/target/com.microsoft.java.debug.plugin-*.jar", 1)
|
|
||||||
-- }
|
|
||||||
--},
|
|
||||||
}
|
|
||||||
|
|
||||||
-- This bundles definition is the same as in the previous section (java-debug installation)
|
|
||||||
local bundles = {
|
|
||||||
vim.fn.glob("/home/mikec/.local/share/nvim/mason/packages/java-debug-adapter/extension/server/com.microsoft.java.debug.plugin/target/com.microsoft.java.debug.plugin-*.jar", 1)
|
|
||||||
};
|
|
||||||
|
|
||||||
-- This is the new part
|
|
||||||
vim.list_extend(bundles, vim.split(vim.fn.glob("/path/to/microsoft/vscode-java-test/server/*.jar", 1), "\n"))
|
|
||||||
config['init_options'] = {
|
|
||||||
bundles = bundles;
|
|
||||||
}
|
|
||||||
|
|
||||||
-- This starts a new client & server,
|
|
||||||
-- or attaches to an existing client & server depending on the `root_dir`.
|
|
||||||
|
|
||||||
vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts)
|
|
||||||
vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)
|
|
||||||
vim.keymap.set("n", "<leader>vws", vim.lsp.buf.workspace_symbol, opts)
|
|
||||||
vim.keymap.set("n", "<leader>vd", vim.diagnostic.open_float, opts)
|
|
||||||
vim.keymap.set("n", "[d", vim.diagnostic.goto_next, opts)
|
|
||||||
vim.keymap.set("n", "]d", vim.diagnostic.goto_prev, opts)
|
|
||||||
vim.keymap.set("n", "<leader>vca", vim.lsp.buf.code_action, opts)
|
|
||||||
vim.keymap.set("n", "<leader>vrr", vim.lsp.buf.references, opts)
|
|
||||||
vim.keymap.set("n", "<leader>vrn", vim.lsp.buf.rename, opts)
|
|
||||||
vim.keymap.set("i", "<C-h>", vim.lsp.buf.signature_help, opts)
|
|
||||||
vim.keymap.set("n", "<leader>i", function() require('jdtls').organize_imports() end, opts)
|
|
||||||
|
|
||||||
require('jdtls').start_or_attach(config)
|
|
||||||
2
config/.config/nvim/init.lua
Executable file → Normal file
2
config/.config/nvim/init.lua
Executable file → Normal file
@@ -1 +1 @@
|
|||||||
require("config")
|
require 'config'
|
||||||
|
|||||||
74
config/.config/nvim/lazy-lock.json
Normal file
74
config/.config/nvim/lazy-lock.json
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
{
|
||||||
|
"auto-dark-mode.nvim": { "branch": "master", "commit": "e300259ec777a40b4b9e3c8e6ade203e78d15881" },
|
||||||
|
"blink.cmp": { "branch": "main", "commit": "451168851e8e2466bc97ee3e026c3dcb9141ce07" },
|
||||||
|
"catppuccin": { "branch": "main", "commit": "a7788416689dbefea659d9e9415c87926b0ba5d8" },
|
||||||
|
"cellular-automaton.nvim": { "branch": "main", "commit": "1606e9d5d04ff254023c3f3c62842d065708d6d3" },
|
||||||
|
"command.nvim": { "branch": "main", "commit": "cf73df4f9afc123b1fc3a8674d3fae08d2ad67db" },
|
||||||
|
"compiler-explorer.nvim": { "branch": "master", "commit": "523c6a7a3d8c034b421a71eb20b0da75b0b16f62" },
|
||||||
|
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||||
|
"dim.lua": { "branch": "main", "commit": "a3a0dce75f7212ab61130e77a8157530bd23db15" },
|
||||||
|
"dracula.nvim": { "branch": "main", "commit": "ae752c13e95fb7c5f58da4b5123cb804ea7568ee" },
|
||||||
|
"dropbar.nvim": { "branch": "master", "commit": "ce202248134e3949aac375fd66c28e5207785b10" },
|
||||||
|
"everblush": { "branch": "main", "commit": "678f808d81801b983b6fb8296fb17ba1b2785d7c" },
|
||||||
|
"everforest": { "branch": "master", "commit": "b03a03148c8b34c24c96960b93da9c8883d11f54" },
|
||||||
|
"fennel.vim": { "branch": "main", "commit": "c6a9c035ca108cbb24273d96cd6277fb8fbc60b4" },
|
||||||
|
"firenvim": { "branch": "master", "commit": "a18ef908ac06b52ad9333b70e3e630b0a56ecb3d" },
|
||||||
|
"github-colors": { "branch": "main", "commit": "7292749e49e6f870e63879a528bb05c8c8d1a59a" },
|
||||||
|
"github-nvim-theme": { "branch": "main", "commit": "c106c9472154d6b2c74b74565616b877ae8ed31d" },
|
||||||
|
"gitsigns.nvim": { "branch": "main", "commit": "caa98e2e5e4c23a1652c23be839d2e1722cecc29" },
|
||||||
|
"gruvbox-material": { "branch": "master", "commit": "790afe9dd085aa04eccd1da3626c5fa05c620e53" },
|
||||||
|
"gruvbox.nvim": { "branch": "main", "commit": "334d5fd49fc8033f26408425366c66c6390c57bb" },
|
||||||
|
"hex.nvim": { "branch": "master", "commit": "b46e63356a69e8d6f046c38a9708d55d17f15038" },
|
||||||
|
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||||
|
"leap.nvim": { "branch": "main", "commit": "b960d5038c5c505c52e56a54490f9bbb1f0e6ef6" },
|
||||||
|
"love2d.nvim": { "branch": "main", "commit": "25715394680590f56aab90390d430cab0dc46808" },
|
||||||
|
"lua-utils.nvim": { "branch": "main", "commit": "e565749421f4bbb5d2e85e37c3cef9d56553d8bd" },
|
||||||
|
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||||
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "25f609e7fca78af7cede4f9fa3af8a94b1c4950b" },
|
||||||
|
"mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" },
|
||||||
|
"melange-nvim": { "branch": "master", "commit": "ce42f6b629beeaa00591ba73a77d3eeac4cf28ce" },
|
||||||
|
"mellow.nvim": { "branch": "main", "commit": "6273b7f0ddf6ac2b75021b3bc0bd8b3305cfeef1" },
|
||||||
|
"mini.nvim": { "branch": "main", "commit": "3923662bf3d6ca49a9503f8d7196ea0450983e6a" },
|
||||||
|
"monochrome.nvim": { "branch": "main", "commit": "2de78d9688ea4a177bcd9be554ab9192337d35ff" },
|
||||||
|
"monokai.nvim": { "branch": "master", "commit": "b8bd44d5796503173627d7a1fc51f77ec3a08a63" },
|
||||||
|
"moonlight.nvim": { "branch": "pure-lua", "commit": "e24e4218ec680b6396532808abf57ca0ada82e66" },
|
||||||
|
"moonscript-vim": { "branch": "master", "commit": "715c96c7c3b02adc507f84bf5754985460afc426" },
|
||||||
|
"multicursor.nvim": { "branch": "1.0", "commit": "704b99f10a72cc05d370cfeb294ff83412a8ab55" },
|
||||||
|
"nabla.nvim": { "branch": "master", "commit": "9b69b709063ccf40ac36fabb4fff7d90b3736475" },
|
||||||
|
"nelua.vim": { "branch": "main", "commit": "08ddb2e0dda7d2bd6cd9d4efadb6a07547e135c3" },
|
||||||
|
"neogit": { "branch": "master", "commit": "4681c1fdac1b730592ae195576e87406f7255750" },
|
||||||
|
"neorg": { "branch": "main", "commit": "408fc04013a95da8f217cb0958a06b6a77c01743" },
|
||||||
|
"nightfox.nvim": { "branch": "main", "commit": "ba47d4b4c5ec308718641ba7402c143836f35aa9" },
|
||||||
|
"nord.nvim": { "branch": "master", "commit": "80c1e5321505aeb22b7a9f23eb82f1e193c12470" },
|
||||||
|
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||||
|
"nvim-autopairs": { "branch": "master", "commit": "59bce2eef357189c3305e25bc6dd2d138c1683f5" },
|
||||||
|
"nvim-highlight-colors": { "branch": "main", "commit": "e2cb22089cc2358b2b995c09578224f142de6039" },
|
||||||
|
"nvim-lspconfig": { "branch": "master", "commit": "5492a24edd68f78d8a778edcb8905d0a28993abc" },
|
||||||
|
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||||
|
"nvim-surround": { "branch": "main", "commit": "1098d7b3c34adcfa7feb3289ee434529abd4afd1" },
|
||||||
|
"nvim-treesitter": { "branch": "master", "commit": "cf12346a3414fa1b06af75c79faebe7f76df080a" },
|
||||||
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "5ca4aaa6efdcc59be46b95a3e876300cfead05ef" },
|
||||||
|
"nvim-ts-autotag": { "branch": "main", "commit": "8e1c0a389f20bf7f5b0dd0e00306c1247bda2595" },
|
||||||
|
"nvim-unception": { "branch": "main", "commit": "df0e505f0f1371c49c2bcf993985962edb5a279d" },
|
||||||
|
"nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" },
|
||||||
|
"oceanic-next": { "branch": "master", "commit": "09833f72d5ba23de2e8bcae18f479f326f5f677a" },
|
||||||
|
"oil.nvim": { "branch": "master", "commit": "0fcc83805ad11cf714a949c98c605ed717e0b83e" },
|
||||||
|
"one-nvim": { "branch": "main", "commit": "faf6fb3f98fccbe009c3466f657a8fff84a5f956" },
|
||||||
|
"onedark.nvim": { "branch": "master", "commit": "213c23ae45a04797572242568d5d51937181792d" },
|
||||||
|
"pathlib.nvim": { "branch": "main", "commit": "57e5598af6fe253761c1b48e0b59b7cd6699e2c1" },
|
||||||
|
"plantuml-syntax": { "branch": "master", "commit": "9d4900aa16674bf5bb8296a72b975317d573b547" },
|
||||||
|
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||||
|
"range-highlight.nvim": { "branch": "master", "commit": "097103da6550c2a34c029971c3d7da63d3fef320" },
|
||||||
|
"rose-pine": { "branch": "main", "commit": "cf2a288696b03d0934da713d66c6d71557b5c997" },
|
||||||
|
"sherbet.nvim": { "branch": "master", "commit": "5c4166eff70ec551ae0023edfb89141b25cc18c6" },
|
||||||
|
"snacks.nvim": { "branch": "main", "commit": "ad9ede6a9cddf16cedbd31b8932d6dcdee9b716e" },
|
||||||
|
"telescope-tabs": { "branch": "vim_ui_select", "commit": "f01bc722582fdcaa58ea37492b382ff109893d95" },
|
||||||
|
"tokyonight.nvim": { "branch": "main", "commit": "cdc07ac78467a233fd62c493de29a17e0cf2b2b6" },
|
||||||
|
"v-vim": { "branch": "master", "commit": "1dc1388bafb89072f8349dbd96f9462ae22237cb" },
|
||||||
|
"vim-colors-xcode": { "branch": "master", "commit": "2329a3ed092b4f72e9361a94567a5431e36e7d9c" },
|
||||||
|
"vim-etlua": { "branch": "master", "commit": "bb2974d0134ce6da60c3be0d82d809976b859c1c" },
|
||||||
|
"vim-repeat": { "branch": "master", "commit": "65846025c15494983dafe5e3b46c8f88ab2e9635" },
|
||||||
|
"vim-teal": { "branch": "master", "commit": "a416397cf7aad7b03ef53fd3d9847fd764bcbfee" },
|
||||||
|
"vlime": { "branch": "master", "commit": "e276e9a6f37d2699a3caa63be19314f5a19a1481" },
|
||||||
|
"vscode.nvim": { "branch": "main", "commit": "aa1102a7e15195c9cca22730b09224a7f7745ba8" }
|
||||||
|
}
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
local M = {}
|
|
||||||
|
|
||||||
local function db_completion()
|
|
||||||
require("cmp").setup.buffer { sources = { { name = "vim-dadbod-completion" } } }
|
|
||||||
end
|
|
||||||
|
|
||||||
function M.setup()
|
|
||||||
vim.g.db_ui_save_location = vim.fn.stdpath "config" .. require("plenary.path").path.sep .. "db_ui"
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
|
||||||
pattern = {
|
|
||||||
"sql",
|
|
||||||
},
|
|
||||||
command = [[setlocal omnifunc=vim_dadbod_completion#omni]],
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
|
||||||
pattern = {
|
|
||||||
"sql",
|
|
||||||
"mysql",
|
|
||||||
"plsql",
|
|
||||||
},
|
|
||||||
callback = function()
|
|
||||||
vim.schedule(db_completion)
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|
||||||
return M
|
|
||||||
7
config/.config/nvim/lua/config/init.lua
Executable file → Normal file
7
config/.config/nvim/lua/config/init.lua
Executable file → Normal file
@@ -1,3 +1,4 @@
|
|||||||
require("config.remap")
|
require 'config.lazy'
|
||||||
require("config.packer")
|
require 'config.set'
|
||||||
require("config.set")
|
require 'config.keymap'
|
||||||
|
require 'config.lsp'
|
||||||
|
|||||||
112
config/.config/nvim/lua/config/keymap.lua
Normal file
112
config/.config/nvim/lua/config/keymap.lua
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
local set = vim.keymap.set
|
||||||
|
local setnx = function(key, command, desc)
|
||||||
|
set({'n', 'x'}, key, command, { desc = desc })
|
||||||
|
end
|
||||||
|
|
||||||
|
setnx('<leader>ff', Snacks.picker.files, 'Find files')
|
||||||
|
setnx('<leader>fF', function() Snacks.picker.files({ dirs = { '.' }}) end, 'Find files in current dir')
|
||||||
|
setnx('<leader>f/', Snacks.picker.grep_word, 'Search current word')
|
||||||
|
setnx('<leader>fg', Snacks.picker.grep, 'Search in files')
|
||||||
|
setnx('<leader>fr', Snacks.picker.recent, 'Find recent files')
|
||||||
|
setnx('<leader>b', Snacks.picker.buffers, 'List buffers')
|
||||||
|
setnx('<leader>h', Snacks.picker.help, 'Search help')
|
||||||
|
setnx('<leader>P', '<CMD>Markview splitToggle<CR>', 'Open markview preview')
|
||||||
|
setnx('<leader>z', Snacks.zen.zen, 'Toggle snacks zen mode')
|
||||||
|
|
||||||
|
local setto = function(key, command, desc)
|
||||||
|
set({ 'x', 'o' }, key, command, { desc = desc })
|
||||||
|
end
|
||||||
|
local setton = function(key, command, desc)
|
||||||
|
set({ 'n', 'x', 'o' }, key, command, { desc = desc })
|
||||||
|
end
|
||||||
|
local select_to = function(query)
|
||||||
|
return function ()
|
||||||
|
require'nvim-treesitter-textobjects.select'.select_textobject(query, "textobjects")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
local move_next_start = function(query)
|
||||||
|
return function ()
|
||||||
|
require'nvim-treesitter-textobjects.move'.goto_next_start(query, "textobjects")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
local move_prev_start = function(query)
|
||||||
|
return function ()
|
||||||
|
require'nvim-treesitter-textobjects.move'.goto_previous_start(query, "textobjects")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
setto('if', select_to("@function.inner"), 'Select inside function')
|
||||||
|
setto('af', select_to("@function.outer"), 'Select around function')
|
||||||
|
setto('ia', select_to("@parameter.inner"), 'Select inside parameter')
|
||||||
|
setto('aa', select_to("@parameter.outer"), 'Select around parameter')
|
||||||
|
setton(']p', move_next_start("@parameter.inner"), 'Goto next parameter')
|
||||||
|
setton('[p', move_prev_start("@parameter.inner"), 'Goto previous parameter')
|
||||||
|
|
||||||
|
setnx('<leader>m', Snacks.picker.marks, 'Search marks')
|
||||||
|
setnx('<leader>q', Snacks.picker.qflist, 'Search quickfix list')
|
||||||
|
setnx('<leader>l', Snacks.picker.loclist, 'Search location list')
|
||||||
|
setnx('<leader>j', Snacks.picker.jumps, 'Search jumplist')
|
||||||
|
setnx('<leader>r', Snacks.picker.registers, 'Search registers')
|
||||||
|
setnx('<leader>s', Snacks.picker.spelling, 'List spelling suggestions')
|
||||||
|
setnx('<leader>M', Snacks.picker.man, 'Search man pages')
|
||||||
|
setnx('<leader>t', require'telescope-tabs'.list_tabs, 'List tabs')
|
||||||
|
setnx('<leader>C', Snacks.picker.colorschemes, 'Select colorscheme')
|
||||||
|
setnx('<leader>N', Snacks.picker.notifications, 'List notifications')
|
||||||
|
|
||||||
|
local neogit = require('neogit')
|
||||||
|
setnx('<leader>op', '<CMD>Oil<CR>', 'Open file manager')
|
||||||
|
setnx('<leader>oP', '<CMD>Oil --float<CR>', 'Open file manager in floating window')
|
||||||
|
setnx('<leader>ot', '<CMD>term<CR>', 'Open terminal')
|
||||||
|
setnx('<leader>oT', '<CMD>tabnew<CR>', 'Open new tab')
|
||||||
|
setnx('<leader>of', '<CMD>enew<CR>', 'Open new file')
|
||||||
|
-- setnx('<leader>ow', '<CMD>Telescope workspaces', 'Open workspace')
|
||||||
|
setnx('<leader>ol', '<CMD>Lazy<CR>', 'Open Lazy')
|
||||||
|
setnx('<leader>om', '<CMD>Mason<CR>', 'Open Mason')
|
||||||
|
setnx('<leader>oc', '<CMD>cd ' .. vim.fn.stdpath('config') .. '<CR><CMD>Oil .<CR>', 'Open neovim configuration')
|
||||||
|
setnx('<leader>og', neogit.open, 'Open (neo)git')
|
||||||
|
|
||||||
|
setnx('<leader>cc', '<CMD>CommandExecute<CR>', 'Run shell command')
|
||||||
|
setnx('<leader>ct', '<CMD>CommandReopenTerminal<CR>', 'Open shell command terminal')
|
||||||
|
setnx('<leader>cl', '<CMD>CommandExecuteLast<CR>', 'Run last shell command')
|
||||||
|
setnx('<leader>cs', '<CMD>CommandExecuteSelection<CR>', 'Run selection as shell command')
|
||||||
|
|
||||||
|
-- Exit terminal mode with ESC
|
||||||
|
set('t', '<Esc>', '<C-\\><C-n>')
|
||||||
|
|
||||||
|
-- Swap ' and `
|
||||||
|
setnx('\'', '`', 'Goto mark with column')
|
||||||
|
setnx('`', '\'', 'Goto mark without column')
|
||||||
|
|
||||||
|
setnx('<leader>x', '<CMD>bd!<CR>', 'Close Current Buffer')
|
||||||
|
|
||||||
|
setnx('grr', Snacks.picker.lsp_references, 'Search lsp references')
|
||||||
|
setnx('grI', Snacks.picker.lsp_incoming_calls, 'Find incoming function calls')
|
||||||
|
setnx('grO', Snacks.picker.lsp_outgoing_calls, 'Find outgoing function calls')
|
||||||
|
setnx('grd', Snacks.picker.diagnostics, 'Show LSP diagnostics')
|
||||||
|
setnx('grD', (function()
|
||||||
|
local diag = true
|
||||||
|
return function()
|
||||||
|
diag = not diag
|
||||||
|
vim.diagnostic.config({ update_in_insert = true, float = true, virtual_lines = diag})
|
||||||
|
end
|
||||||
|
end)(), 'Toggle LSP diagnostics')
|
||||||
|
setnx('grs', Snacks.picker.lsp_workspace_symbols, 'Show workspace symbols')
|
||||||
|
setnx('grS', Snacks.picker.lsp_symbols, 'Show document symbols')
|
||||||
|
setnx('gri', Snacks.picker.lsp_implementations, 'Goto implementation')
|
||||||
|
setnx('gd', Snacks.picker.lsp_definitions, 'Goto definition')
|
||||||
|
setnx('gD', Snacks.picker.lsp_type_definitions, 'Goto type definition')
|
||||||
|
|
||||||
|
setnx('<leader>gc', Snacks.picker.git_log, 'List git commits')
|
||||||
|
setnx('<leader>gb', Snacks.picker.git_branches, 'List git branches')
|
||||||
|
setnx('<leader>gs', Snacks.picker.git_status, 'Show git status')
|
||||||
|
setnx('<leader>gS', Snacks.picker.git_stash, 'Show git stash')
|
||||||
|
setnx('<leader>gB', Snacks.picker.git_log_file, 'List buffers git commits')
|
||||||
|
setnx('<leader>gr', Snacks.picker.git_log_line, 'List buffers git commits over visual range')
|
||||||
|
|
||||||
|
setnx('<leader>n', require('nabla').popup, 'Show popup for nabla preview')
|
||||||
|
setnx('<leader>p', '"+p', 'Paste from system clipboard')
|
||||||
|
setnx('<leader>y', '"+y', 'Yank to system clipboard')
|
||||||
|
|
||||||
|
setnx('gs', '<Plug>(leap)', 'Activate leap')
|
||||||
|
setnx('g<C-s>', '<Plug>(leap-anywhere)', 'Activate leap anywhere')
|
||||||
|
setnx('gS', require('leap.remote').action, 'Activate remote leap')
|
||||||
35
config/.config/nvim/lua/config/lazy.lua
Normal file
35
config/.config/nvim/lua/config/lazy.lua
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
-- Bootstrap lazy.nvim
|
||||||
|
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)
|
||||||
|
|
||||||
|
-- Make sure to setup `mapleader` and `maplocalleader` before
|
||||||
|
-- loading lazy.nvim so that mappings are correct.
|
||||||
|
-- This is also a good place to setup other settings (vim.opt)
|
||||||
|
vim.g.mapleader = " "
|
||||||
|
vim.g.maplocalleader = "\\"
|
||||||
|
|
||||||
|
-- Setup lazy.nvim
|
||||||
|
require("lazy").setup({
|
||||||
|
spec = {
|
||||||
|
-- import your plugins
|
||||||
|
{ import = "plugins" },
|
||||||
|
},
|
||||||
|
-- Configure any other settings here. See the documentation for more details.
|
||||||
|
-- colorscheme that will be used when installing plugins.
|
||||||
|
-- install = { colorscheme = { "nord" } },
|
||||||
|
-- automatically check for plugin updates
|
||||||
|
checker = { enabled = false, notify = false },
|
||||||
|
})
|
||||||
29
config/.config/nvim/lua/config/lsp.lua
Normal file
29
config/.config/nvim/lua/config/lsp.lua
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
vim.api.nvim_create_autocmd('LspAttach', {
|
||||||
|
group = vim.api.nvim_create_augroup('UserLspConfig', {}),
|
||||||
|
callback = function(args)
|
||||||
|
local client = vim.lsp.get_client_by_id(args.data.client_id)
|
||||||
|
if client:supports_method('textDocument/inlayHint') or client.server_capabilities.inlayHintProvider then
|
||||||
|
vim.lsp.inlay_hint.enable(true, { bufnr = args.buf })
|
||||||
|
end
|
||||||
|
end
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.lsp.config('lua_ls', {
|
||||||
|
settings = {
|
||||||
|
Lua = {
|
||||||
|
workspace = {
|
||||||
|
library = vim.api.nvim_get_runtime_file("", true),
|
||||||
|
maxPreload = 100000,
|
||||||
|
preloadFileSize = 100000,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.lsp.config('tinymist', {
|
||||||
|
settings = {
|
||||||
|
exportPdf = "onType",
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.diagnostic.config({ update_in_insert = true, float = true, virtual_lines = true})
|
||||||
@@ -1,334 +0,0 @@
|
|||||||
-- This file can be loaded by calling `lua require('plugins')` from your init.vim
|
|
||||||
|
|
||||||
-- Only required if you have packer configured as `opt`
|
|
||||||
vim.cmd [[packadd packer.nvim]]
|
|
||||||
|
|
||||||
return require('packer').startup(function(use)
|
|
||||||
-- Packer can manage itself
|
|
||||||
use 'wbthomason/packer.nvim'
|
|
||||||
|
|
||||||
use {
|
|
||||||
'nvim-telescope/telescope.nvim',
|
|
||||||
branch = '0.1.x',
|
|
||||||
requires = { { 'nvim-lua/plenary.nvim' } }
|
|
||||||
}
|
|
||||||
|
|
||||||
use {
|
|
||||||
'LukasPietzschmann/telescope-tabs',
|
|
||||||
requires = { 'nvim-telescope/telescope.nvim' },
|
|
||||||
config = function()
|
|
||||||
require'telescope-tabs'.setup{
|
|
||||||
-- Your custom config :^)
|
|
||||||
}
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
use "sindrets/diffview.nvim"
|
|
||||||
|
|
||||||
use({
|
|
||||||
'rose-pine/neovim',
|
|
||||||
as = 'rose-pine',
|
|
||||||
-- config = function()
|
|
||||||
-- vim.cmd('colorscheme rose-pine')
|
|
||||||
-- end
|
|
||||||
})
|
|
||||||
|
|
||||||
use 'tanvirtin/monokai.nvim'
|
|
||||||
|
|
||||||
use 'arzg/vim-colors-xcode'
|
|
||||||
|
|
||||||
use 'shaunsingh/nord.nvim'
|
|
||||||
|
|
||||||
use 'kvrohit/mellow.nvim'
|
|
||||||
|
|
||||||
use 'Mofiqul/vscode.nvim'
|
|
||||||
|
|
||||||
use 'Th3Whit3Wolf/one-nvim'
|
|
||||||
|
|
||||||
use 'mhartington/oceanic-next'
|
|
||||||
|
|
||||||
use 'folke/tokyonight.nvim'
|
|
||||||
|
|
||||||
use 'sainnhe/gruvbox-material'
|
|
||||||
|
|
||||||
use { "ellisonleao/gruvbox.nvim" }
|
|
||||||
|
|
||||||
use 'sainnhe/everforest'
|
|
||||||
|
|
||||||
use 'lourenci/github-colors'
|
|
||||||
|
|
||||||
use 'navarasu/onedark.nvim'
|
|
||||||
|
|
||||||
use 'shaunsingh/moonlight.nvim'
|
|
||||||
|
|
||||||
use 'Mofiqul/dracula.nvim'
|
|
||||||
|
|
||||||
use 'kdheepak/monochrome.nvim'
|
|
||||||
|
|
||||||
use "savq/melange-nvim"
|
|
||||||
|
|
||||||
use { "catppuccin/nvim", as = "catppuccin" }
|
|
||||||
|
|
||||||
-- use 'RRethy/nvim-base16'
|
|
||||||
|
|
||||||
use ({ 'projekt0n/github-nvim-theme' })
|
|
||||||
|
|
||||||
use { 'Everblush/nvim', as = 'everblush' }
|
|
||||||
|
|
||||||
use "lewpoly/sherbet.nvim"
|
|
||||||
|
|
||||||
use 'xiyaowong/transparent.nvim'
|
|
||||||
|
|
||||||
use {
|
|
||||||
'nvim-treesitter/nvim-treesitter',
|
|
||||||
run = ':TSUpdate',
|
|
||||||
}
|
|
||||||
|
|
||||||
use {
|
|
||||||
'numToStr/Comment.nvim',
|
|
||||||
config = function()
|
|
||||||
require('Comment').setup()
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
use 'nvim-treesitter/playground'
|
|
||||||
|
|
||||||
-- use 'mbbill/undotree'
|
|
||||||
|
|
||||||
use {
|
|
||||||
'VonHeikemen/lsp-zero.nvim',
|
|
||||||
requires = {
|
|
||||||
-- LSP Support
|
|
||||||
{ 'neovim/nvim-lspconfig' },
|
|
||||||
{ 'williamboman/mason.nvim' },
|
|
||||||
{ 'williamboman/mason-lspconfig.nvim' },
|
|
||||||
|
|
||||||
-- Autocompletion
|
|
||||||
{ 'hrsh7th/nvim-cmp' },
|
|
||||||
{ 'hrsh7th/cmp-buffer' },
|
|
||||||
{ 'hrsh7th/cmp-path' },
|
|
||||||
{ 'hrsh7th/cmp-nvim-lsp-signature-help' },
|
|
||||||
{ 'saadparwaiz1/cmp_luasnip' },
|
|
||||||
{ 'hrsh7th/cmp-nvim-lsp' },
|
|
||||||
{ 'hrsh7th/cmp-nvim-lua' },
|
|
||||||
|
|
||||||
-- Snippets
|
|
||||||
{ 'L3MON4D3/LuaSnip' },
|
|
||||||
{ 'rafamadriz/friendly-snippets' },
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
use {
|
|
||||||
'L3MON4D3/LuaSnip',
|
|
||||||
--after = 'nvim-cmp',
|
|
||||||
requires = { "rafamadriz/friendly-snippets" },
|
|
||||||
config = function()
|
|
||||||
--require('config.snippets')
|
|
||||||
require("luasnip.loaders.from_vscode").lazy_load()
|
|
||||||
end,
|
|
||||||
run = "make install_jsregexp"
|
|
||||||
}
|
|
||||||
|
|
||||||
use 'rafamadriz/friendly-snippets'
|
|
||||||
|
|
||||||
use {
|
|
||||||
"folke/twilight.nvim",
|
|
||||||
config = function()
|
|
||||||
require("twilight").setup {
|
|
||||||
-- your configuration comes here
|
|
||||||
-- or leave it empty to use the default settings
|
|
||||||
-- refer to the configuration section below
|
|
||||||
}
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
use 'winston0410/cmd-parser.nvim'
|
|
||||||
use {
|
|
||||||
'winston0410/range-highlight.nvim',
|
|
||||||
config = function() require("range-highlight").setup {} end
|
|
||||||
}
|
|
||||||
|
|
||||||
use 'RRethy/vim-illuminate'
|
|
||||||
|
|
||||||
use 'mfussenegger/nvim-jdtls'
|
|
||||||
|
|
||||||
use {
|
|
||||||
"samjwill/nvim-unception",
|
|
||||||
setup = function()
|
|
||||||
-- Optional settings go here!
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
use {
|
|
||||||
"0oAstro/dim.lua",
|
|
||||||
requires = { "nvim-treesitter/nvim-treesitter", "neovim/nvim-lspconfig" },
|
|
||||||
config = function()
|
|
||||||
require('dim').setup({})
|
|
||||||
end
|
|
||||||
}
|
|
||||||
use 'mfussenegger/nvim-dap'
|
|
||||||
|
|
||||||
use { "rcarriga/nvim-dap-ui", requires = { "mfussenegger/nvim-dap" } }
|
|
||||||
|
|
||||||
use { 'stevearc/dressing.nvim' }
|
|
||||||
|
|
||||||
use {
|
|
||||||
'krady21/compiler-explorer.nvim',
|
|
||||||
config = function()
|
|
||||||
require("compiler-explorer").setup({
|
|
||||||
autocmd = {
|
|
||||||
enable = true,
|
|
||||||
hl = "Cursorline"
|
|
||||||
}
|
|
||||||
})
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
-- use 'ggandor/lightspeed.nvim'
|
|
||||||
|
|
||||||
use {
|
|
||||||
'ggandor/leap.nvim',
|
|
||||||
config = function()
|
|
||||||
require('leap').add_default_mappings()
|
|
||||||
end
|
|
||||||
}
|
|
||||||
use 'ollykel/v-vim'
|
|
||||||
|
|
||||||
use {
|
|
||||||
'windwp/nvim-ts-autotag',
|
|
||||||
config = function()
|
|
||||||
require('nvim-ts-autotag').setup()
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
use 'jbyuki/nabla.nvim'
|
|
||||||
|
|
||||||
use {
|
|
||||||
'ray-x/web-tools.nvim',
|
|
||||||
config = function()
|
|
||||||
require('web-tools').setup()
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
use {
|
|
||||||
'natecraddock/workspaces.nvim',
|
|
||||||
config = function()
|
|
||||||
require('workspaces').setup()
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
use {"smartpde/telescope-recent-files"}
|
|
||||||
|
|
||||||
use 'uga-rosa/ccc.nvim'
|
|
||||||
|
|
||||||
use 'tveskag/nvim-blame-line'
|
|
||||||
|
|
||||||
use {
|
|
||||||
'lewis6991/gitsigns.nvim',
|
|
||||||
config = function()
|
|
||||||
require('gitsigns').setup()
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
use 'Olical/conjure'
|
|
||||||
use 'PaterJason/cmp-conjure'
|
|
||||||
|
|
||||||
use {
|
|
||||||
'lukas-reineke/indent-blankline.nvim',
|
|
||||||
config = function()
|
|
||||||
require 'ibl'.setup{ scope = { enabled = false } }
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
|
|
||||||
use 'jaawerth/fennel.vim'
|
|
||||||
|
|
||||||
use 'stefanos82/nelua.vim'
|
|
||||||
|
|
||||||
use 'leafo/moonscript-vim'
|
|
||||||
|
|
||||||
use 'teal-language/vim-teal'
|
|
||||||
|
|
||||||
use 'https://github.com/VaiN474/vim-etlua'
|
|
||||||
|
|
||||||
use 'folke/neodev.nvim'
|
|
||||||
|
|
||||||
use {
|
|
||||||
"kylechui/nvim-surround",
|
|
||||||
tag = "*", -- Use for stability; omit to use `main` branch for the latest features
|
|
||||||
config = function()
|
|
||||||
require("nvim-surround").setup({
|
|
||||||
-- Configuration here, or leave empty to use defaults
|
|
||||||
})
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
use 'nvim-tree/nvim-web-devicons'
|
|
||||||
|
|
||||||
use({
|
|
||||||
"utilyre/barbecue.nvim",
|
|
||||||
tag = "*",
|
|
||||||
requires = {
|
|
||||||
"SmiteshP/nvim-navic",
|
|
||||||
"nvim-tree/nvim-web-devicons", -- optional dependency
|
|
||||||
},
|
|
||||||
after = "nvim-web-devicons", -- keep this if you're using NvChad
|
|
||||||
config = function()
|
|
||||||
require("barbecue").setup()
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
|
|
||||||
use {
|
|
||||||
'nvim-lualine/lualine.nvim',
|
|
||||||
requires = { 'nvim-tree/nvim-web-devicons', opt = true },
|
|
||||||
config = function()
|
|
||||||
local function lspactive()
|
|
||||||
local names = {}
|
|
||||||
for i, server in pairs(vim.lsp.get_active_clients({ bufnr = 0 })) do
|
|
||||||
table.insert(names, server.name)
|
|
||||||
end
|
|
||||||
return " [" .. table.concat(names, " ") .. "]"
|
|
||||||
end
|
|
||||||
require('lualine').setup {
|
|
||||||
options = {
|
|
||||||
globalstatus = true,
|
|
||||||
icons_enabled = false,
|
|
||||||
section_separators = { left = '', right = '' },
|
|
||||||
component_separators = { left = '', right = '' }
|
|
||||||
},
|
|
||||||
sections = {
|
|
||||||
lualine_a = { { 'mode', separator = { left = '', right = '' } }, },
|
|
||||||
lualine_b = {},
|
|
||||||
lualine_c = {'filename'},
|
|
||||||
lualine_x = {lspactive, { 'diagnostics', icons_enabled = true }, 'branch', 'diff'},
|
|
||||||
lualine_y = {'encoding', 'fileformat', 'filetype'},
|
|
||||||
lualine_z = {'location', { 'progress', separator = { left = '', right = '' } }, },
|
|
||||||
},
|
|
||||||
}
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
|
|
||||||
use {
|
|
||||||
'goolord/alpha-nvim',
|
|
||||||
requires = { 'nvim-tree/nvim-web-devicons' },
|
|
||||||
config = function ()
|
|
||||||
require'alpha'.setup(require'alpha.themes.startify'.config)
|
|
||||||
end
|
|
||||||
}
|
|
||||||
|
|
||||||
use 'aklt/plantuml-syntax'
|
|
||||||
|
|
||||||
use {
|
|
||||||
"tpope/vim-dadbod",
|
|
||||||
opt = true,
|
|
||||||
requires = {
|
|
||||||
"kristijanhusak/vim-dadbod-ui",
|
|
||||||
"kristijanhusak/vim-dadbod-completion",
|
|
||||||
},
|
|
||||||
config = function()
|
|
||||||
require("config.dadbod").setup()
|
|
||||||
end,
|
|
||||||
cmd = { "DBUIToggle", "DBUI", "DBUIAddConnection", "DBUIFindBuffer", "DBUIRenameBuffer", "DBUILastQueryInfo" },
|
|
||||||
}
|
|
||||||
|
|
||||||
use 'eandrju/cellular-automaton.nvim'
|
|
||||||
end)
|
|
||||||
@@ -1,56 +0,0 @@
|
|||||||
require('Comment').setup()
|
|
||||||
vim.g.mapleader = " "
|
|
||||||
vim.g.maplocalleader = ","
|
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>op", vim.cmd.Ex)
|
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>lp", ":lua require(\"nabla\").popup()<CR>")
|
|
||||||
vim.keymap.set("n", "<leader>ll", ":lua require(\"nabla\").toggle_virt()<CR>")
|
|
||||||
|
|
||||||
-- vim.keymap.set("n", "<C-x>", vim.cmd.nohlsearch)
|
|
||||||
vim.keymap.set("n", "<leader>x", vim.cmd.bdelete)
|
|
||||||
vim.keymap.set("n", "<leader>bd", ":bdelete!<CR>")
|
|
||||||
vim.keymap.set("n", "<leader>w", function()
|
|
||||||
vim.cmd.write();
|
|
||||||
vim.cmd.bdelete();
|
|
||||||
end)
|
|
||||||
|
|
||||||
vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv")
|
|
||||||
vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv")
|
|
||||||
|
|
||||||
vim.keymap.set("n", "J", "mzJ'z")
|
|
||||||
vim.keymap.set("n", "<C-d>", "<C-d>zz")
|
|
||||||
vim.keymap.set("n", "<C-u>", "<C-u>zz")
|
|
||||||
vim.keymap.set("n", "n", "nzzzv")
|
|
||||||
vim.keymap.set("n", "N", "Nzzzv")
|
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>y", "\"+y")
|
|
||||||
vim.keymap.set("v", "<leader>y", "\"+y")
|
|
||||||
vim.keymap.set("n", "<leader>Y", "\"+Y")
|
|
||||||
vim.keymap.set("n", "<leader>p", "\"+p")
|
|
||||||
vim.keymap.set("v", "<leader>p", "\"+p")
|
|
||||||
vim.keymap.set("n", "<leader>P", "\"+P")
|
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>f", function()
|
|
||||||
vim.lsp.buf.format()
|
|
||||||
end)
|
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>tw", function()
|
|
||||||
vim.cmd.Twilight()
|
|
||||||
end)
|
|
||||||
|
|
||||||
|
|
||||||
vim.keymap.set("t", "<Esc><Esc>", "<C-\\><C-n>")
|
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>ec", ":e ~/.config/nvim<CR>")
|
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>bn", ":bnext<CR>")
|
|
||||||
vim.keymap.set("n", "<leader>bp", ":bprevious<CR>")
|
|
||||||
|
|
||||||
vim.keymap.set("n", "<leader>tn", ":tabnext<CR>")
|
|
||||||
vim.keymap.set("n", "<leader>tp", ":tabprevious<CR>")
|
|
||||||
vim.keymap.set("n", "<leader>to", ":tabnew<CR>")
|
|
||||||
vim.keymap.set("n", "<leader>td", ":tabclose<CR>")
|
|
||||||
vim.keymap.set("n", "<leader>tt", function()
|
|
||||||
require('telescope-tabs').list_tabs()
|
|
||||||
end)
|
|
||||||
56
config/.config/nvim/lua/config/set.lua
Executable file → Normal file
56
config/.config/nvim/lua/config/set.lua
Executable file → Normal file
@@ -1,8 +1,8 @@
|
|||||||
vim.opt.nu = true
|
vim.opt.nu = true
|
||||||
vim.opt.relativenumber = true
|
vim.opt.relativenumber = true
|
||||||
|
|
||||||
vim.opt.wrap = true
|
-- vim.opt.wrap = true
|
||||||
vim.opt.linebreak = true
|
-- vim.opt.linebreak = true
|
||||||
|
|
||||||
vim.opt.tabstop = 4
|
vim.opt.tabstop = 4
|
||||||
vim.opt.softtabstop = 4
|
vim.opt.softtabstop = 4
|
||||||
@@ -10,47 +10,79 @@ vim.opt.shiftwidth = 4
|
|||||||
vim.opt.expandtab = true
|
vim.opt.expandtab = true
|
||||||
|
|
||||||
vim.opt.showmode = false
|
vim.opt.showmode = false
|
||||||
|
vim.opt.winborder = 'none'
|
||||||
|
|
||||||
vim.opt.smartindent = true
|
vim.opt.smartindent = true
|
||||||
|
|
||||||
vim.opt.spell = true
|
vim.opt.foldlevel = 9999
|
||||||
vim.opt.spelllang = "en_us"
|
-- vim.opt.spell = true
|
||||||
|
vim.opt.spelllang = 'en_us'
|
||||||
|
|
||||||
vim.opt.swapfile = false
|
vim.opt.swapfile = false
|
||||||
vim.opt.backup = false
|
vim.opt.backup = false
|
||||||
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
|
vim.opt.undodir = os.getenv('HOME') .. '/.nvim/undodir'
|
||||||
vim.opt.undofile = true
|
vim.opt.undofile = true
|
||||||
|
|
||||||
vim.opt.hlsearch = true
|
vim.opt.hlsearch = true
|
||||||
vim.opt.incsearch = true
|
vim.opt.incsearch = true
|
||||||
|
vim.opt.ignorecase = true
|
||||||
|
vim.opt.smartcase = true
|
||||||
|
|
||||||
vim.opt.termguicolors = true
|
vim.opt.termguicolors = true
|
||||||
|
|
||||||
vim.opt.scrolloff = 8
|
vim.opt.scrolloff = 8
|
||||||
vim.opt.signcolumn = "yes"
|
vim.opt.signcolumn = 'yes'
|
||||||
vim.opt.isfname:append("@-@")
|
vim.opt.isfname:append('@-@')
|
||||||
|
|
||||||
vim.opt.updatetime = 50
|
vim.opt.updatetime = 50
|
||||||
|
|
||||||
vim.opt.colorcolumn = "80"
|
vim.opt.colorcolumn = '80'
|
||||||
|
|
||||||
vim.opt.splitright = true
|
vim.opt.splitright = true
|
||||||
vim.opt.splitbelow = true
|
vim.opt.splitbelow = true
|
||||||
|
|
||||||
vim.g.mapleader = " "
|
vim.g.mapleader = ' '
|
||||||
|
|
||||||
vim.g.neovide_scale_factor = 1.0
|
vim.g.neovide_scale_factor = 1.0
|
||||||
|
vim.g.neovide_theme = 'auto'
|
||||||
|
vim.g.neovide_opacity = 1.0
|
||||||
function ChangeScaleFactor(delta)
|
function ChangeScaleFactor(delta)
|
||||||
vim.g.neovide_scale_factor = vim.g.neovide_scale_factor * delta
|
vim.g.neovide_scale_factor = vim.g.neovide_scale_factor * delta
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.keymap.set("n", "<C-=>", function()
|
vim.keymap.set('n', '<C-=>', function()
|
||||||
ChangeScaleFactor(1.25)
|
ChangeScaleFactor(1.25)
|
||||||
end)
|
end)
|
||||||
vim.keymap.set("n", "<C-->", function()
|
vim.keymap.set('n', '<C-->', function()
|
||||||
ChangeScaleFactor(1 / 1.25)
|
ChangeScaleFactor(1 / 1.25)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
vim.opt.guifont = { "Cascadia Code", ":h12" }
|
vim.opt.guifont = { 'Iosevka Term SS12', ':h14' }
|
||||||
|
vim.opt.termguicolors = true
|
||||||
|
|
||||||
vim.g.netrw_keepdir = 0
|
vim.g.netrw_keepdir = 0
|
||||||
|
vim.g.netrw_preview = 1
|
||||||
|
vim.g.netrw_alto = 0
|
||||||
|
|
||||||
|
vim.ui.select = Snacks.picker.select
|
||||||
|
|
||||||
|
-- vim.cmd('colorscheme carbonfox')
|
||||||
|
|
||||||
|
vim.lsp.config('lua_ls', {
|
||||||
|
settings = {
|
||||||
|
Lua = {
|
||||||
|
workspace = {
|
||||||
|
library = vim.api.nvim_get_runtime_file("", true),
|
||||||
|
maxPreload = 100000,
|
||||||
|
preloadFileSize = 100000,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.lsp.config('tinymist', {
|
||||||
|
settings = {
|
||||||
|
exportPdf = "onType",
|
||||||
|
}
|
||||||
|
})
|
||||||
|
vim.diagnostic.config({ update_in_insert = true, float = true, virtual_lines = true})
|
||||||
|
|||||||
163
config/.config/nvim/lua/plugins/colors.lua
Normal file
163
config/.config/nvim/lua/plugins/colors.lua
Normal file
@@ -0,0 +1,163 @@
|
|||||||
|
return {
|
||||||
|
|
||||||
|
{
|
||||||
|
'rose-pine/neovim',
|
||||||
|
name = 'rose-pine',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'tanvirtin/monokai.nvim',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'arzg/vim-colors-xcode',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'shaunsingh/nord.nvim',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'kvrohit/mellow.nvim',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'Mofiqul/vscode.nvim',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'Th3Whit3Wolf/one-nvim',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'mhartington/oceanic-next',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'folke/tokyonight.nvim',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'sainnhe/gruvbox-material',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"ellisonleao/gruvbox.nvim",
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'sainnhe/everforest',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'lourenci/github-colors',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'navarasu/onedark.nvim',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'shaunsingh/moonlight.nvim',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'Mofiqul/dracula.nvim',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'kdheepak/monochrome.nvim',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"savq/melange-nvim",
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"catppuccin/nvim",
|
||||||
|
name = "catppuccin",
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- use 'RRethy/nvim-base16'
|
||||||
|
|
||||||
|
{
|
||||||
|
'projekt0n/github-nvim-theme',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'Everblush/nvim',
|
||||||
|
name = 'everblush',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"lewpoly/sherbet.nvim",
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"EdenEast/nightfox.nvim",
|
||||||
|
priority = 1000,
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"f-person/auto-dark-mode.nvim",
|
||||||
|
opts = {
|
||||||
|
-- your configuration comes here
|
||||||
|
-- or leave it empty to use the default settings
|
||||||
|
-- refer to the configuration section below
|
||||||
|
set_dark_mode = function()
|
||||||
|
vim.api.nvim_set_option_value("background", "dark", {})
|
||||||
|
vim.cmd('colorscheme carbonfox')
|
||||||
|
end,
|
||||||
|
set_light_mode = function()
|
||||||
|
vim.api.nvim_set_option_value("background", "light", {})
|
||||||
|
vim.cmd('colorscheme dawnfox')
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- use 'xiyaowong/transparent.nvim'
|
||||||
|
}
|
||||||
64
config/.config/nvim/lua/plugins/filetypes.lua
Normal file
64
config/.config/nvim/lua/plugins/filetypes.lua
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
'ollykel/v-vim',
|
||||||
|
ft = 'v',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'jaawerth/fennel.vim',
|
||||||
|
ft = 'fnl',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'stefanos82/nelua.vim',
|
||||||
|
ft = 'nelua',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'teal-language/vim-teal',
|
||||||
|
ft = 'tl'
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'VaiN474/vim-etlua',
|
||||||
|
ft = 'etlua',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'leafo/moonscript-vim',
|
||||||
|
ft = 'moon',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'aklt/plantuml-syntax',
|
||||||
|
ft = 'puml',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"S1M0N38/love2d.nvim",
|
||||||
|
-- event = "VeryLazy",
|
||||||
|
ft = 'lua',
|
||||||
|
version = "2.*",
|
||||||
|
opts = { },
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"nvim-neorg/neorg",
|
||||||
|
-- lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
|
||||||
|
ft = 'norg',
|
||||||
|
version = "*", -- Pin Neorg to the latest stable release
|
||||||
|
config = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- {
|
||||||
|
-- "Olical/conjure"
|
||||||
|
-- },
|
||||||
|
|
||||||
|
{
|
||||||
|
"vlime/vlime",
|
||||||
|
config = function(plugin)
|
||||||
|
vim.opt.rtp:append(plugin.dir .. '/vim/')
|
||||||
|
end
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
130
config/.config/nvim/lua/plugins/lsp.lua
Normal file
130
config/.config/nvim/lua/plugins/lsp.lua
Normal file
@@ -0,0 +1,130 @@
|
|||||||
|
return {
|
||||||
|
|
||||||
|
{
|
||||||
|
'mason-org/mason.nvim',
|
||||||
|
event = 'VeryLazy',
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'neovim/nvim-lspconfig',
|
||||||
|
event = 'VeryLazy',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"mason-org/mason-lspconfig.nvim",
|
||||||
|
event = 'VeryLazy',
|
||||||
|
opts = {},
|
||||||
|
dependencies = {
|
||||||
|
{ "mason-org/mason.nvim", opts = {} },
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'saghen/blink.cmp',
|
||||||
|
-- optional: provides snippets for the snippet source
|
||||||
|
-- dependencies = { 'L3MON4D3/LuaSnip' },
|
||||||
|
|
||||||
|
-- use a release tag to download pre-built binaries
|
||||||
|
version = '1.*',
|
||||||
|
-- AND/OR build from source, requires nightly: https://rust-lang.github.io/rustup/concepts/channels.html#working-with-nightly-rust
|
||||||
|
-- build = 'cargo build --release',
|
||||||
|
-- If you use nix, you can build from source using latest nightly rust with:
|
||||||
|
-- build = 'nix run .#build-plugin',
|
||||||
|
|
||||||
|
---@module 'blink.cmp'
|
||||||
|
---@type blink.cmp.Config
|
||||||
|
opts = {
|
||||||
|
-- 'default' (recommended) for mappings similar to built-in completions (C-y to accept)
|
||||||
|
-- 'super-tab' for mappings similar to vscode (tab to accept)
|
||||||
|
-- 'enter' for enter to accept
|
||||||
|
-- 'none' for no mappings
|
||||||
|
--
|
||||||
|
-- All presets have the following mappings:
|
||||||
|
-- C-space: Open menu or open docs if already open
|
||||||
|
-- C-n/C-p or Up/Down: Select next/previous item
|
||||||
|
-- C-e: Hide menu
|
||||||
|
-- C-k: Toggle signature help (if signature.enabled = true)
|
||||||
|
--
|
||||||
|
-- See :h blink-cmp-config-keymap for defining your own keymap
|
||||||
|
keymap = { preset = 'default' },
|
||||||
|
|
||||||
|
-- snippets = { preset = 'mini_snippets' },
|
||||||
|
appearance = {
|
||||||
|
-- 'mono' (default) for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
|
||||||
|
-- Adjusts spacing to ensure icons are aligned
|
||||||
|
nerd_font_variant = 'mono'
|
||||||
|
},
|
||||||
|
|
||||||
|
cmdline = {
|
||||||
|
completion = { menu = { auto_show = true } },
|
||||||
|
},
|
||||||
|
-- (Default) Only show the documentation popup when manually triggered
|
||||||
|
completion = {
|
||||||
|
trigger = {
|
||||||
|
show_on_insert = true
|
||||||
|
},
|
||||||
|
documentation = { auto_show = false },
|
||||||
|
list = {
|
||||||
|
selection = {
|
||||||
|
preselect = true,
|
||||||
|
auto_insert = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
ghost_text = {
|
||||||
|
enabled = true,
|
||||||
|
show_with_menu = true,
|
||||||
|
},
|
||||||
|
menu = {
|
||||||
|
auto_show = true,
|
||||||
|
draw = {
|
||||||
|
components = {
|
||||||
|
-- customize the drawing of kind icons
|
||||||
|
kind_icon = {
|
||||||
|
text = function(ctx)
|
||||||
|
-- default kind icon
|
||||||
|
local icon = ctx.kind_icon
|
||||||
|
-- if LSP source, check for color derived from documentation
|
||||||
|
if ctx.item.source_name == "LSP" then
|
||||||
|
local color_item = require("nvim-highlight-colors").format(ctx.item.documentation, { kind = ctx.kind })
|
||||||
|
if color_item and color_item.abbr ~= "" then
|
||||||
|
icon = color_item.abbr
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return icon .. ctx.icon_gap
|
||||||
|
end,
|
||||||
|
highlight = function(ctx)
|
||||||
|
-- default highlight group
|
||||||
|
local highlight = "BlinkCmpKind" .. ctx.kind
|
||||||
|
-- if LSP source, check for color derived from documentation
|
||||||
|
if ctx.item.source_name == "LSP" then
|
||||||
|
local color_item = require("nvim-highlight-colors").format(ctx.item.documentation, { kind = ctx.kind })
|
||||||
|
if color_item and color_item.abbr_hl_group then
|
||||||
|
highlight = color_item.abbr_hl_group
|
||||||
|
end
|
||||||
|
end
|
||||||
|
return highlight
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Default list of enabled providers defined so that you can extend it
|
||||||
|
-- elsewhere in your config, without redefining it, due to `opts_extend`
|
||||||
|
sources = {
|
||||||
|
default = { 'lsp', 'path', 'snippets', 'buffer' },
|
||||||
|
},
|
||||||
|
|
||||||
|
-- (Default) Rust fuzzy matcher for typo resistance and significantly better performance
|
||||||
|
-- You may use a lua implementation instead by using `implementation = "lua"` or fallback to the lua implementation,
|
||||||
|
-- when the Rust fuzzy matcher is not available, by using `implementation = "prefer_rust"`
|
||||||
|
--
|
||||||
|
-- See the fuzzy documentation for more information
|
||||||
|
fuzzy = { implementation = "prefer_rust_with_warning" }
|
||||||
|
},
|
||||||
|
opts_extend = { "sources.default" }
|
||||||
|
}
|
||||||
|
}
|
||||||
46
config/.config/nvim/lua/plugins/treesitter.lua
Normal file
46
config/.config/nvim/lua/plugins/treesitter.lua
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
'neovim-treesitter/nvim-treesitter',
|
||||||
|
dependencies = { 'neovim-treesitter/treesitter-parser-registry' },
|
||||||
|
branch = 'main',
|
||||||
|
version = false,
|
||||||
|
lazy = false,
|
||||||
|
build = ':TSUpdate',
|
||||||
|
config = function()
|
||||||
|
local langs = require'nvim-treesitter'.get_installed('parsers')
|
||||||
|
vim.api.nvim_create_autocmd('FileType', {
|
||||||
|
pattern = langs,
|
||||||
|
callback = function()
|
||||||
|
vim.treesitter.start() -- highlighting
|
||||||
|
vim.wo.foldexpr = 'v:lua.vim.treesitter.foldexpr()' -- folds
|
||||||
|
vim.wo.foldmethod = 'expr'
|
||||||
|
vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()" -- indentation
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'nvim-treesitter/nvim-treesitter-textobjects',
|
||||||
|
branch = 'main',
|
||||||
|
opts = {
|
||||||
|
select = {
|
||||||
|
lookahead = true,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'0oAstro/dim.lua',
|
||||||
|
dependencies = {
|
||||||
|
'neovim-treesitter/nvim-treesitter',
|
||||||
|
'neovim/nvim-lspconfig'
|
||||||
|
},
|
||||||
|
event = 'LspAttach',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'windwp/nvim-ts-autotag',
|
||||||
|
event = 'VeryLazy',
|
||||||
|
},
|
||||||
|
}
|
||||||
58
config/.config/nvim/lua/plugins/ui.lua
Normal file
58
config/.config/nvim/lua/plugins/ui.lua
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
return {
|
||||||
|
|
||||||
|
{
|
||||||
|
'winston0410/range-highlight.nvim',
|
||||||
|
event = 'VeryLazy',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'nvim-tree/nvim-web-devicons',
|
||||||
|
-- event = 'VeryLazy',
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'lewis6991/gitsigns.nvim',
|
||||||
|
event = 'VeryLazy',
|
||||||
|
opts = {
|
||||||
|
current_line_blame = true,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
-- {
|
||||||
|
-- 'Bekaboo/dropbar.nvim',
|
||||||
|
-- },
|
||||||
|
|
||||||
|
{
|
||||||
|
'nvim-lualine/lualine.nvim',
|
||||||
|
dependencies = {
|
||||||
|
'nvim-tree/nvim-web-devicons',
|
||||||
|
},
|
||||||
|
config = function()
|
||||||
|
local function lspactive()
|
||||||
|
local names = {}
|
||||||
|
for i, server in pairs(vim.lsp.get_clients({ bufnr = 0 })) do
|
||||||
|
table.insert(names, server.name)
|
||||||
|
end
|
||||||
|
-- return " [" .. table.concat(names, " ") .. "]"
|
||||||
|
return "[" .. table.concat(names, " ") .. "]"
|
||||||
|
end
|
||||||
|
require('lualine').setup {
|
||||||
|
options = {
|
||||||
|
globalstatus = true,
|
||||||
|
icons_enabled = true,
|
||||||
|
section_separators = { left = '', right = '' },
|
||||||
|
component_separators = { left = '', right = '' }
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
lualine_a = { { 'mode', separator = { left = '', right = '' } }, },
|
||||||
|
lualine_b = {},
|
||||||
|
lualine_c = {'filename'},
|
||||||
|
lualine_x = {lspactive, { 'diagnostics', icons_enabled = true }, 'branch', 'diff'},
|
||||||
|
lualine_y = {'encoding', 'fileformat', 'filetype'},
|
||||||
|
lualine_z = {'location', { 'progress', separator = { left = '', right = '' } }, },
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end
|
||||||
|
},
|
||||||
|
}
|
||||||
335
config/.config/nvim/lua/plugins/util.lua
Normal file
335
config/.config/nvim/lua/plugins/util.lua
Normal file
@@ -0,0 +1,335 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"sindrets/diffview.nvim",
|
||||||
|
event = 'VeryLazy',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'windwp/nvim-autopairs',
|
||||||
|
event = "InsertEnter",
|
||||||
|
config = true
|
||||||
|
-- use opts = {} for passing setup options
|
||||||
|
-- this is equivalent to setup({}) function
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"NeogitOrg/neogit",
|
||||||
|
lazy = true,
|
||||||
|
dependencies = {
|
||||||
|
"sindrets/diffview.nvim", -- optional - Diff integration
|
||||||
|
|
||||||
|
-- Only one of these is needed.
|
||||||
|
-- "nvim-telescope/telescope.nvim", -- optional
|
||||||
|
-- "ibhagwan/fzf-lua", -- optional
|
||||||
|
-- "echasnovski/mini.pick", -- optional
|
||||||
|
"folke/snacks.nvim", -- optional
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"OXY2DEV/markview.nvim",
|
||||||
|
lazy = false,
|
||||||
|
|
||||||
|
-- Completion for `blink.cmp`
|
||||||
|
dependencies = { "saghen/blink.cmp" },
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'vieitesss/command.nvim',
|
||||||
|
lazy = false,
|
||||||
|
version = '*',
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'brenoprata10/nvim-highlight-colors',
|
||||||
|
event = 'VeryLazy',
|
||||||
|
opts = {
|
||||||
|
render = 'virtual',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
url = 'https://codeberg.org/andyg/leap.nvim',
|
||||||
|
dependencies = {
|
||||||
|
'tpope/vim-repeat',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'LukasPietzschmann/telescope-tabs',
|
||||||
|
-- event = 'VeryLazy',
|
||||||
|
lazy = true,
|
||||||
|
branch = 'vim_ui_select',
|
||||||
|
config = function()
|
||||||
|
require('telescope-tabs').setup()
|
||||||
|
end
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"folke/snacks.nvim",
|
||||||
|
priority = 1000,
|
||||||
|
lazy = false,
|
||||||
|
---@type snacks.Config
|
||||||
|
opts = {
|
||||||
|
-- your configuration comes here
|
||||||
|
-- or leave it empty to use the default settings
|
||||||
|
-- refer to the configuration section below
|
||||||
|
bigfile = { enabled = true },
|
||||||
|
dashboard = {
|
||||||
|
enabled = true,
|
||||||
|
presets = {
|
||||||
|
},
|
||||||
|
formats = {
|
||||||
|
key = function(item)
|
||||||
|
return { { "[", hl = "special" }, { item.key, hl = "key" }, { "]", hl = "special" } }
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
sections = {
|
||||||
|
-- { section = "terminal", cmd = "fortune -s | cowsay", hl = "header", padding = 1, indent = 8 },
|
||||||
|
{ section = "header" },
|
||||||
|
{ section = "startup" },
|
||||||
|
{ title = "MRU", padding = 1 },
|
||||||
|
{ section = "recent_files", limit = 8, padding = 1 },
|
||||||
|
{ title = "MRU ", file = vim.fn.fnamemodify(".", ":~"), padding = 1 },
|
||||||
|
{ section = "recent_files", cwd = true, limit = 8, padding = 1 },
|
||||||
|
{ title = "Sessions", padding = 1 },
|
||||||
|
{ section = "projects", padding = 1 },
|
||||||
|
{ title = "Bookmarks", padding = 1 },
|
||||||
|
{ section = "keys" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
dim = { enabled = true },
|
||||||
|
-- explorer = { enabled = true },
|
||||||
|
-- git = { enabled = false },
|
||||||
|
image = {
|
||||||
|
enabled = true
|
||||||
|
},
|
||||||
|
indent = { enabled = true },
|
||||||
|
input = { enabled = true },
|
||||||
|
lazygit = { enabled = false },
|
||||||
|
picker = {
|
||||||
|
enabled = true,
|
||||||
|
layout = {
|
||||||
|
preset = 'ivy_split',
|
||||||
|
layout = {
|
||||||
|
height = 0.3,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
notifier = { enabled = true },
|
||||||
|
-- quickfile = { enabled = true },
|
||||||
|
scope = { enabled = true },
|
||||||
|
-- scroll = { enabled = true },
|
||||||
|
terminal = { enabled = false },
|
||||||
|
-- statuscolumn = { enabled = true },
|
||||||
|
words = { enabled = true },
|
||||||
|
zen = {
|
||||||
|
enabled = true,
|
||||||
|
-- toggles = {
|
||||||
|
-- git_signs = true,
|
||||||
|
-- },
|
||||||
|
win = {
|
||||||
|
backdrop = {
|
||||||
|
transparent = false,
|
||||||
|
blend = 99,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"folke/which-key.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
opts = {
|
||||||
|
-- your configuration comes here
|
||||||
|
-- or leave it empty to use the default settings
|
||||||
|
-- refer to the configuration section below
|
||||||
|
preset = 'helix',
|
||||||
|
sort = { "order", "alphanum", "local", "mod" },
|
||||||
|
win = {
|
||||||
|
border = 'none',
|
||||||
|
},
|
||||||
|
icons = {
|
||||||
|
rules = false,
|
||||||
|
},
|
||||||
|
spec = {
|
||||||
|
{ '<leader>f', group = 'Find' },
|
||||||
|
{ '<leader>o', group = 'Open' },
|
||||||
|
{ '<leader>g', group = 'Git' },
|
||||||
|
{ '<leader>c', group = 'Compile' },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>?",
|
||||||
|
function()
|
||||||
|
require("which-key").show({ global = false })
|
||||||
|
end,
|
||||||
|
desc = "Buffer Local Keymaps (which-key)",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'stevearc/oil.nvim',
|
||||||
|
---@module 'oil'
|
||||||
|
---@type oil.SetupOpts
|
||||||
|
opts = {
|
||||||
|
triggers = {
|
||||||
|
{ 'g', mode = { 'n', 'x' } },
|
||||||
|
},
|
||||||
|
skip_confirm_for_simple_edits = true,
|
||||||
|
prompt_save_on_select_new_entry = false,
|
||||||
|
},
|
||||||
|
-- Optional dependencies
|
||||||
|
dependencies = { "nvim-tree/nvim-web-devicons" }, -- use if you prefer nvim-web-devicons
|
||||||
|
-- Lazy loading is not recommended because it is very tricky to make it work correctly in all situations.
|
||||||
|
lazy = false,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'eandrju/cellular-automaton.nvim',
|
||||||
|
-- event = 'VeryLazy',
|
||||||
|
cmd = 'CellularAutomaton',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"kylechui/nvim-surround",
|
||||||
|
version = "^3.0.0", -- Use for stability; omit to use `main` branch for the latest features
|
||||||
|
event = "VeryLazy",
|
||||||
|
config = function()
|
||||||
|
require("nvim-surround").setup({
|
||||||
|
-- Configuration here, or leave empty to use defaults
|
||||||
|
})
|
||||||
|
end
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'jbyuki/nabla.nvim',
|
||||||
|
lazy = true,
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'krady21/compiler-explorer.nvim',
|
||||||
|
-- event = 'VeryLazy',
|
||||||
|
cmd = {
|
||||||
|
'CECompile',
|
||||||
|
'CECompileLive',
|
||||||
|
'CEFormat',
|
||||||
|
'CEAddLibrary',
|
||||||
|
'CELoadExample',
|
||||||
|
'CEOpenWebsite',
|
||||||
|
'CEDeleteCache',
|
||||||
|
'CEShowTooltip',
|
||||||
|
'CEGotoLabel',
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
autocmd = {
|
||||||
|
enable = true,
|
||||||
|
hl = 'Cursorline',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
'samjwill/nvim-unception',
|
||||||
|
event = 'VeryLazy',
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"jake-stewart/multicursor.nvim",
|
||||||
|
branch = "1.0",
|
||||||
|
config = function()
|
||||||
|
local mc = require("multicursor-nvim")
|
||||||
|
mc.setup()
|
||||||
|
|
||||||
|
local set = vim.keymap.set
|
||||||
|
|
||||||
|
-- Add or skip cursor above/below the main cursor.
|
||||||
|
set({"n", "x"}, "<localleader>k", function() mc.lineAddCursor(-1) end, { desc = "Add cursor to previous line" })
|
||||||
|
set({"n", "x"}, "<localleader>j", function() mc.lineAddCursor(1) end, { desc = "Add cursor to next line" })
|
||||||
|
set({"n", "x"}, "<up>", function() mc.lineAddCursor(-1) end, { desc = "Add cursor to previous line" })
|
||||||
|
set({"n", "x"}, "<down>", function() mc.lineAddCursor(1) end, { desc = "Add cursor to next line" })
|
||||||
|
set({"n", "x"}, "<localleader>K", function() mc.lineSkipCursor(-1) end, { desc = "Skip previous line to add cursor" })
|
||||||
|
set({"n", "x"}, "<localleader>J", function() mc.lineSkipCursor(1) end, { desc = "Skip next line to add cursor" })
|
||||||
|
|
||||||
|
-- Add or skip adding a new cursor by matching word/selection
|
||||||
|
set({"n", "x"}, "<localleader>n", function() mc.matchAddCursor(1) end, { desc = "Add cursor to next currently selected word" })
|
||||||
|
set({"n", "x"}, "<localleader>s", function() mc.matchSkipCursor(1) end, { desc = "Skip next instance of current word to add cursor" })
|
||||||
|
set({"n", "x"}, "<localleader>N", function() mc.matchAddCursor(-1) end, { desc = "Add cursor to previous currently selected word" })
|
||||||
|
set({"n", "x"}, "<localleader>S", function() mc.matchSkipCursor(-1) end, { desc = "Skip previous instance of current word to add cursor" })
|
||||||
|
|
||||||
|
set({"n", "x"}, "<localleader>m", mc.operator, { desc = "Add cursors to text object" })
|
||||||
|
set("n", "<localleader>s", function()
|
||||||
|
vim.ui.input({prompt = "Match: "}, function(input) mc.operator({pattern = input}) end)
|
||||||
|
end, { desc = "Add cursors to regex match inside text object " })
|
||||||
|
set("n", "<localleader>*", function()
|
||||||
|
mc.operator({pattern = vim.fn.expand("<cword>")})
|
||||||
|
end, { desc = "Add cursors to current word inside text object" })
|
||||||
|
set("x", "<localleader>s", mc.matchCursors, { desc = "Add cursors to regex match inside visual selection" })
|
||||||
|
|
||||||
|
-- Add cursor at next argument treesitter
|
||||||
|
set({'n', 'x'}, ']A', function()
|
||||||
|
if vim.v.count < 1 then
|
||||||
|
mc.addCursor(']p')
|
||||||
|
else
|
||||||
|
for _=1, vim.v.count - 1 do
|
||||||
|
mc.addCursor(']p')
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end, { desc = 'Create multicursor on next argument'})
|
||||||
|
set({'n', 'x'}, '[A', function()
|
||||||
|
if vim.v.count < 1 then
|
||||||
|
mc.addCursor('[p')
|
||||||
|
else
|
||||||
|
for _=1, vim.v.count - 1 do
|
||||||
|
mc.addCursor('[p')
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end, { desc = 'Create multicursor on previous argument'})
|
||||||
|
|
||||||
|
-- Add and remove cursors with control + left click.
|
||||||
|
set("n", "<c-leftmouse>", mc.handleMouse)
|
||||||
|
set("n", "<c-leftdrag>", mc.handleMouseDrag)
|
||||||
|
set("n", "<c-leftrelease>", mc.handleMouseRelease)
|
||||||
|
|
||||||
|
-- Disable and enable cursors.
|
||||||
|
set({"n", "x"}, "<c-q>", mc.toggleCursor, { desc = "Toggle multiple cursors" })
|
||||||
|
|
||||||
|
-- Mappings defined in a keymap layer only apply when there are
|
||||||
|
-- multiple cursors. This lets you have overlapping mappings.
|
||||||
|
mc.addKeymapLayer(function(layerSet)
|
||||||
|
|
||||||
|
-- Select a different cursor as the main one.
|
||||||
|
layerSet({"n", "x"}, "<localleader>h", mc.prevCursor, { desc = "Make previous cursor primary" })
|
||||||
|
layerSet({"n", "x"}, "<localleader>l", mc.nextCursor, { desc = "Make next cursor primary" })
|
||||||
|
layerSet({"n", "x"}, "<left>", mc.prevCursor, { desc = "Make previous cursor primary" })
|
||||||
|
layerSet({"n", "x"}, "<right>", mc.nextCursor, { desc = "Make next cursor primary" })
|
||||||
|
|
||||||
|
-- Delete the main cursor.
|
||||||
|
layerSet({"n", "x"}, "<localleader>x", mc.deleteCursor)
|
||||||
|
|
||||||
|
-- Enable and clear cursors using escape.
|
||||||
|
layerSet("n", "<esc>", function()
|
||||||
|
if not mc.cursorsEnabled() then
|
||||||
|
mc.enableCursors()
|
||||||
|
else
|
||||||
|
mc.clearCursors()
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
end)
|
||||||
|
|
||||||
|
-- Customize how cursors look.
|
||||||
|
local hl = vim.api.nvim_set_hl
|
||||||
|
hl(0, "MultiCursorCursor", { reverse = true })
|
||||||
|
hl(0, "MultiCursorVisual", { link = "Visual" })
|
||||||
|
hl(0, "MultiCursorSign", { link = "SignColumn"})
|
||||||
|
hl(0, "MultiCursorMatchPreview", { link = "Search" })
|
||||||
|
hl(0, "MultiCursorDisabledCursor", { reverse = true })
|
||||||
|
hl(0, "MultiCursorDisabledVisual", { link = "Visual" })
|
||||||
|
hl(0, "MultiCursorDisabledSign", { link = "SignColumn"})
|
||||||
|
end
|
||||||
|
},
|
||||||
|
}
|
||||||
83
config/.config/oama/config.yaml
Normal file
83
config/.config/oama/config.yaml
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
## oama version 0.22.0 - 2025-08-29 0290.e419ef10
|
||||||
|
## This is a YAML configuration file, indentation matters.
|
||||||
|
## Double ## indicates comments while single # default values.
|
||||||
|
## Not all defaults are shown, for full list run `oama printenv`
|
||||||
|
## and look at the `services:` section.
|
||||||
|
|
||||||
|
## Possible options for keeping refresh and access tokens:
|
||||||
|
## GPG - in a gpg encrypted file $XDG_STATE_HOME/oama/<email-address>.oauth
|
||||||
|
## (XDG_STATE_HOME defaults to ~/.local/state)
|
||||||
|
## GPG - in a gpg encrypted file ~/.local/state/oama/<email-address>.oauth
|
||||||
|
## KEYRING - in the keyring of a password manager with Secret Service API
|
||||||
|
##
|
||||||
|
## Choose exactly one.
|
||||||
|
|
||||||
|
encryption:
|
||||||
|
tag: KEYRING
|
||||||
|
|
||||||
|
# encryption:
|
||||||
|
# tag: GPG
|
||||||
|
# contents: your-KEY-ID
|
||||||
|
|
||||||
|
## Builtin service providers
|
||||||
|
## - google
|
||||||
|
## - microsoft
|
||||||
|
## Required fields: client_id, client_secret
|
||||||
|
##
|
||||||
|
services:
|
||||||
|
google:
|
||||||
|
client_id: application-CLIENT-ID
|
||||||
|
client_secret: application-CLIENT-SECRET
|
||||||
|
## Alternatively get them from a password manager using a shell command.
|
||||||
|
## If both variants are present then the _cmd versions get the priority.
|
||||||
|
## For example:
|
||||||
|
# client_id_cmd: |
|
||||||
|
# pass email/my-app | head -1
|
||||||
|
# client_secret_cmd: |
|
||||||
|
# pass email/my-app | head -2 | tail -1
|
||||||
|
# auth_scope: https://mail.google.com/
|
||||||
|
# microsoft:
|
||||||
|
# client_id: 08162f7c-0fd2-4200-a84a-f25a4db0b584 # notsecret
|
||||||
|
# client_secret: 'TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82' # notsecret
|
||||||
|
# auth_scope: https://outlook.365office.com/IMAP.AccessAsUser.All
|
||||||
|
# https://outlook.365office.com/SMTP.Send
|
||||||
|
# offline_access
|
||||||
|
# tenant: common
|
||||||
|
# prompt: select_account
|
||||||
|
#
|
||||||
|
microsoft:
|
||||||
|
# client_id: 08162f7c-0fd2-4200-a84a-f25a4db0b584 # notsecret
|
||||||
|
# client_secret: 'TxRBilcHdC6WGBee]fs?QR:SJ8nI[g82' # notsecret
|
||||||
|
client_id: '9e5f94bc-e8a4-4e73-b8be-63364c29d753'
|
||||||
|
auth_scope: https://outlook.office.com/IMAP.AccessAsUser.All
|
||||||
|
https://outlook.office.com/POP.AccessAsUser.All
|
||||||
|
https://outlook.office.com/SMTP.Send
|
||||||
|
offline_access
|
||||||
|
tenant: common
|
||||||
|
prompt: select_account
|
||||||
|
## client_secret is not needed for device code flow
|
||||||
|
# auth_endpoint: https://login.microsoftonline.com/common/oauth2/v2.0/devicecode
|
||||||
|
##
|
||||||
|
## client_secret might be needed for other authorization flows
|
||||||
|
# client_secret: application-CLIENT_SECRET
|
||||||
|
## auth_endpoint: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
|
||||||
|
#
|
||||||
|
# auth_scope: https://outlook.office.com/IMAP.AccessAsUser.All
|
||||||
|
# https://outlook.office.com/SMTP.Send
|
||||||
|
# offline_access
|
||||||
|
# tenant: common
|
||||||
|
|
||||||
|
## User configured providers
|
||||||
|
## Required fields: client_id, client_secret, auth_endpoint, auth_scope, token_endpoint
|
||||||
|
##
|
||||||
|
## For example:
|
||||||
|
# yahoo:
|
||||||
|
# client_id: application-CLIENT-ID
|
||||||
|
# client_id_cmd: |
|
||||||
|
# password manager command ...
|
||||||
|
# client_secret: application-CLIENT_SECRET
|
||||||
|
# client_secret_cmd: |
|
||||||
|
# password manager command ...
|
||||||
|
# auth_endpoint: EDIT-ME!
|
||||||
|
# auth_scope: EDIT-ME!
|
||||||
|
# token_endpoint: EDIT-ME!
|
||||||
@@ -162,8 +162,8 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
|||||||
|
|
||||||
|
|
||||||
# Parameters for background blurring, see the *BLUR* section for more information.
|
# Parameters for background blurring, see the *BLUR* section for more information.
|
||||||
# blur-method = "dual_kawase"
|
blur-method = "dual_kawase"
|
||||||
blur-method = "none"
|
# blur-method = "none"
|
||||||
blur-size = 10;
|
blur-size = 10;
|
||||||
blur-strength = 12;
|
blur-strength = 12;
|
||||||
#
|
#
|
||||||
|
|||||||
32
config/.config/qt5ct/qt5ct.conf
Normal file
32
config/.config/qt5ct/qt5ct.conf
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
[Appearance]
|
||||||
|
color_scheme_path=/home/mikec/.config/qt5ct/style-colors.conf
|
||||||
|
custom_palette=false
|
||||||
|
icon_theme=breeze-dark
|
||||||
|
standard_dialogs=xdgdesktopportal
|
||||||
|
style=kvantum
|
||||||
|
|
||||||
|
[Fonts]
|
||||||
|
fixed="BigBlueTerm437 Nerd Font,10,-1,5,50,0,0,0,0,0,Regular"
|
||||||
|
general="Ubuntu,10,-1,5,50,0,0,0,0,0,Regular"
|
||||||
|
|
||||||
|
[Interface]
|
||||||
|
activate_item_on_single_click=1
|
||||||
|
buttonbox_layout=0
|
||||||
|
cursor_flash_time=1000
|
||||||
|
dialog_buttons_have_icons=1
|
||||||
|
double_click_interval=400
|
||||||
|
gui_effects=@Invalid()
|
||||||
|
keyboard_scheme=2
|
||||||
|
menus_have_icons=true
|
||||||
|
show_shortcuts_in_context_menus=true
|
||||||
|
stylesheets=@Invalid()
|
||||||
|
toolbutton_style=4
|
||||||
|
underline_shortcut=1
|
||||||
|
wheel_scroll_lines=3
|
||||||
|
|
||||||
|
[SettingsWindow]
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\xbb\0\0\t\xe3\0\0\x6 \0\0\0\0\0\0\0\xbb\0\0\t\xe3\0\0\x6 \0\0\0\0\0\0\0\0\v\xaf\0\0\0\0\0\0\0\xbb\0\0\t\xe3\0\0\x6 )
|
||||||
|
|
||||||
|
[Troubleshooting]
|
||||||
|
force_raster_widgets=1
|
||||||
|
ignored_applications=@Invalid()
|
||||||
4
config/.config/qt5ct/style-colors.conf
Normal file
4
config/.config/qt5ct/style-colors.conf
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
[ColorScheme]
|
||||||
|
active_colors=#ffe0def4, #ff26233a, #ff6e6a86, #ff6e6a86, #ff191724, #ff191724, #ffe0def4, #ffffffff, #ffe0def4, #ff191724, #ff1f1d2e, #ff000000, #fff07746, #ff191724, #ff9ccfd8, #ffc4a7e7, #ff191724, #ff000000, #ff000000, #ffe0def4, #80e0def4
|
||||||
|
disabled_colors=#ff787878, #ffe9e9e9, #ffffffff, #ffececec, #ffbebebe, #ffd9d9d9, #ff787878, #ffffffff, #ff787878, #ffffffff, #fff2f1f0, #ff000000, #fff07746, #66fcfcfc, #ff0057ae, #ff452886, #fff4f4f4, #ff000000, #ff000000, #ffffffff, #804c4c4c
|
||||||
|
inactive_colors=#ffe0def4, #ff26233a, #ff6e6a86, #ff6e6a86, #ff191724, #ff191724, #ffe0def4, #ffffffff, #ffe0def4, #ff191724, #ff1f1d2e, #ff000000, #fff07746, #ff191724, #ff9ccfd8, #ffc4a7e7, #ff191724, #ff000000, #ff000000, #ffe0def4, #80e0def4
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user