Compare commits
3 commits
7be2918ead
...
92a98d41b5
Author | SHA1 | Date | |
---|---|---|---|
92a98d41b5 | |||
8562a445c7 | |||
1c94697eaa |
8 changed files with 213 additions and 4 deletions
42
.config/htop/htoprc
Normal file
42
.config/htop/htoprc
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||||
|
# The parser is also very primitive, and not human-friendly.
|
||||||
|
htop_version=3.1.1
|
||||||
|
config_reader_min_version=2
|
||||||
|
fields=0 48 39 40 2 46 47 1
|
||||||
|
sort_key=46
|
||||||
|
sort_direction=-1
|
||||||
|
tree_sort_key=47
|
||||||
|
tree_sort_direction=-1
|
||||||
|
hide_kernel_threads=0
|
||||||
|
hide_userland_threads=1
|
||||||
|
shadow_other_users=0
|
||||||
|
show_thread_names=0
|
||||||
|
show_program_path=1
|
||||||
|
highlight_base_name=0
|
||||||
|
highlight_deleted_exe=1
|
||||||
|
highlight_megabytes=1
|
||||||
|
highlight_threads=1
|
||||||
|
highlight_changes=0
|
||||||
|
highlight_changes_delay_secs=5
|
||||||
|
find_comm_in_cmdline=1
|
||||||
|
strip_exe_from_cmdline=1
|
||||||
|
show_merged_command=1
|
||||||
|
tree_view=0
|
||||||
|
tree_view_always_by_pid=0
|
||||||
|
all_branches_collapsed=0
|
||||||
|
header_margin=0
|
||||||
|
detailed_cpu_time=0
|
||||||
|
cpu_count_from_one=0
|
||||||
|
show_cpu_usage=1
|
||||||
|
show_cpu_frequency=0
|
||||||
|
update_process_names=0
|
||||||
|
account_guest_in_cpu_meter=0
|
||||||
|
color_scheme=6
|
||||||
|
enable_mouse=1
|
||||||
|
delay=3
|
||||||
|
hide_function_bar=0
|
||||||
|
header_layout=two_67_33
|
||||||
|
column_meters_0=AllCPUs2 Memory Swap
|
||||||
|
column_meter_modes_0=1 1 1
|
||||||
|
column_meters_1=Tasks LoadAverage Uptime
|
||||||
|
column_meter_modes_1=2 2 2
|
72
.config/kak/colors/grayscale-superiority.kak
Normal file
72
.config/kak/colors/grayscale-superiority.kak
Normal file
|
@ -0,0 +1,72 @@
|
||||||
|
evaluate-commands %sh{
|
||||||
|
black="rgb:000000"
|
||||||
|
dark_gray="rgb:333333"
|
||||||
|
gray="rgb:666666"
|
||||||
|
white="rgb:FFFFFF"
|
||||||
|
whiteish="rgb:DDDDDD"
|
||||||
|
|
||||||
|
pale_blue="rgb:BBCCEE"
|
||||||
|
pale_cyan="rgb:CCEEFF"
|
||||||
|
dark_blue="rgb:222255"
|
||||||
|
dark_cyan="rgb:225555"
|
||||||
|
dark_grey="rgb:555555"
|
||||||
|
vibrant_grey="rgb:BBBBBB"
|
||||||
|
|
||||||
|
cat <<EOF
|
||||||
|
|
||||||
|
# For Code
|
||||||
|
set-face global keyword Default
|
||||||
|
set-face global attribute Default
|
||||||
|
set-face global type Default
|
||||||
|
set-face global string ${gray}
|
||||||
|
set-face global value Default
|
||||||
|
set-face global meta Default
|
||||||
|
set-face global builtin Default
|
||||||
|
set-face global module Default
|
||||||
|
set-face global comment ${gray}+i
|
||||||
|
set-face global documentation comment
|
||||||
|
set-face global function Default
|
||||||
|
set-face global operator Default
|
||||||
|
set-face global variable Default
|
||||||
|
|
||||||
|
# For markup
|
||||||
|
set-face global title +b
|
||||||
|
set-face global header Default
|
||||||
|
set-face global block Default
|
||||||
|
set-face global mono Default
|
||||||
|
set-face global link +u
|
||||||
|
set-face global list Default
|
||||||
|
set-face global bullet +b
|
||||||
|
|
||||||
|
# Built-in faces
|
||||||
|
set-face global Default ${black},${white}
|
||||||
|
set-face global PrimarySelection ${black},${pale_blue}+fg
|
||||||
|
set-face global SecondarySelection ${black},${pale_cyan}+fg
|
||||||
|
set-face global PrimaryCursor ${white},${dark_blue}+fg
|
||||||
|
set-face global SecondaryCursor ${white},${dark_cyan}+fg
|
||||||
|
set-face global PrimaryCursorEol ${white},${dark_grey}+fg
|
||||||
|
set-face global SecondaryCursorEol ${white},${vibrant_grey}+fg
|
||||||
|
|
||||||
|
set-face global StatusLine ${black},${whiteish}
|
||||||
|
set-face global StatusLineMode ${black},${whiteish}
|
||||||
|
set-face global StatusLineInfo ${black},${whiteish}
|
||||||
|
set-face global StatusLineValue ${black},${whiteish}+b
|
||||||
|
set-face global StatusCursor PrimaryCursor
|
||||||
|
set-face global Prompt ${black},${whiteish}
|
||||||
|
set-face global MenuForeground ${whiteish},${black}
|
||||||
|
set-face global MenuBackground ${black},${whiteish}
|
||||||
|
set-face global MenuInfo +i
|
||||||
|
|
||||||
|
set-face global LineNumbers ${black},${whiteish}
|
||||||
|
set-face global LineNumbersWrapped ${black},${whiteish}+i
|
||||||
|
set-face global LineNumberCursor ${black},rgb:CCCCCC+b
|
||||||
|
set-face global MatchingChar ${black},${whiteish}+b
|
||||||
|
set-face global Whitespace Default
|
||||||
|
set-face global WrapMarker ${black},${whiteish}
|
||||||
|
|
||||||
|
set-face global Information ${black},${whiteish}
|
||||||
|
set-face global Error rgb:DD0000,${whiteish}
|
||||||
|
set-face global BufferPadding Default
|
||||||
|
|
||||||
|
EOF
|
||||||
|
}
|
87
.config/kak/kakrc
Normal file
87
.config/kak/kakrc
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
# add-highlighter global/ number-lines -relative -hlcursor
|
||||||
|
add-highlighter global/ wrap -word
|
||||||
|
add-highlighter global/search dynregex '%reg{/}' 0:MatchingChar
|
||||||
|
add-highlighter global/ show-matching
|
||||||
|
|
||||||
|
colorscheme grayscale-superiority
|
||||||
|
|
||||||
|
#source "%val{config}/todo-txt.kak"
|
||||||
|
|
||||||
|
# eval %sh{kak-lsp --kakoune -s $kak_session}
|
||||||
|
# set global lsp_cmd "kak-lsp -s %val{session} -vvv --log /tmp/kak-lsp.log"
|
||||||
|
# set global lsp_diagnostic_line_error_sign '║'
|
||||||
|
# set global lsp_diagnostic_line_warning_sign '┊'
|
||||||
|
# set global lsp_hover_anchor true
|
||||||
|
# set global lsp_auto_highlight_references true
|
||||||
|
# #set global lsp_hover_max_lines 3
|
||||||
|
# hook global WinSetOption filetype=(go|javascript|typescript|zig) %{
|
||||||
|
# map buffer user r ': lsp-rename-prompt<ret>' -docstring "LSP Rename"
|
||||||
|
# map buffer user a ': lsp-code-actions<ret>' -docstring "LSP Code actions"
|
||||||
|
# map buffer user , ': lsp-hover<ret>' -docstring "LSP hover"
|
||||||
|
# map buffer user l ': enter-user-mode lsp<ret>' -docstring "LSP mode"
|
||||||
|
# #set buffer idle_timeout 200
|
||||||
|
# #lsp-inlay-diagnostics-enable buffer
|
||||||
|
# lsp-enable-window
|
||||||
|
# #lsp-auto-hover-enable
|
||||||
|
# lsp-auto-signature-help-enable
|
||||||
|
# }
|
||||||
|
# hook global KakEnd .* lsp-exit
|
||||||
|
|
||||||
|
hook global WinSetOption filetype=(javascript|typescript|json|css|html) %{
|
||||||
|
set-option buffer formatcmd %sh{ echo prettier --stdin-filepath $kak_buffile }
|
||||||
|
hook buffer BufWritePre .* format-buffer
|
||||||
|
}
|
||||||
|
|
||||||
|
source "%val{config}/plugins/zig.kak/rc/zig.kak"
|
||||||
|
hook global WinSetOption filetype=zig %{
|
||||||
|
set-option buffer formatcmd "zig fmt --stdin"
|
||||||
|
hook buffer BufWritePre .* format-buffer
|
||||||
|
}
|
||||||
|
|
||||||
|
#hook global WinSetOption filetype=zig %{ zig-auto-run buffer }
|
||||||
|
|
||||||
|
hook global KakBegin .* %{ set-option global termcmd "footclient sh -c" }
|
||||||
|
|
||||||
|
map -docstring "yank the selection into the clipboard" global user y "<a-|> wl-copy<ret>"
|
||||||
|
map -docstring "paste the clipboard" global user p "<a-!> wl-paste<ret>"
|
||||||
|
map -docstring "comment" global user c ": comment-line<ret>"
|
||||||
|
map -docstring "stop searching" global user h ": set-register slash ''<ret>"
|
||||||
|
|
||||||
|
map -docstring "show whitespaces" global user s " :add-highlighter global/show-whitespaces show-whitespaces<ret>"
|
||||||
|
map -docstring "hide whitespaces" global user S " :remove-highlighter global/show-whitespaces<ret>"
|
||||||
|
|
||||||
|
map global insert '<c-w>' '<esc>b<a-c>'
|
||||||
|
|
||||||
|
# ------------
|
||||||
|
# Indentación
|
||||||
|
# ------------
|
||||||
|
|
||||||
|
source "%val{config}/plugins/smarttab.kak/rc/smarttab.kak"
|
||||||
|
hook global ModuleLoaded smarttab %{
|
||||||
|
set-option global softtabstop 4
|
||||||
|
}
|
||||||
|
|
||||||
|
# https://github.com/mawww/kakoune/issues/2108#issuecomment-721313321
|
||||||
|
define-command sleuth -docstring 'Heuristically set buffer options' %{
|
||||||
|
try %{
|
||||||
|
evaluate-commands -draft %{
|
||||||
|
# Search the first indent level
|
||||||
|
execute-keys 'gg' '/' '^\h+' '<ret>'
|
||||||
|
|
||||||
|
# Tab vs. Space
|
||||||
|
# https://youtu.be/V7PLxL8jIl8
|
||||||
|
try %{
|
||||||
|
execute-keys '<a-k>' '\t' '<ret>'
|
||||||
|
noexpandtab
|
||||||
|
set-option buffer indentwidth 0
|
||||||
|
} catch %{
|
||||||
|
expandtab
|
||||||
|
set-option buffer indentwidth %val{selection_length}
|
||||||
|
set-option buffer softtabstop %val{selection_length}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
hook -group sleuth global BufOpenFile .* %{ sleuth }
|
||||||
|
hook -group sleuth global BufWritePost .* %{ sleuth }
|
1
.config/kak/plugins/smarttab.kak
Submodule
1
.config/kak/plugins/smarttab.kak
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 1dd3f33c4f65da5c13aee5d44b2e77399595830f
|
1
.config/kak/plugins/zig.kak
Submodule
1
.config/kak/plugins/zig.kak
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 06ec64885d7700be5c14c4adb2d36565bbdfc59d
|
|
@ -11,9 +11,9 @@ lines = 10000
|
||||||
hide-when-typing=yes
|
hide-when-typing=yes
|
||||||
|
|
||||||
[main]
|
[main]
|
||||||
font=monospace:size=11
|
font=monospace:size=12
|
||||||
line-height=16
|
line-height=18
|
||||||
vertical-letter-offset=2
|
vertical-letter-offset=4
|
||||||
|
|
||||||
pad=10x10 center
|
pad=10x10 center
|
||||||
" > ~/.config/foot/foot.ini
|
" > ~/.config/foot/foot.ini
|
||||||
|
|
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -34,3 +34,9 @@
|
||||||
[submodule ".config/nvim/pack/plugins/start/paige"]
|
[submodule ".config/nvim/pack/plugins/start/paige"]
|
||||||
path = .config/nvim/pack/plugins/start/paige
|
path = .config/nvim/pack/plugins/start/paige
|
||||||
url = https://git.sr.ht/~leon_plickat/paige
|
url = https://git.sr.ht/~leon_plickat/paige
|
||||||
|
[submodule ".config/kak/plugins/smarttab.kak"]
|
||||||
|
path = .config/kak/plugins/smarttab.kak
|
||||||
|
url = https://github.com/andreyorst/smarttab.kak
|
||||||
|
[submodule ".config/kak/plugins/zig.kak"]
|
||||||
|
path = .config/kak/plugins/zig.kak
|
||||||
|
url = https://gitea.nulo.in/Nulo/zig.kak
|
||||||
|
|
2
.profile
2
.profile
|
@ -12,7 +12,7 @@ export PATH="$HOME/go/bin:$PATH"
|
||||||
|
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
|
||||||
export EDITOR=nvim
|
export EDITOR=kak
|
||||||
|
|
||||||
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue