Compare commits

..

No commits in common. "cb56eb764a4a0ac9e209decf1dea226a1f659bc2" and "a2393520a476f2b784c436684f01b9721dae24e1" have entirely different histories.

3 changed files with 9 additions and 12 deletions

View File

@ -8,8 +8,8 @@ alias d='ls -al | egrep ^d'
alias dl='ls -al | egrep "^[d|l]"' alias dl='ls -al | egrep "^[d|l]"'
alias ll='ls -alh' alias ll='ls -alh'
alias h=history alias h=history
alias td='todo -c --force-colour --filter -done,+children | less -RF' alias td='todo -c --force-colour --filter -done,+children | less -r'
alias tdall='todo --force-colour -A|less -RF' alias tdall='todo --force-colour -A|less -r'
alias pp='python -mjson.tool' alias pp='python -mjson.tool'
alias cd='cd -P' alias cd='cd -P'
alias x='chmod +x' alias x='chmod +x'
@ -52,7 +52,7 @@ alias revln='find . -xdev -type l -exec echo -n "{} -> " \; -exec readlink {}
# alias seed='run-mailcap --norun --debug' # alias seed='run-mailcap --norun --debug'
alias edit='run-mailcap --action=edit' alias edit='run-mailcap --action=edit'
alias lastf='/bin/ls -rt1|tail -1' alias lf='/bin/ls -rt1|tail -1'
alias slf='run-mailcap "$(/bin/ls -rt1|tail -1)"' alias slf='run-mailcap "$(/bin/ls -rt1|tail -1)"'
alias vlf='edit "$(/usr/bin/ls -rt1|tail -1)"' alias vlf='edit "$(/usr/bin/ls -rt1|tail -1)"'
@ -70,9 +70,6 @@ alias cm='cd ~/.mutt'
alias vm='vim ~/.mutt/muttrc' alias vm='vim ~/.mutt/muttrc'
alias vma='vim ~/.mutt/alias' alias vma='vim ~/.mutt/alias'
# urlscan
alias vurl='vim ~/.config/urlscan/config.json'
# w3m # w3m
alias vw='vim ~/.w3m/config' alias vw='vim ~/.w3m/config'

6
config
View File

@ -9,9 +9,9 @@ goto-next-feed no
# use macro with <,> + <macro> # use macro with <,> + <macro>
# from https://wiki.archlinux.org/index.php/Newsboat # from https://wiki.archlinux.org/index.php/Newsboat
macro v set browser "tsp mpv %u" ; open-in-browser ; set browser urlportal.sh -- "open video with mpv/tsp" macro v set browser "tsp mpv %u"; open-in-browser ; set browser urlportal.sh
macro c set browser "google-chrome %u"; open-in-browser ; set browser urlportal.sh -- "open with google chrome" macro c set browser "google-chrome %u"; open-in-browser ; set browser urlportal.sh
macro b set browser "browsh --startup-url %u"; open-in-browser ; set browser urlportal.sh -- "open with browsh" macro b set browser "browsh --startup-url %u"; open-in-browser ; set browser urlportal.sh
color background white black color background white black
color listnormal white black color listnormal white black

6
muttrc
View File

@ -90,9 +90,9 @@ bind pager <down> half-down
macro index .r ":source ~/.mutt/muttrc<enter>" "Reload muttrc" macro index .r ":source ~/.mutt/muttrc<enter>" "Reload muttrc"
macro index <esc>T <untag-pattern> macro index <esc>T <untag-pattern>
# urlscan # urlscan/urlview
macro index,pager \cb "<pipe-message>urlscan<enter>" "open URL in urlscan" # FIXME BROKEN macro index,pager \cb "<pipe-message>urlscan<enter>" "open URL in urlscan"
macro attach,compose \cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract URLs out of a message" macro index,pager \cb "<pipe-message>urlview<enter>" "open URL in urlview"
# save messages # save messages
macro index >I <tag-prefix><save-message>=SERVICE.INFO<enter> 'save to service info' macro index >I <tag-prefix><save-message>=SERVICE.INFO<enter> 'save to service info'