20240915
This commit is contained in:
parent
082fbb76af
commit
5e6226f6d3
4 changed files with 41 additions and 4 deletions
33
global/.newsboat/config
Normal file
33
global/.newsboat/config
Normal file
|
@ -0,0 +1,33 @@
|
|||
# general settings
|
||||
auto-reload yes
|
||||
max-items 50
|
||||
|
||||
# external browser
|
||||
include config-macos
|
||||
|
||||
# unbind keys
|
||||
unbind-key ENTER
|
||||
unbind-key j
|
||||
unbind-key k
|
||||
unbind-key J
|
||||
unbind-key K
|
||||
|
||||
# bind keys - vim style
|
||||
bind-key j down
|
||||
bind-key k up
|
||||
bind-key l open
|
||||
bind-key h quit
|
||||
|
||||
# solarized
|
||||
color background default default
|
||||
color listnormal default default
|
||||
color listnormal_unread default default
|
||||
color listfocus black cyan
|
||||
color listfocus_unread black cyan
|
||||
color info default black
|
||||
color article default default
|
||||
|
||||
# highlights
|
||||
highlight article "^(Title):.*$" blue default
|
||||
highlight article "https?://[^ ]+" red default
|
||||
highlight article "\\[image\\ [0-9]+\\]" green default
|
4
global/.newsboat/urls
Normal file
4
global/.newsboat/urls
Normal file
|
@ -0,0 +1,4 @@
|
|||
https://www.opennet.ru/opennews/opennews_all_utf.rss
|
||||
https://www.linux.org.ru/section-rss.jsp?section=1
|
||||
https://xakep.ru/feed/
|
||||
https://www.securitylab.ru/_services/export/rss/
|
|
@ -18,8 +18,6 @@ plugins=(git python tmux genpass web-search zsh-syntax-highlighting zsh-autosugg
|
|||
|
||||
fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src
|
||||
|
||||
commit_date=$(date +%Y%m%d)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
# functions
|
||||
### ARCHIVE EXTRACTION
|
||||
|
@ -121,8 +119,8 @@ alias ehledger='nvim ~/PKM/ledger/2024.journal'
|
|||
## other
|
||||
alias cclear="reset && tmux clear-history && cd"
|
||||
## git
|
||||
alias s_diary="cd ~/PKM/diary/ && git commit -am '$commit_date' && git push origin master"
|
||||
alias s_ledger="cd ~/PKM/ledger/ && git commit -am '$commit_date' && git push origin master"
|
||||
alias s_diary="cd ~/PKM/diary/ && git commit -am \"\$(date +%Y%m%d)\" && git push origin master"
|
||||
alias s_ledger="cd ~/PKM/ledger/ && git commit -am \"\$(date +%Y%m%d)\" && git push origin master"
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
export EDITOR='nvim'
|
||||
|
|
2
macos/.newsboat/config-macos
Normal file
2
macos/.newsboat/config-macos
Normal file
|
@ -0,0 +1,2 @@
|
|||
browser "/opt/homebrew/bin/lynx %u"
|
||||
macro l set browser "/opt/homebrew/bin/librewolf %u"; open-in-browser ; set browser "/opt/homebrew/bin/lynx %u"
|
Loading…
Add table
Reference in a new issue