From 6ce0fb1f9b02469bcd6c47dc134b420dfab91c6e Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Fri, 22 Jul 2016 14:53:14 +0200 Subject: [PATCH] thinkgs --- Utils/octopus.sh | 5 +++++ bash/.bashrc | 2 +- install.sh | 5 +++++ mutt/.mutt/muttrc | 27 ++++++++------------------- vim/.vim/spell/en.utf-8.add | 7 +++++++ vim/.vim/vimrc | 4 ++++ 6 files changed, 30 insertions(+), 20 deletions(-) create mode 100755 install.sh diff --git a/Utils/octopus.sh b/Utils/octopus.sh index 7d0ad06..c8a3145 100755 --- a/Utils/octopus.sh +++ b/Utils/octopus.sh @@ -92,6 +92,11 @@ case $1 in --left-of $LVDS ;; "CV") + xrandr --output $LVDS --auto --rotate normal \ + --output $VGA --auto --rotate normal \ + --right-of $LVDS + ;; + "dualCV") xrandr --output $LVDS --auto --rotate normal \ --output $VGA --auto --rotate left --right-of $LVDS ;; diff --git a/bash/.bashrc b/bash/.bashrc index 9661786..0cf7b3d 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -153,7 +153,7 @@ alias suspend='$OCTOPUS suspend' alias mfilms='cd /dev/shm && mkdir films && sshfs frank@vi-di.fr:/media/ films/' alias muni='cd /dev/shm && mkdir uni && sshfs villaro0@pc69240:/user/l1/2011/villaro0/ uni/' -alias mise990='cd /dev/shm && mkdir F_ise990 && sshfs frank@ise990:/home/frank F_ise990' +alias mlakes='cd /dev/shm && mkdir lakes && sshfs frank@lilakes:/home/frank lakes' alias upgrub='sudo grub-mkconfig -o /boot/grub/grub.cfg' diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..960ae14 --- /dev/null +++ b/install.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +for package in git vim bash; do + stow -t $HOME $package +done diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index f61363a..cb33f3e 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -22,25 +22,6 @@ set my_frank_imap_pass=`~/.mutt/unlock-pass.sh frank_imap` ###source "~/.mutt/unlock-pass.sh |" - -#set from = "Frank Villaro-Dixon " -#set realname = "Frank Villaro-Dixon" -#set smtp_url = "smtp://frank_mail@villaro-dixon.eu:587/" -#set hostname = villaro-dixon.eu -# -#set imap_user = "frank_mail" -#set folder = "imaps://villaro-dixon.eu:993" -## Keep IMAP connection alive by polling intermittently (time in seconds). -#set imap_keepalive = 300 -#set spoolfile = "+INBOX" -#mailboxes =INBOX =UNIGE =SPAM =BITFLIP -##Bien ajouter le "+" devant !!! -#set postponed = "+Drafts" -## Where to save sent messages ? -#set record = "+Sent" - - - ##Passwords: ####source "gpg -d ~/.mutt/passwords.gpg |" #source "~/.mutt/unlock-pass.sh |" @@ -133,3 +114,11 @@ macro index \cx ":set autoedit=no mime_forward=yes editor=\"/bin/true\"\nsubmit.zxDB3O8TzLOF2Khd@spam.spamcop.net\n:set autoedit=yes mime_forward=no editor=\"/usr/bin/editor\"\n" \ "Forward mail to SpamCop" + + +folder-hook . 'push ""' +folder-hook . 'push ":set collapse\_unread=no"' + +macro index \R '' 'Mark the current thread as read' +macro index '{' ':set my_oldcollapse_unread=$collapse_unread:set collapse_unread=yes:set collapse_unread=$my_oldcollapse_unread' 'Collapse thread.' +macro index '}' '{' '(Un)collapse thread.' diff --git a/vim/.vim/spell/en.utf-8.add b/vim/.vim/spell/en.utf-8.add index 2fef691..0f45fdd 100644 --- a/vim/.vim/spell/en.utf-8.add +++ b/vim/.vim/spell/en.utf-8.add @@ -87,3 +87,10 @@ renouvable/! vous/! dict vous +Ewen +Pelton +Tera +Thinkpad +Aurelia +Victorinox +kevlar diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index 6e579f6..a469dfb 100644 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -197,6 +197,10 @@ iabbr env. environnement iabbr envale environnementale iabbr enval environnemental +abbr hte the +abbr the the + + if bufwinnr(1) map + >