diff options
-rwxr-xr-x | mutt/alias.sh | 2 | ||||
-rw-r--r-- | mutt/aliases.txt | 2 | ||||
-rwxr-xr-x | mutt/notify.sh | 2 | ||||
-rw-r--r-- | muttrc | 21 | ||||
-rw-r--r-- | newsbeuter/cache.db | bin | 935936 -> 935936 bytes | |||
-rw-r--r-- | newsbeuter/cache.db.lock | 2 | ||||
-rw-r--r-- | vimrc | 12 |
7 files changed, 29 insertions, 12 deletions
diff --git a/mutt/alias.sh b/mutt/alias.sh index 3761901..209c50f 100755 --- a/mutt/alias.sh +++ b/mutt/alias.sh @@ -7,7 +7,7 @@ NEWALIAS=$(echo "${MESSAGE}" | grep ^"From: " | sed s/[\,\"\']//g | awk '{$1=""; if grep -Fxq "$NEWALIAS" $HOME/.mutt/aliases.txt; then : else - if [[ "$NEWALIAS" == "*Google*" ]] || [[ "$NEWALIAS" == "*no-reply*" ]]; then + if [[ "$NEWALIAS" != "*Google*" ]] || [[ "$NEWALIAS" != "*no-reply*" ]]; then echo "$NEWALIAS" >> $HOME/.mutt/aliases.txt; fi fi diff --git a/mutt/aliases.txt b/mutt/aliases.txt index 00f33b6..232edf1 100644 --- a/mutt/aliases.txt +++ b/mutt/aliases.txt @@ -1,6 +1,6 @@ alias spasoevich-anita <spaanita3@hotmail.com> alias hansson-matthew <matthewhansson@yahoo.com> -alias marcus-begic <marcus.begic1@malmoborgar.se> +alias begic-marcus <marcus.begic1@malmoborgar.se> alias fleetwood-leslie Leslie Fleetwood <leslie.fleetwood@malmoborgar.se> alias antoaneta-sofronieva toni_sfr@mail.bg alias entertainment-blizzard Blizzard Entertainment <Newsletter@email.blizzard.com> diff --git a/mutt/notify.sh b/mutt/notify.sh index f7b44b5..673dbd5 100755 --- a/mutt/notify.sh +++ b/mutt/notify.sh @@ -2,6 +2,7 @@ # # Turns on Numlock +echo "$1" echo "$1" | grep -q "New" > /dev/null 2>&1 if [ $? -eq 0 ]; @@ -12,4 +13,3 @@ else xset -led 1 fi -echo "$1" @@ -76,7 +76,21 @@ set pager_stop # Bindings bind index,pager "n" next-unread +bind index,pager "N" search-next +bind browser d half-down +bind index d half-down +bind pager d half-down + +bind browser u half-up +bind index u half-up +bind pager u half-up + +bind index gg first-entry +bind pager gg top +bind index G last-entry +bind pager G bottom +bind index R group-reply # Write in Aliases when opening email set display_filter='$HOME/.mutt/alias.sh' @@ -88,11 +102,4 @@ set status_format="$HOME/.mutt/notify.sh '%r %f (%L) [Msgs:%?M?%M/?%m%?n? New:%n macro pager \cb 'urlview' 'Follow links with urlview' -bind index gg first-entry -bind index G last-entry -bind index R group-reply - -# Status Bar -set status_chars = " *%A" -set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───" diff --git a/newsbeuter/cache.db b/newsbeuter/cache.db Binary files differindex 9c87585..daf83bf 100644 --- a/newsbeuter/cache.db +++ b/newsbeuter/cache.db diff --git a/newsbeuter/cache.db.lock b/newsbeuter/cache.db.lock index ac037cd..f37f2af 100644 --- a/newsbeuter/cache.db.lock +++ b/newsbeuter/cache.db.lock @@ -1 +1 @@ -2508
\ No newline at end of file +23888
\ No newline at end of file @@ -74,9 +74,19 @@ set nobackup au CursorHold,CursorHoldI * checktime "au CursorHold,CursorHoldI * silent! wa filetype plugin on -filetype indent on +filetype indent off let g:tex_flavor='latex' "Persisten-undo magic set undofile + +"Disable Autocomment +autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o + +"Latex PDF magic +let g:Tex_DefaultTargetFormat = 'pdf' +let g:Tex_MultipleCompileFormats='pdf, aux' + +"Math with qalc +nnoremap <leader>m :.!qalc<Enter> |