Compare commits
3 Commits
c64edf3a22
...
wip
| Author | SHA1 | Date | |
|---|---|---|---|
| dc662f1ee9 | |||
| 0a551a210b | |||
| c37e371dda |
194
kakoune/.config/kak/colors/lupan-dark.kak
Normal file
194
kakoune/.config/kak/colors/lupan-dark.kak
Normal file
@@ -0,0 +1,194 @@
|
|||||||
|
# Lupan Dark
|
||||||
|
|
||||||
|
declare-option str bg "111c22"
|
||||||
|
declare-option str bgmenu "262b40"
|
||||||
|
declare-option str fg "a1a3aa"
|
||||||
|
declare-option str TODO "ff0000"
|
||||||
|
declare-option str orange "d78c42"
|
||||||
|
declare-option str blue "42a5d7"
|
||||||
|
declare-option str sand "f2d1a6"
|
||||||
|
declare-option str mint "96e9bf"
|
||||||
|
declare-option str brick "b25e34"
|
||||||
|
declare-option str darkmint "53acac"
|
||||||
|
declare-option str pink "cc66cc"
|
||||||
|
declare-option str purple "7461d1"
|
||||||
|
declare-option str yellow "acac53"
|
||||||
|
declare-option str yellow2 "949438"
|
||||||
|
declare-option str comment "70675c"
|
||||||
|
declare-option str red "862d2d"
|
||||||
|
declare-option str TODO1 "c27070"
|
||||||
|
|
||||||
|
declare-option str selectionalpha "80"
|
||||||
|
|
||||||
|
## fg,bg
|
||||||
|
## default+b
|
||||||
|
## face global NAME ${my_color}
|
||||||
|
|
||||||
|
## CODE
|
||||||
|
|
||||||
|
set-face global value "rgb:%opt{mint}"
|
||||||
|
set-face global type "rgb:%opt{darkmint}"
|
||||||
|
set-face global variable "rgb:%opt{yellow}"
|
||||||
|
set-face global module "rgb:%opt{blue}"
|
||||||
|
set-face global function "rgb:%opt{yellow}"
|
||||||
|
set-face global string "rgb:%opt{brick}"
|
||||||
|
set-face global keyword "rgb:%opt{sand}"
|
||||||
|
set-face global operator "rgb:%opt{orange}"
|
||||||
|
set-face global attribute "rgb:%opt{yellow2}"
|
||||||
|
set-face global comment "rgb:%opt{comment}"
|
||||||
|
set-face global documentation "rgb:%opt{comment}"
|
||||||
|
set-face global meta "rgb:%opt{TODO}"
|
||||||
|
set-face global bultin "rgb:%opt{TODO}"
|
||||||
|
|
||||||
|
## MARKUP
|
||||||
|
|
||||||
|
set-face global title "rgb:%opt{TODO}"
|
||||||
|
set-face global header "rgb:%opt{TODO}"
|
||||||
|
set-face global mono "rgb:%opt{TODO}"
|
||||||
|
set-face global block "rgb:%opt{TODO}"
|
||||||
|
set-face global link "rgb:%opt{blue}"
|
||||||
|
set-face global bullet "rgb:%opt{TODO}"
|
||||||
|
set-face global list "rgb:%opt{TODO}"
|
||||||
|
|
||||||
|
## BUILTIN
|
||||||
|
|
||||||
|
set-face global Default "rgb:%opt{fg},rgb:%opt{bg}"
|
||||||
|
set-face global PrimarySelection "rgb:%opt{bg},rgba:%opt{mint}%opt{selectionalpha}"
|
||||||
|
set-face global SecondarySelection "rgb:%opt{bg},rgba:%opt{blue}%opt{selectionalpha}"
|
||||||
|
set-face global PrimaryCursor "rgb:%opt{bg},rgb:%opt{mint}"
|
||||||
|
set-face global SecondaryCursor "rgb:%opt{bg},rgb:%opt{blue}"
|
||||||
|
set-face global PrimaryCursorEol "rgb:%opt{bg},rgb:%opt{pink}"
|
||||||
|
set-face global SecondaryCursorEol "rgb:%opt{bg},rgb:%opt{purple}"
|
||||||
|
set-face global MenuForeground "rgb:%opt{bg},rgb:%opt{darkmint}"
|
||||||
|
set-face global MenuBackground "rgb:%opt{darkmint},rgb:%opt{bgmenu}"
|
||||||
|
set-face global MenuInfo "rgb:%opt{comment}"
|
||||||
|
set-face global Information "rgb:%opt{yellow},rgb:%opt{bgmenu}"
|
||||||
|
# Face for windows and messages displaying other information.
|
||||||
|
|
||||||
|
set-face global InlineInformation "rgb:%opt{brick}"
|
||||||
|
# Face for windows and messages displaying inline information.
|
||||||
|
|
||||||
|
set-face global Error "rgb:%opt{red}"
|
||||||
|
# Face for errors reported by Kakoune in the status line.
|
||||||
|
|
||||||
|
set-face global DiagnosticError "rgb:%opt{red}"
|
||||||
|
# Face for errors reported by external tools in the buffer.
|
||||||
|
|
||||||
|
set-face global DiagnosticWarning "rgb:%opt{TODO}"
|
||||||
|
# Face for warnings reported by external tools in the buffer.
|
||||||
|
|
||||||
|
set-face global StatusLine "rgb:%opt{yellow2},rgb:%opt{bgmenu}"
|
||||||
|
# Face for the status line.
|
||||||
|
|
||||||
|
set-face global StatusLineMode "rgb:%opt{mint}"
|
||||||
|
# Face for the current mode, except normal mode.
|
||||||
|
|
||||||
|
set-face global StatusLineInfo "rgb:%opt{brick}"
|
||||||
|
# Face for special information.
|
||||||
|
|
||||||
|
set-face global StatusLineValue "rgb:%opt{TODO}"
|
||||||
|
# Face for special values (numeric prefixes, registers, etc.).
|
||||||
|
|
||||||
|
set-face global StatusCursor "rgb:%opt{bg},rgb:%opt{mint}"
|
||||||
|
# Face for the status line cursor.
|
||||||
|
|
||||||
|
set-face global Prompt "rgb:%opt{mint}"
|
||||||
|
# Face for the prompt displayed on the status line.
|
||||||
|
|
||||||
|
set-face global BufferPadding "rgb:%opt{bg},rgb:%opt{bg}"
|
||||||
|
# Face applied on the ~ characters that follow the last line of a buffer.
|
||||||
|
|
||||||
|
# Built-in highlighter faces
|
||||||
|
|
||||||
|
# The following faces are used by built-in highlighters if enabled. (See :doc highlighters).
|
||||||
|
|
||||||
|
set-face global LineNumbers "rgb:%opt{comment}"
|
||||||
|
# Face used by the number-lines highlighter.
|
||||||
|
|
||||||
|
set-face global LineNumberCursor "rgb:%opt{TODO}"
|
||||||
|
# Face used to highlight the line number of the main selection.
|
||||||
|
|
||||||
|
set-face global LineNumbersWrapped "rgb:%opt{comment}"
|
||||||
|
# Face used to highlight the line number of wrapped lines.
|
||||||
|
|
||||||
|
set-face global MatchingChar "rgb:%opt{TODO}"
|
||||||
|
# Face used by the show-matching highlighter.
|
||||||
|
|
||||||
|
set-face global Whitespace "rgb:%opt{TODO}"
|
||||||
|
# Face used by the show-whitespaces highlighter.
|
||||||
|
|
||||||
|
set-face global WrapMarker "rgb:%opt{TODO}"
|
||||||
|
# Face used by the wrap-marker highlighter.
|
||||||
|
|
||||||
|
# PLUGINS
|
||||||
|
|
||||||
|
# kak-lsp
|
||||||
|
|
||||||
|
set-face global InfoDefault "rgb:%opt{TODO}"
|
||||||
|
|
||||||
|
|
||||||
|
# The default text color. You’ll likely want to leave this at the default Information.
|
||||||
|
|
||||||
|
set-face global InfoBlock "rgb:%opt{TODO}"
|
||||||
|
|
||||||
|
|
||||||
|
# The face used for code blocks. Language specific syntax highlighting for code blocks is not supported.
|
||||||
|
|
||||||
|
set-face global InfoBlockQuote "rgb:%opt{TODO}"
|
||||||
|
|
||||||
|
|
||||||
|
# The face used for block quotes. The > Markdown syntax is still rendered.
|
||||||
|
|
||||||
|
set-face global InfoBullet "rgb:%opt{TODO}"
|
||||||
|
|
||||||
|
|
||||||
|
# The face used to highlight the list symbol for both ordered and unordered lists. For list items' text, InfoDefault is used.
|
||||||
|
|
||||||
|
set-face global InfoHeader "rgb:%opt{TODO}"
|
||||||
|
|
||||||
|
|
||||||
|
# The face used for headings. There is currently no distinction between different heading levels.
|
||||||
|
|
||||||
|
set-face global InfoLink "rgb:%opt{blue}"
|
||||||
|
|
||||||
|
|
||||||
|
# The face used to highlight link titles. Maybe some classic blue+u for this one?
|
||||||
|
|
||||||
|
set-face global InfoLinkMono "rgb:%opt{blue}"
|
||||||
|
|
||||||
|
|
||||||
|
# This face is assigned to inline code spans within link titles, such as in the following Markdown snippet. Here, the word format will receive the InfoLinkMono face.
|
||||||
|
|
||||||
|
# [the `format` function](https://example.com)
|
||||||
|
|
||||||
|
set-face global InfoMono "rgb:%opt{TODO}"
|
||||||
|
|
||||||
|
|
||||||
|
# The face used for inline code spans (backtick strings).
|
||||||
|
|
||||||
|
set-face global InfoRule "rgb:%opt{TODO}"
|
||||||
|
|
||||||
|
|
||||||
|
# The face used for horizontal lines (rules).
|
||||||
|
|
||||||
|
set-face global InfoDiagnosticError "rgb:%opt{red}"
|
||||||
|
|
||||||
|
|
||||||
|
# Used for error messages in the diagnostics inside hover info. This defaults to Kakoune’s built-in Error face.
|
||||||
|
|
||||||
|
set-face global InfoDiagnosticHint "rgb:%opt{TODO}"
|
||||||
|
|
||||||
|
|
||||||
|
# Used for hints in the diagnostics inside hover info.
|
||||||
|
|
||||||
|
set-face global InfoDiagnosticInformation "rgb:%opt{TODO}"
|
||||||
|
|
||||||
|
|
||||||
|
# Used for informational messages in the diagnostics inside hover info.
|
||||||
|
|
||||||
|
set-face global InfoDiagnosticWarning "rgb:%opt{TODO}"
|
||||||
|
|
||||||
|
|
||||||
|
# Used for warnings in the diagnostics inside hover info.
|
||||||
|
|
||||||
|
|
||||||
@@ -65,42 +65,55 @@ map global object t '<a-semicolon>lsp-object Class Interface Module Namespace St
|
|||||||
map global object d '<a-semicolon>lsp-diagnostic-object error warning<ret>' -docstring 'LSP errors and warnings'
|
map global object d '<a-semicolon>lsp-diagnostic-object error warning<ret>' -docstring 'LSP errors and warnings'
|
||||||
map global object D '<a-semicolon>lsp-diagnostic-object error<ret>' -docstring 'LSP errors'
|
map global object D '<a-semicolon>lsp-diagnostic-object error<ret>' -docstring 'LSP errors'
|
||||||
|
|
||||||
# PLUGINS
|
map global lsp p '<esc>: lsp-find-error --previous error<ret>' -docstring 'find previous error'
|
||||||
|
|
||||||
source "%val{config}/plugins/plug.kak/rc/plug.kak"
|
# BUNDLE
|
||||||
|
|
||||||
plug-chain "andreyorst/plug.kak" noload %{
|
source "%val{config}/bundle/kak-bundle/rc/kak-bundle.kak"
|
||||||
# noload to avoid removing by plug-clean
|
bundle-noload kak-bundle https://codeberg.org/jdugan6240/kak-bundle
|
||||||
} plug "https://codeberg.org/raiguard/kak-one" theme config %{
|
|
||||||
# COLORSCHEME
|
# COLORSCHEME
|
||||||
colorscheme 'one-darker'
|
|
||||||
} plug "andreyorst/fzf.kak" config %{
|
bundle-theme kak-one "https://codeberg.org/raiguard/kak-one"
|
||||||
# FZF
|
colorscheme 'one-darker'
|
||||||
|
|
||||||
|
bundle-theme kakoune-themes "https://codeberg.org/anhsirk0/kakoune-themes"
|
||||||
|
|
||||||
|
# FZF
|
||||||
|
|
||||||
|
bundle fzf.kak "https://github.com/andreyorst/fzf.kak" %{
|
||||||
map global normal <c-p> ': fzf-mode<ret>'
|
map global normal <c-p> ': fzf-mode<ret>'
|
||||||
} plug "h-youhei/kakoune-surround" config %{
|
|
||||||
# SURROUND
|
|
||||||
declare-user-mode surround
|
|
||||||
map global surround s ': surround<ret>' -docstring 'surround'
|
|
||||||
map global surround c ': change-surround<ret>' -docstring 'change'
|
|
||||||
map global surround d ': delete-surround<ret>' -docstring 'delete'
|
|
||||||
map global surround t ': select-surrounding-tag<ret>' -docstring 'select tag'
|
|
||||||
map global -docstring 'Surround' user 'S' ': enter-user-mode surround<ret>'
|
|
||||||
} plug "https://codeberg.org/raiguard/kak-harpoon" config %{
|
|
||||||
# HARPOON
|
|
||||||
harpoon-add-bindings
|
|
||||||
} plug https://git.sr.ht/~voroskoi/easymotion.kak config %{
|
|
||||||
# EASYMOTION
|
|
||||||
require-module easymotion
|
|
||||||
map global -docstring 'easy j' user <j> ': easymotion-j<ret>'
|
|
||||||
map global -docstring 'easy k' user <k> ': easymotion-k<ret>'
|
|
||||||
map global -docstring 'easy w' user <w> ': easymotion-w<ret>'
|
|
||||||
map global -docstring 'easy b'user <b> ': easymotion-b<ret>'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# FZF recent
|
|
||||||
|
|
||||||
hook global BufCreate [^*].* %{
|
hook global BufCreate [^*].* %{
|
||||||
nop %sh{
|
nop %sh{
|
||||||
mru=~/.cache/kak-mru
|
mru=~/.cache/kak-mru
|
||||||
echo "$kak_buffile" | awk '!seen[$0]++' - "$mru" | sponge "$mru"
|
echo "$kak_buffile" | awk '!seen[$0]++' - "$mru" | sponge "$mru"
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
# SURROUND
|
||||||
|
|
||||||
|
bundle kakoune-surround "h-youhei/kakoune-surround" %{
|
||||||
|
declare-user-mode surround
|
||||||
|
map global surround s ': surround<ret>' -docstring 'surround'
|
||||||
|
map global surround c ': change-surround<ret>' -docstring 'change'
|
||||||
|
map global surround d ': delete-surround<ret>' -docstring 'delete'
|
||||||
|
map global surround t ': select-surrounding-tag<ret>' -docstring 'select tag'
|
||||||
|
map global -docstring 'Surround' user 'S' ': enter-user-mode surround<ret>'
|
||||||
|
}
|
||||||
|
|
||||||
|
# HARPOON
|
||||||
|
|
||||||
|
bundle kak-harpoon "https://codeberg.org/raiguard/kak-harpoon" %{
|
||||||
|
harpoon-add-bindings
|
||||||
|
}
|
||||||
|
|
||||||
|
# EASYMOTION
|
||||||
|
|
||||||
|
bundle easymotion.kak https://git.sr.ht/~voroskoi/easymotion.kak %{
|
||||||
|
require-module easymotion
|
||||||
|
map global -docstring 'easy j' user <j> ': easymotion-j<ret>'
|
||||||
|
map global -docstring 'easy k' user <k> ': easymotion-k<ret>'
|
||||||
|
map global -docstring 'easy w' user <w> ': easymotion-w<ret>'
|
||||||
|
map global -docstring 'easy b'user <b> ': easymotion-b<ret>'
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user