Compare commits

..

8 commits

27 changed files with 340 additions and 617 deletions

View file

@ -0,0 +1,48 @@
set document.colors.background = "1a1a1a"
set document.colors.image = "99cc99"
set document.colors.link = "6699cc"
set document.colors.link_number = "cc99cc"
set document.colors.text = "f2f0ec"
set document.colors.ensure_contrast = 0
set document.colors.use_document_colors = 0
set document.colors.use_link_number_color = 1
set document.history.global.enable = 0
set document.browse.links.active_link.colors.background = "1a1a1a"
set document.browse.links.active_link.colors.text = "ffcc66"
set document.browse.links.active_link.enable_color = 1
set document.browse.links.active_link.invert = 0
set document.browse.links.active_link.bold = 1
set document.browse.scrolling.vertical_step = 1
set terminal.foot.block_cursor = 1
set terminal.foot.colors = 3
set ui.leds.enable = 0
set ui.show_status_bar = 0
set ui.show_title_bar = 0
set ui.colors.color.title.title-text.text = "f2f0ec"
set ui.colors.color.title.title-bar.background = "262626"
bind "main" "j" = "scroll-down"
bind "main" "k" = "scroll-up"
bind "main" "h" = "history-move-back"
bind "main" "l" = "history-move-forward"
bind "main" "J" = "move-link-down"
bind "main" "K" = "move-link-up"
bind "main" "g" = "move-document-start"
bind "main" "G" = "move-document-end"
bind "main" "f" = "toggle-numbered-links"
bind "main" "q" = "really-quit"
set mime.handler.image_viewer.unix.ask = 0
set mime.handler.image_viewer.unix.block = 0
set mime.handler.image_viewer.unix.program = "linkhandler %u"
set mime.type.image.jpg = "image_viewer"
set mime.type.image.jpeg = "image_viewer"
set mime.type.image.png = "image_viewer"
set mime.type.image.gif = "image_viewer"
set mime.type.image.bmp = "image_viewer"

View file

@ -2,27 +2,32 @@
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<alias>
<family>serif</family>
<prefer>
<family>Fira Sans</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Fira Sans</family>
</prefer>
</alias>
<alias>
<family>sans</family>
<prefer>
<family>Fira Sans</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer><family>Fira Mono</family></prefer>
</alias>
<alias>
<family>sans</family>
<prefer>
<family>Fira Sans</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Fira Sans</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Fira Sans</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Fira Mono</family>
</prefer>
</alias>
</fontconfig>

View file

@ -25,7 +25,7 @@ bright3=ffcc66 # bright yellow
bright4=a09f93 # bright blue
bright5=e8e6df # bright magenta
bright6=d27b53 # bright cyan
bright7=f2f0ec # bright white
bright7=262626 # bright white
[key-bindings]
clipboard-copy=Mod1+c
@ -41,7 +41,7 @@ scrollback-up-line=Mod1+k
scrollback-up-page=Mod1+Shift+u
search-start=Mod1+slash
show-urls-copy=Mod1+y
show-urls-launch=Mod1+l
show-urls-launch=Mod1+f
[search-bindings]
find-next=Mod1+n

View file

@ -6,6 +6,8 @@
df = diff
lc = log -1 HEAD --stat
ll = log --oneline
pf = push -f
sc = pull --rebase upstream master
st = status -sb
un = reset HEAD --
[user]

View file

@ -2,8 +2,6 @@
= add volume 5
A cycle audio
S cycle sub
H add chapter -1
L add chapter 1
h seek -5
j seek -60
k seek 60

View file

@ -5,17 +5,17 @@ color index white default "~R"
color index brightyellow default "~T"
color indicator yellow black
color sidebar_highlight yellow default
color sidebar_divider brightblack black
color sidebar_divider black brightwhite
color sidebar_flagged red black
color sidebar_new blue black
color normal blue default
color normal blue black
color error red default
color tilde black default
color message blue default
color message blue brightwhite
color markers red white
color attachment white default
color search magenta default
color status white black
color status white brightwhite
color hdrdefault green default
color quoted green default
color quoted1 blue default
@ -31,9 +31,9 @@ color normal default default
# Regex highlighting:
color header default default ".*"
color header magenta default "(^Date:)"
color header yellow default "(^From:)"
color header cyan default "(^Subject:)"
color header white default "(^CC|BCC:)"
color header cyan default "(^From|To:)"
color header white default "(^Subject:)"
color header yellow default "(^CC|BCC:)"
color body red default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses
color body blue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL
color body brightwhite black "\`[^\`]*\`" # Green text between ` and `

View file

@ -1,9 +1,9 @@
text/plain; $EDITOR %s ;
text/html; openfile %s ; nametemplate=%s.html
text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput;
image/*; openfile %s ;
video/*; setsid mpv --quiet %s &; copiousoutput
audio/*; mpv %s ;
application/pdf; openfile %s ;
text/html; elinks -dump %s; nametemplate=%s.html; copiousoutput;
image/*; linkhandler %s ;
video/*; linkhandler %s ;
audio/*; linkhandler %s ;
application/pdf; linkhandler %s ;
application/pgp-encrypted; gpg -d '%s'; copiousoutput;
application/pgp-keys; gpg --import '%s'; copiousoutput;

View file

@ -43,7 +43,7 @@ alternative_order text/plain text/enriched text/html
# Sidebar
set sidebar_visible = yes
set sidebar_width = 15
set sidebar_width = 20
set sidebar_short_path = yes
set sidebar_next_new_wrap = yes
set mail_check_stats

View file

@ -1,5 +1,5 @@
external-url-viewer "urlscan -dc -r 'linkhandler {}'"
browser xdg-open
browser linkhandler
auto-reload no
goto-next-feed no
show-read-feeds no
@ -12,7 +12,6 @@ history-limit 0
notify-always no
notify-program "notify-send"
# Formatting
notify-format "%d new articles loaded."
datetime-format "%b %d"
feedlist-title-format " Feed (%u feeds unreaded)"
@ -21,7 +20,6 @@ feedlist-format " %-6T %-50t (%U New)"
articlelist-format "%3f %-8D %t"
itemview-title-format " %T"
# Bindings
bind-key h quit
bind-key j down
bind-key k up
@ -42,25 +40,17 @@ bind-key x delete-article
bind-key b bookmark
bind-key SPACE macro-prefix
# Bookmarks
bookmark-cmd "echo >> $XDG_CONFIG_HOME/newsboat/bookmarks"
bookmark-interactive no
bookmark-autopilot yes
macro y set browser "echo %u | wl-copy"; open-in-browser; set browser linkhandler
macro d set browser "linkhandler %u"; open-in-browser-and-mark-read; set browser linkhandler
macro c set browser "pipe-viewer --no-interactive --comments=%u | less"; open-in-browser; set browser linkhandler
macro i set browser "pipe-viewer --no-interactive --info=%u | less"; open-in-browser; set browser linkhandler
# Macroses
macro y set browser "echo %u | wl-copy"; open-in-browser; set browser xdg-open
macro d set browser "linkhandler %u"; open-in-browser-and-mark-read; set browser xdg-open
macro c set browser "pipe-viewer --no-interactive --comments=%u | less"; open-in-browser; set browser xdg-open
macro i set browser "pipe-viewer --no-interactive --info=%u | less"; open-in-browser; set browser xdg-open
# Colors
color info black white reverse
color info color235 white reverse
color listnormal default default
color listnormal_unread blue default
color listfocus yellow default
color listfocus_unread yellow default
# Highlights
highlight all "---.*---" yellow
highlight feedlist ".*(0/0))" black
highlight article "(^Feed:*)" cyan default

View file

@ -1,6 +1,7 @@
"TECH" "(---)"
https://go.dev/blog/feed.atom "(www)"
https://drewdevault.com/blog/index.xml "(www)" "~Drew DeVault"
https://spacepub.space/feeds/videos.xml?videoChannelId=2 "(prb)"
https://lobste.rs/top/rss "(www)" "~Lobsters"
https://youtube.com/feeds/videos.xml?channel_id=UCKTehwyGCKF-b2wo0RKwrcg "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCl2mFZoRqjw_ELax4Yisf6w "(ytb)"
@ -22,6 +23,13 @@ https://youtube.com/feeds/videos.xml?channel_id=UCpi0JLkVK0RrAHkfpB3B2Aw "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UC2WNW0NZVyMeEPvtLmScgvQ "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCiUkcNS6W0n8QdosuZASduQ "(ytb)"
"TCH" "(---)"
https://twitchrss.appspot.com/vod/uebermarginal "(tch)" "~uebermarginal"
https://twitchrss.appspot.com/vod/lastmiles "(tch)" "~lastmiles"
https://twitchrss.appspot.com/vod/bashbunni "(tch)" "~bashbunni"
https://twitchrss.appspot.com/vod/teej_dv "(tch)" "~teej_dv"
"PPL" "(---)"
https://lukesmith.xyz/rss.xml "(www)" "~Luke's Webpage"
https://notrelated.xyz/rss "(www)" "~Not Related"
@ -52,7 +60,6 @@ https://youtube.com/feeds/videos.xml?channel_id=UCJLorkdDK41pOQyoVQbFqJQ "(ytb)"
"MOV" "(---)"
https://thepiratebay10.org/rss/top100/207 "(www)" "~HD Movies (top 100)"
https://youtube.com/feeds/videos.xml?channel_id=UCbaKd4mhqd1QvfDp5EaUlHw "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCoxVyr6d4OBKEY1dHhtEkRg "(ytb)"
https://youtube.com/feeds/videos.xml?channel_id=UCOaqC7XshSJO7PWwvjDJ1nQ "(ytb)"
"HIS" "(---)"

View file

@ -1,164 +1,35 @@
" vi:syntax=vim
" base16-vim (https://github.com/chriskempson/base16-vim)
" by Chris Kempson (http://chriskempson.com)
" Eighties scheme by Chris Kempson (http://chriskempson.com)
" This enables the coresponding base16-shell script to run so that
" :colorscheme works in terminals supported by base16-shell scripts
" User must set this variable in .vimrc
" let g:base16_shell_path=base16-builder/output/shell/
if !has("gui_running")
if exists("g:base16_shell_path")
execute "silent !/bin/sh ".g:base16_shell_path."/base16-eighties.sh"
endif
endif
" GUI color definitions
let s:gui00 = "2d2d2d"
let g:base16_gui00 = "2d2d2d"
let s:gui01 = "393939"
let g:base16_gui01 = "393939"
let s:gui02 = "515151"
let g:base16_gui02 = "515151"
let s:gui03 = "747369"
let g:base16_gui03 = "747369"
let s:gui04 = "a09f93"
let g:base16_gui04 = "a09f93"
let s:gui05 = "d3d0c8"
let g:base16_gui05 = "d3d0c8"
let s:gui06 = "e8e6df"
let g:base16_gui06 = "e8e6df"
let s:gui07 = "f2f0ec"
let g:base16_gui07 = "f2f0ec"
let s:gui08 = "f2777a"
let g:base16_gui08 = "f2777a"
let s:gui09 = "f99157"
let g:base16_gui09 = "f99157"
let s:gui0A = "ffcc66"
let g:base16_gui0A = "ffcc66"
let s:gui0B = "99cc99"
let g:base16_gui0B = "99cc99"
let s:gui0C = "66cccc"
let g:base16_gui0C = "66cccc"
let s:gui0D = "6699cc"
let g:base16_gui0D = "6699cc"
let s:gui0E = "cc99cc"
let g:base16_gui0E = "cc99cc"
let s:gui0F = "d27b53"
let g:base16_gui0F = "d27b53"
" Terminal color definitions
let s:cterm00 = "00"
let g:base16_cterm00 = "00"
let s:cterm03 = "08"
let g:base16_cterm03 = "08"
let s:cterm05 = "07"
let g:base16_cterm05 = "07"
let s:cterm07 = "15"
let g:base16_cterm07 = "15"
let s:cterm08 = "01"
let g:base16_cterm08 = "01"
let s:cterm0A = "03"
let g:base16_cterm0A = "03"
let s:cterm0B = "02"
let g:base16_cterm0B = "02"
let s:cterm0C = "06"
let g:base16_cterm0C = "06"
let s:cterm0D = "04"
let g:base16_cterm0D = "04"
let s:cterm0E = "05"
let g:base16_cterm0E = "05"
if exists("base16colorspace") && base16colorspace == "256"
let s:cterm01 = "18"
let g:base16_cterm01 = "18"
let s:cterm02 = "19"
let g:base16_cterm02 = "19"
let s:cterm04 = "20"
let g:base16_cterm04 = "20"
let s:cterm06 = "21"
let g:base16_cterm06 = "21"
let s:cterm09 = "16"
let g:base16_cterm09 = "16"
let s:cterm0F = "17"
let g:base16_cterm0F = "17"
else
let s:cterm01 = "10"
let g:base16_cterm01 = "10"
let s:cterm02 = "11"
let g:base16_cterm02 = "11"
let s:cterm04 = "12"
let g:base16_cterm04 = "12"
let s:cterm06 = "13"
let g:base16_cterm06 = "13"
let s:cterm09 = "09"
let g:base16_cterm09 = "09"
let s:cterm0F = "14"
let g:base16_cterm0F = "14"
endif
let s:cterm00 = "00"
let s:cterm01 = "10"
let s:cterm02 = "11"
let s:cterm03 = "08"
let s:cterm04 = "12"
let s:cterm05 = "07"
let s:cterm06 = "13"
let s:cterm07 = "15"
let s:cterm08 = "01"
let s:cterm09 = "09"
let s:cterm0A = "03"
let s:cterm0B = "02"
let s:cterm0C = "06"
let s:cterm0D = "04"
let s:cterm0E = "05"
let s:cterm0F = "14"
" Neovim terminal colours
if has("nvim")
let g:terminal_color_0 = "#2d2d2d"
let g:terminal_color_1 = "#f2777a"
let g:terminal_color_2 = "#99cc99"
let g:terminal_color_3 = "#ffcc66"
let g:terminal_color_4 = "#6699cc"
let g:terminal_color_5 = "#cc99cc"
let g:terminal_color_6 = "#66cccc"
let g:terminal_color_7 = "#d3d0c8"
let g:terminal_color_8 = "#747369"
let g:terminal_color_9 = "#f2777a"
let g:terminal_color_10 = "#99cc99"
let g:terminal_color_11 = "#ffcc66"
let g:terminal_color_12 = "#6699cc"
let g:terminal_color_13 = "#cc99cc"
let g:terminal_color_14 = "#66cccc"
let g:terminal_color_15 = "#f2f0ec"
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_5
if &background == "light"
let g:terminal_color_background = g:terminal_color_7
let g:terminal_color_foreground = g:terminal_color_2
endif
elseif has("terminal")
let g:terminal_ansi_colors = [
\ "#2d2d2d",
\ "#f2777a",
\ "#99cc99",
\ "#ffcc66",
\ "#6699cc",
\ "#cc99cc",
\ "#66cccc",
\ "#d3d0c8",
\ "#747369",
\ "#f2777a",
\ "#99cc99",
\ "#ffcc66",
\ "#6699cc",
\ "#cc99cc",
\ "#66cccc",
\ "#f2f0ec",
\ ]
endif
" Theme setup
hi clear
syntax reset
let g:colors_name = "base16-eighties"
let g:colors_name = "eighties"
" Highlighting function
" Optional variables are attributes and guisp
function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
function! g:Base16hi(group, ctermfg, ctermbg, ...)
let l:attr = get(a:, 1, "")
let l:guisp = get(a:, 2, "")
if a:guifg != ""
exec "hi " . a:group . " guifg=#" . a:guifg
endif
if a:guibg != ""
exec "hi " . a:group . " guibg=#" . a:guibg
endif
if a:ctermfg != ""
exec "hi " . a:group . " ctermfg=" . a:ctermfg
endif
@ -168,246 +39,200 @@ function! g:Base16hi(group, guifg, guibg, ctermfg, ctermbg, ...)
if l:attr != ""
exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr
endif
if l:guisp != ""
exec "hi " . a:group . " guisp=#" . l:guisp
endif
endfunction
fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp)
call g:Base16hi(a:group, a:guifg, a:guibg, a:ctermfg, a:ctermbg, a:attr, a:guisp)
fun <sid>hi(group, ctermfg, ctermbg, attr, guisp)
call g:Base16hi(a:group, a:ctermfg, a:ctermbg, a:attr, a:guisp)
endfun
" Vim editor colors
call <sid>hi("Normal", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "")
call <sid>hi("Bold", "", "", "", "", "bold", "")
call <sid>hi("Debug", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Directory", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Error", s:gui00, s:gui08, s:cterm00, s:cterm08, "", "")
call <sid>hi("ErrorMsg", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "")
call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "")
call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "")
call <sid>hi("Italic", "", "", "", "", "none", "")
call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "")
call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("MoreMsg", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Question", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Search", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "")
call <sid>hi("Substitute", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "none", "")
call <sid>hi("SpecialKey", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("TooLong", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Underlined", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Visual", "", "", "", "", "", "reverse")
call <sid>hi("VisualNOS", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("WildMenu", s:gui08, s:gui0A, s:cterm08, "", "", "")
call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "")
call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "")
call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "")
call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("LineNr", "", "", s:cterm03, "", "", "")
call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "")
call <sid>hi("StatusLine", s:gui04, s:gui02, s:cterm04, s:cterm02, "none", "")
call <sid>hi("StatusLineNC", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("VertSplit", "", "", "", "", "none", "")
call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "")
call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "")
call <sid>hi("TabLineSel", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "none", "")
call <sid>hi("Normal", s:cterm05, s:cterm00, "", "")
call <sid>hi("Bold", "", "", "bold", "")
call <sid>hi("Debug", s:cterm08, "", "", "")
call <sid>hi("Directory", s:cterm0D, "", "", "")
call <sid>hi("Error", s:cterm00, s:cterm08, "", "")
call <sid>hi("ErrorMsg", s:cterm08, s:cterm00, "", "")
call <sid>hi("Exception", s:cterm08, "", "", "")
call <sid>hi("FoldColumn", s:cterm0C, s:cterm01, "", "")
call <sid>hi("Folded", s:cterm03, s:cterm01, "", "")
call <sid>hi("IncSearch", s:cterm01, s:cterm09, "none", "")
call <sid>hi("Italic", "", "", "none", "")
call <sid>hi("Macro", s:cterm08, "", "", "")
call <sid>hi("MatchParen", "", s:cterm03, "", "")
call <sid>hi("ModeMsg", s:cterm0B, "", "", "")
call <sid>hi("MoreMsg", s:cterm0B, "", "", "")
call <sid>hi("Question", s:cterm0D, "", "", "")
call <sid>hi("Search", s:cterm01, s:cterm0A, "", "")
call <sid>hi("Substitute", s:cterm01, s:cterm0A, "none", "")
call <sid>hi("SpecialKey", s:cterm03, "", "", "")
call <sid>hi("TooLong", s:cterm08, "", "", "")
call <sid>hi("Underlined", s:cterm08, "", "", "")
call <sid>hi("Visual", "", "", "", "reverse")
call <sid>hi("VisualNOS", s:cterm08, "", "", "")
call <sid>hi("WarningMsg", s:cterm08, "", "", "")
call <sid>hi("WildMenu", s:cterm08, "", "", "")
call <sid>hi("Title", s:cterm0D, "", "none", "")
call <sid>hi("Conceal", s:cterm0D, s:cterm00, "", "")
call <sid>hi("Cursor", s:cterm00, s:cterm05, "", "")
call <sid>hi("NonText", s:cterm03, "", "", "")
call <sid>hi("LineNr", s:cterm03, "", "", "")
call <sid>hi("SignColumn", s:cterm03, s:cterm01, "", "")
call <sid>hi("StatusLine", s:cterm0D, s:cterm02, "none", "")
call <sid>hi("StatusLineNC", s:cterm03, s:cterm01, "none", "")
call <sid>hi("VertSplit", "", "", "none", "")
call <sid>hi("ColorColumn", "", s:cterm01, "none", "")
call <sid>hi("CursorColumn", "", s:cterm01, "none", "")
call <sid>hi("CursorLine", "", s:cterm01, "none", "")
call <sid>hi("CursorLineNr", s:cterm04, s:cterm01, "", "")
call <sid>hi("QuickFixLine", "", s:cterm01, "none", "")
call <sid>hi("PMenu", s:cterm05, s:cterm01, "none", "")
call <sid>hi("PMenuSel", s:cterm01, s:cterm05, "", "")
call <sid>hi("TabLine", s:cterm0D, s:cterm07, "none", "")
call <sid>hi("TabLineFill", s:cterm0D, s:cterm07, "none", "")
call <sid>hi("TabLineSel", s:cterm02, s:cterm07, "none", "")
" Standard syntax highlighting
call <sid>hi("Boolean", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Character", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("Comment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("Conditional", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("Constant", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Define", s:gui0E, "", s:cterm0E, "", "none", "")
call <sid>hi("Delimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("Float", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Function", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Identifier", s:gui08, "", s:cterm08, "", "none", "")
call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "")
call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("SpecialChar", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("Statement", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("StorageClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("String", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("Structure", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("Tag", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "")
call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "")
call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("Boolean", s:cterm09, "", "", "")
call <sid>hi("Character", s:cterm08, "", "", "")
call <sid>hi("Comment", s:cterm03, "", "", "")
call <sid>hi("Conditional", s:cterm0E, "", "", "")
call <sid>hi("Constant", s:cterm09, "", "", "")
call <sid>hi("Define", s:cterm0E, "", "none", "")
call <sid>hi("Delimiter", s:cterm0F, "", "", "")
call <sid>hi("Float", s:cterm09, "", "", "")
call <sid>hi("Function", s:cterm0D, "", "", "")
call <sid>hi("Identifier", s:cterm08, "", "none", "")
call <sid>hi("Include", s:cterm0D, "", "", "")
call <sid>hi("Keyword", s:cterm0E, "", "", "")
call <sid>hi("Label", s:cterm0A, "", "", "")
call <sid>hi("Number", s:cterm09, "", "", "")
call <sid>hi("Operator", s:cterm05, "", "none", "")
call <sid>hi("PreProc", s:cterm0A, "", "", "")
call <sid>hi("Repeat", s:cterm0A, "", "", "")
call <sid>hi("Special", s:cterm0C, "", "", "")
call <sid>hi("SpecialChar", s:cterm0F, "", "", "")
call <sid>hi("Statement", s:cterm08, "", "", "")
call <sid>hi("StorageClass", s:cterm0A, "", "", "")
call <sid>hi("String", s:cterm0B, "", "", "")
call <sid>hi("Structure", s:cterm0E, "", "", "")
call <sid>hi("Tag", s:cterm0A, "", "", "")
call <sid>hi("Todo", s:cterm0A, s:cterm01, "", "")
call <sid>hi("Type", s:cterm0A, "", "none", "")
call <sid>hi("Typedef", s:cterm0A, "", "", "")
" C highlighting
call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("cOperator", s:cterm0C, "", "", "")
call <sid>hi("cPreCondit", s:cterm0E, "", "", "")
" C# highlighting
call <sid>hi("csClass", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csAttribute", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("csModifier", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csType", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("csClass", s:cterm0A, "", "", "")
call <sid>hi("csAttribute", s:cterm0A, "", "", "")
call <sid>hi("csModifier", s:cterm0E, "", "", "")
call <sid>hi("csType", s:cterm08, "", "", "")
call <sid>hi("csUnspecifiedStatement", s:cterm0D, "", "", "")
call <sid>hi("csContextualStatement", s:cterm0E, "", "", "")
call <sid>hi("csNewDecleration", s:cterm08, "", "", "")
" CSS highlighting
call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("cssBraces", s:cterm05, "", "", "")
call <sid>hi("cssClassName", s:cterm0E, "", "", "")
call <sid>hi("cssColor", s:cterm0C, "", "", "")
" Diff highlighting
call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("DiffChange", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "")
call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "")
call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "")
call <sid>hi("DiffLine", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "")
call <sid>hi("DiffRemoved", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "")
call <sid>hi("DiffAdd", s:cterm0B, s:cterm01, "", "")
call <sid>hi("DiffChange", s:cterm03, s:cterm01, "", "")
call <sid>hi("DiffDelete", s:cterm08, s:cterm01, "", "")
call <sid>hi("DiffText", s:cterm0D, s:cterm01, "", "")
call <sid>hi("DiffAdded", s:cterm0B, s:cterm00, "", "")
call <sid>hi("DiffFile", s:cterm08, s:cterm00, "", "")
call <sid>hi("DiffNewFile", s:cterm0B, s:cterm00, "", "")
call <sid>hi("DiffLine", s:cterm0D, s:cterm00, "", "")
call <sid>hi("DiffRemoved", s:cterm08, s:cterm00, "", "")
" Git highlighting
call <sid>hi("gitcommitOverflow", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("gitcommitSummary", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("gitcommitComment", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitUntracked", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitDiscarded", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitSelected", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("gitcommitHeader", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("gitcommitSelectedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitUnmergedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitDiscardedType", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("gitcommitBranch", s:gui09, "", s:cterm09, "", "bold", "")
call <sid>hi("gitcommitUntrackedFile", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("gitcommitUnmergedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "")
" GitGutter highlighting
call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "")
call <sid>hi("gitcommitOverflow", s:cterm08, "", "", "")
call <sid>hi("gitcommitSummary", s:cterm0B, "", "", "")
call <sid>hi("gitcommitComment", s:cterm03, "", "", "")
call <sid>hi("gitcommitUntracked", s:cterm03, "", "", "")
call <sid>hi("gitcommitDiscarded", s:cterm03, "", "", "")
call <sid>hi("gitcommitSelected", s:cterm03, "", "", "")
call <sid>hi("gitcommitHeader", s:cterm0E, "", "", "")
call <sid>hi("gitcommitSelectedType", s:cterm0D, "", "", "")
call <sid>hi("gitcommitUnmergedType", s:cterm0D, "", "", "")
call <sid>hi("gitcommitDiscardedType", s:cterm0D, "", "", "")
call <sid>hi("gitcommitBranch", s:cterm09, "", "bold", "")
call <sid>hi("gitcommitUntrackedFile", s:cterm0A, "", "", "")
call <sid>hi("gitcommitUnmergedFile", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitDiscardedFile", s:cterm08, "", "bold", "")
call <sid>hi("gitcommitSelectedFile", s:cterm0B, "", "bold", "")
" HTML highlighting
call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("htmlBold", s:cterm0A, "", "", "")
call <sid>hi("htmlItalic", s:cterm0E, "", "", "")
call <sid>hi("htmlEndTag", s:cterm05, "", "", "")
call <sid>hi("htmlTag", s:cterm05, "", "", "")
" JavaScript highlighting
call <sid>hi("javaScript", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptBraces", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("javaScriptNumber", s:gui09, "", s:cterm09, "", "", "")
" pangloss/vim-javascript highlighting
call <sid>hi("jsOperator", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsReturn", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsThis", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("jsClassDefinition", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsFunction", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsFuncCall", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassFuncName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("jsClassMethodType", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("jsRegexpString", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("jsGlobalObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsGlobalNodeObjects", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsExceptions", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("jsBuiltins", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("javaScript", s:cterm05, "", "", "")
call <sid>hi("javaScriptBraces", s:cterm05, "", "", "")
call <sid>hi("javaScriptNumber", s:cterm09, "", "", "")
" Mail highlighting
call <sid>hi("mailQuoted1", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailQuoted2", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("mailQuoted3", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("mailQuoted4", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("mailQuoted5", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted6", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("mailURL", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailEmail", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted1", s:cterm0A, "", "", "")
call <sid>hi("mailQuoted2", s:cterm0B, "", "", "")
call <sid>hi("mailQuoted3", s:cterm0E, "", "", "")
call <sid>hi("mailQuoted4", s:cterm0C, "", "", "")
call <sid>hi("mailQuoted5", s:cterm0D, "", "", "")
call <sid>hi("mailQuoted6", s:cterm0A, "", "", "")
call <sid>hi("mailURL", s:cterm0D, "", "", "")
call <sid>hi("mailEmail", s:cterm0D, "", "", "")
" Markdown highlighting
call <sid>hi("markdownCode", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownError", s:gui05, s:gui00, s:cterm05, s:cterm00, "", "")
call <sid>hi("markdownCodeBlock", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("markdownHeadingDelimiter", s:gui0D, "", s:cterm0D, "", "", "")
" NERDTree highlighting
call <sid>hi("NERDTreeDirSlash", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("NERDTreeExecFile", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("markdownCode", s:cterm0B, "", "", "")
call <sid>hi("markdownError", s:cterm05, s:cterm00, "", "")
call <sid>hi("markdownCodeBlock", s:cterm0B, "", "", "")
call <sid>hi("markdownHeadingDelimiter", s:cterm0D, "", "", "")
" PHP highlighting
call <sid>hi("phpMemberSelector", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("phpComparison", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("phpParent", s:gui05, "", s:cterm05, "", "", "")
call <sid>hi("phpMethodsVar", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("phpMemberSelector", s:cterm05, "", "", "")
call <sid>hi("phpComparison", s:cterm05, "", "", "")
call <sid>hi("phpParent", s:cterm05, "", "", "")
call <sid>hi("phpMethodsVar", s:cterm0C, "", "", "")
" Python highlighting
call <sid>hi("pythonOperator", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("pythonRepeat", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("pythonInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("pythonStatement", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("pythonOperator", s:cterm0E, "", "", "")
call <sid>hi("pythonRepeat", s:cterm0E, "", "", "")
call <sid>hi("pythonInclude", s:cterm0E, "", "", "")
call <sid>hi("pythonStatement", s:cterm0E, "", "", "")
" Ruby highlighting
call <sid>hi("rubyAttribute", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("rubyConstant", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("rubyInterpolationDelimiter", s:gui0F, "", s:cterm0F, "", "", "")
call <sid>hi("rubyRegexp", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("rubySymbol", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("rubyStringDelimiter", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("rubyAttribute", s:cterm0D, "", "", "")
call <sid>hi("rubyConstant", s:cterm0A, "", "", "")
call <sid>hi("rubyInterpolationDelimiter", s:cterm0F, "", "", "")
call <sid>hi("rubyRegexp", s:cterm0C, "", "", "")
call <sid>hi("rubySymbol", s:cterm0B, "", "", "")
call <sid>hi("rubyStringDelimiter", s:cterm0B, "", "", "")
" SASS highlighting
call <sid>hi("sassidChar", s:gui08, "", s:cterm08, "", "", "")
call <sid>hi("sassClassChar", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("sassInclude", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("sassidChar", s:cterm08, "", "", "")
call <sid>hi("sassClassChar", s:cterm09, "", "", "")
call <sid>hi("sassInclude", s:cterm0E, "", "", "")
call <sid>hi("sassMixing", s:cterm0E, "", "", "")
call <sid>hi("sassMixinName", s:cterm0D, "", "", "")
" Signify highlighting
call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "")
call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "")
call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "")
" Spelling highlighting
call <sid>hi("SpellBad", "", "", "", "", "undercurl", s:gui08)
call <sid>hi("SpellLocal", "", "", "", "", "undercurl", s:gui0C)
call <sid>hi("SpellCap", "", "", "", "", "undercurl", s:gui0D)
call <sid>hi("SpellRare", "", "", "", "", "undercurl", s:gui0E)
" Startify highlighting
call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyFile", s:gui07, "", s:cterm07, "", "", "")
call <sid>hi("StartifyFooter", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifyHeader", s:gui0B, "", s:cterm0B, "", "", "")
call <sid>hi("StartifyNumber", s:gui09, "", s:cterm09, "", "", "")
call <sid>hi("StartifyPath", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySection", s:gui0E, "", s:cterm0E, "", "", "")
call <sid>hi("StartifySelect", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("StartifySlash", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("StartifySpecial", s:gui03, "", s:cterm03, "", "", "")
call <sid>hi("SpellBad", "", s:cterm00, "underline", "")
call <sid>hi("SpellLocal", "", s:cterm00, "underline", "")
call <sid>hi("SpellCap", "", s:cterm00, "underline", "")
call <sid>hi("SpellRare", "", s:cterm00, "underline", "")
" Java highlighting
call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "")
call <sid>hi("javaOperator", s:cterm0D, "", "", "")
" Remove functions
delf <sid>hi
" Remove color variables
unlet s:gui00 s:gui01 s:gui02 s:gui03 s:gui04 s:gui05 s:gui06 s:gui07 s:gui08 s:gui09 s:gui0A s:gui0B s:gui0C s:gui0D s:gui0E s:gui0F
unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F

View file

@ -4,7 +4,6 @@ local opts = { noremap=true, silent=true }
vim.g.mapleader = ' '
vim.g.fzf_action = { enter = 'tab split', ['ctrl-t'] = 'vsplit' }
-- Windows
map('n', '<C-h>', '<C-w>h')
map('n', '<C-j>', '<C-w>j')
map('n', '<C-k>', '<C-w>k')
@ -13,16 +12,13 @@ map('n', '<C-t>', '<C-w>r')
map('n', '<C-s>', '<C-w>T')
map('v', '.', ':normal .<CR>')
-- Tabs
map('n', 'K', ':tabprevious<CR>')
map('n', 'J', ':tabnext<CR>')
-- Buffs
map('n', '<C-o>', ':bprevious<CR>')
map('n', '<C-p>', ':bnext<CR>')
map('n', '<C-x>', ':bdelete<CR>')
-- Leader binds
map('', '<leader>c', ':w! | !compiler "<c-r>%"<CR>')
map('', '<leader>f', ':FZF<CR>')
map('', '<leader>p', ':!opout <c-r>%<CR><CR>')

View file

@ -4,7 +4,6 @@ au = vim.api.nvim_create_autocmd
bo = vim.bo
wo = vim.wo
-- global options
o.backup = false
o.clipboard = 'unnamedplus'
o.completeopt = 'menu', 'menuone', 'noselect'
@ -28,12 +27,10 @@ o.swapfile = false
o.tabstop = 4
o.undofile = true
-- local options
wo.wrap = false
-- fzf
g.fzf_layout = { down = '30%' }
g.is_posix = 1
-- autocmds
au({ 'BufWritePre' }, { pattern = { '*' }, command = [[%s/\n\+\%$//e]] })
au({ 'FileType' }, { pattern = { '*' }, command = [[setlocal formatoptions-=cro]] })

View file

@ -8,7 +8,7 @@ c.url.searchengines = {'DEFAULT': 'https://librex.beparanoid.de/search.php?q={}'
'gh': 'https://github.com/search?q={}',
'md': 'https://reelgood.com/search?q={}',
'rep': 'https://repology.org/projects/?search={}',
'trans': 'https://lingva.ml/en/uk/{}'
'trans': 'https://lingva.ml/auto/uk/{}'
}
c.confirm_quit = ['downloads']
@ -34,9 +34,9 @@ c.colors.statusbar.normal.bg = "#1a1a1a"
c.colors.statusbar.command.bg = "#1a1a1a"
c.colors.statusbar.url.success.https.fg = "white"
c.colors.tabs.even.fg = "#888"
c.colors.tabs.even.bg = "#002A3B"
c.colors.tabs.even.bg = "#002a3b"
c.colors.tabs.odd.fg = "#888"
c.colors.tabs.odd.bg = "#002A3B"
c.colors.tabs.odd.bg = "#002a3b"
c.colors.tabs.selected.odd.bg = "#005577"
c.colors.tabs.selected.even.bg = "#005577"
c.colors.messages.error.fg = c.colors.statusbar.normal.fg

View file

@ -20,7 +20,6 @@ gs="cd $GOPATH/src && ls" \
shr="cd $XDG_DATA_HOME && ls" \
sc="cd ~/.local/bin && ls" \
ap="cd $XDG_DOCUMENTS_DIR/code/alps/aports && ls" \
ab="apkbuild-lint APKBUILD && abuild -r" \
cfn="$EDITOR $XDG_CONFIG_HOME/newsboat/config" \
cfa="$EDITOR $XDG_CONFIG_HOME/shell/aliases" \
cfz="$EDITOR $XDG_CONFIG_HOME/zsh/.zshrc" \

View file

@ -1,106 +1,3 @@
[Connection]
password =
username =
port = 9091
host = localhost
path = /transmission/rpc
ssl = False
[Sorting]
# Set startup torrent list sort order. Possible sort keys are:
# name, addedDate, percentDone, seeders, leechers, sizeWhenDone, status,
# uploadedEver, rateUpload, rateDownload, uploadRatio, peersConnected,
# downloadDir, mainTrackerDomain.
# Prepend ':' for reversed sort.
# Examples:
#
# order = :name
# Sorts by torrent name in reversed alphabetical order.
#
# order = sizeWhenDone
# Sorts by torrent size, small to large.
order = name
[Filtering]
# Set startup torrent list filter. Possible filter keys are:
# uploading, downloading, active, paused, seeding, incomplete, verifying,
# private, isolated, selected, honors.
# Use 'invert=True' to shoe only torrents not matching filter.
filter =
invert = False
[Misc]
lines_per_torrent = 3
torrentname_is_progressbar = True
file_viewer = xdg-open %%s
file_open_in_terminal = True
view_selected = False
rdns = True
geoip_database = /xyz
torrent_numbers = False
[Colors]
# Set colors of various interface elements.
# Each element has background and foreground color.
# Each color is default or one of the eight curses colors:
# Black, White, Red, Green, Blue, Cyan, Yellow, Magenta.
# Default is the default background or foreground color.
header = bg:white,fg:black
footer = bg:white,fg:black
title_seed = bg:green,fg:black
title_incomplete = bg:white,fg:black
title_download = bg:blue,fg:black
title_idle = bg:black,fg:cyan
title_verify = bg:black,fg:magenta
title_paused = bg:default,fg:black
title_error = bg:red,fg:default
download_rate = bg:black,fg:blue
upload_rate = bg:black,fg:red
eta+ratio = bg:black,fg:white
filter_status = bg:white,fg:black
multi_filter_status = bg:default,fg:blue
dialog = bg:black,fg:white
dialog_important = bg:black,fg:red
file_prio_high = bg:black,fg:red
file_prio_normal = bg:black,fg:default
file_prio_low = bg:black,fg:yellow
file_prio_off = bg:black,fg:blue
[Profiles]
# Define filter/sort profiles. See README.md for details.
# Examples:
#
# profile1 = regex#=ubuntu#=:uploadRatio
# A profile named '1' shows only torrents whose name contains ubuntu (case
# insensitive match), sorted by upload ratio from large to small.
# This profile can be selected from the profile menu or by pressing '1'.
#
# profile2 = incomplete#=#=percentDone
# A profile named '2' shows incomplete torrents sorted by progress.
#
# profileABC = regex#=ubuntu#=:incomplete#= #& # location#=/torrents#=peersConnected
# A profile named 'ABC' shows only torrents that satisfy one of the
# conditions:
# 1. Name contains ubuntu and complete;
# 2. Download location is /torrents.
# The torrent list is sorted by number of peers connected.
# This profile can be selected from the profile menu.
# Show all torrents, sort by name:
profile0 =
[ListKeys]
# Configure keys in torrent list only.
backslash = select_search_torrent_fulltext
gt = select_search_torrent_regex_fulltext
y = toggle_torrent_numbers
[DetailsKeys]
# Configure keys in torrent details only.
y = view_file
[CommonKeys]
# Configure keys globally.
Y = verify_torrent
v = move_torrent

View file

@ -1,24 +1,13 @@
highlight clear
highlight Win cterm=none ctermfg=white ctermbg=default
highlight Directory cterm=none ctermfg=blue ctermbg=default
highlight Link cterm=bold ctermfg=default ctermbg=default
highlight BrokenLink cterm=bold ctermfg=red ctermbg=default
highlight Socket cterm=bold ctermfg=blue ctermbg=default
highlight Device cterm=bold ctermfg=red ctermbg=default
highlight Fifo cterm=bold ctermfg=cyan ctermbg=default
highlight Executable cterm=bold ctermfg=green ctermbg=default
highlight Selected cterm=bold ctermfg=yellow ctermbg=default
highlight CurrLine cterm=reverse ctermfg=black ctermbg=yellow
highlight TopLine cterm=bold ctermfg=white ctermbg=black
highlight TopLineSel cterm=bold ctermfg=white ctermbg=default
highlight StatusLine cterm=bold ctermfg=white ctermbg=black
highlight WildMenu cterm=underline,reverse ctermfg=white ctermbg=black
highlight CmdLine cterm=none ctermfg=white ctermbg=default
highlight ErrorMsg cterm=none ctermfg=red ctermbg=black
highlight Border cterm=none ctermfg=white ctermbg=black
highlight JobLine cterm=bold,reverse ctermfg=black ctermbg=white
highlight SuggestBox cterm=bold ctermfg=default ctermbg=default
highlight CmpMismatch cterm=bold ctermfg=white ctermbg=red
highlight AuxWin cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default
highlight TabLine cterm=none ctermfg=white ctermbg=black
highlight TabLineSel cterm=bold,reverse ctermfg=default ctermbg=default
highlight Border cterm=none ctermfg=white ctermbg=lightwhite
highlight CmpMismatch cterm=bold ctermfg=white ctermbg=red
highlight CurrLine cterm=reverse ctermfg=black ctermbg=yellow
highlight Device cterm=bold ctermfg=red ctermbg=default
highlight Directory cterm=none ctermfg=blue ctermbg=default
highlight Executable cterm=bold ctermfg=green ctermbg=default
highlight Selected cterm=bold ctermfg=yellow ctermbg=default
highlight Socket cterm=bold ctermfg=blue ctermbg=default
highlight StatusLine cterm=none ctermfg=white ctermbg=lightwhite
highlight TopLine cterm=none ctermfg=white ctermbg=lightwhite
highlight TopLineSel cterm=none ctermfg=white ctermbg=default
highlight Win cterm=none ctermfg=white ctermbg=default

View file

@ -13,26 +13,16 @@ set incsearch
set suggestoptions=normal,visual,view,otherpane,keys,marks,registers
colorscheme eighties
map <C-h> <C-w>h
map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-l> <C-w>l
map <C-o> <C-w>o
map <C-s> <C-w>s
map <C-v> <C-w>v
map R :restart<CR>
nnoremap o :file &<cr>
map E :!$EDITOR %f<CR>
map mkd :mkdir<space>
map X :!aunpack %f &<CR>
nnoremap s :shell<cr>
nnoremap w :view<cr>
vnoremap w :view<cr>gv
nnoremap yd :!echo %d | xclip %i<cr>
nnoremap yf :!echo %c:p | xclip %i<cr>
nnoremap yd :!echo %d | wl-copy %i<cr>
nnoremap yf :!echo %c:p | wl-copy %i<cr>
nnoremap I cw<c-a>
nnoremap cc cw<c-u>
nnoremap A cw
nnoremap ,w :set wrap!<cr>
nmap <space> tj
@ -58,4 +48,7 @@ fileviewer <audio/*,video/*> mediainfo
filetype <image/*> rotdir %f 2>/dev/null | imv 2>/dev/null &
fileviewer <image/*> sixel %c %pw %ph %pd %pc
set vifminfo=dhistory,chistory,tui,shistory,phistory,fhistory,dirstack,registers,bookmarks,bmarks
filetype *.torrent torwrap add %c
fileviewer *.torrent transmission-show
set vifminfo=dhistory,chistory,tui,shistory,phistory,fhistory,dirstack,registers

View file

@ -9,35 +9,35 @@ export QT_QPA_PLATFORM="wayland-egl"
export XDG_SESSION_TYPE="wayland"
export XCURSOR_SIZE="16"
export EDITOR="nvim"
export TERMINAL="foot"
export FILE="vifm"
export BROWSER="qutebrowser"
export READER="zathura"
export XDG_DOWNLOAD_DIR="$HOME/downloads"
export XDG_DOCUMENTS_DIR="$HOME/documents"
export XDG_MUSIC_DIR="$HOME/music"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
export GOPATH="$XDG_DOCUMENTS_DIR/code/go"
export GOBIN="$HOME/.local/bin"
export INPUTRC="$XDG_CONFIG_HOME/shell/inputrc"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
export EDITOR="nvim"
export ELINKS_CONFDIR="$XDG_CONFIG_HOME"/elinks
export FILE="vifm"
export FZF_DEFAULT_OPTS="--layout=reverse --height 40%"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch/notmuchrc"
export GOBIN="$HOME/.local/bin"
export GOPATH="$XDG_DOCUMENTS_DIR/code/go"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc-2.0"
export INPUTRC="$XDG_CONFIG_HOME/shell/inputrc"
export LESS=-R
export LESSHISTFILE="-"
export LESS_TERMCAP_mb="$(printf '%b' '')"
export LESS_TERMCAP_md="$(printf '%b' '')"
export LESS_TERMCAP_me="$(printf '%b' '')"
export LESS_TERMCAP_so="$(printf '%b' '')"
export LESS_TERMCAP_se="$(printf '%b' '')"
export LESS_TERMCAP_us="$(printf '%b' '')"
export LESS_TERMCAP_so="$(printf '%b' '')"
export LESS_TERMCAP_ue="$(printf '%b' '')"
export LESSHISTFILE="-"
export LESS_TERMCAP_us="$(printf '%b' '')"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
export READER="zathura"
export TERMINAL="foot"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_DOCUMENTS_DIR="$HOME/documents"
export XDG_DOWNLOAD_DIR="$HOME/downloads"
export XDG_MUSIC_DIR="$HOME/music"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s dwl >/dev/null 2>&1 && dbus-run-session -- dwl -s somebar