From fd53f512efa87652a19c71b23e43ce111a18d7d5 Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Fri, 1 Nov 2013 16:45:53 +0100 Subject: [PATCH] various things --- Utils/octopus.sh | 1 + mutt/muttrc | 2 +- vim/vimrc | 7 ++++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Utils/octopus.sh b/Utils/octopus.sh index fb11bf0..134e321 100755 --- a/Utils/octopus.sh +++ b/Utils/octopus.sh @@ -63,6 +63,7 @@ case $1 in BATT_TIME=$(acpi -b | cut -d, -f3 | cut -d" " -f2) #BATT=$( acpi -b | sed 's/.*[charg.|], \([0-9]*\)%.*/\1/gi' ) VOLUME=`amixer get Master | tail -n 2 | head -n 1 | cut -d' ' -f7` +## VOLUME=`amixer get Master | grep '\[' | cut -d' ' -f6` MEMFREE=`awk '/MemFree/ {printf( "%.0f", $2 / 1024 )}' /proc/meminfo` MEMCACHED=`awk '/Cached/ {printf( "%.0f", $2 / 10240 )}' /proc/meminfo` diff --git a/mutt/muttrc b/mutt/muttrc index 61bd675..bf2f8c3 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -93,7 +93,7 @@ auto_view text/html bind editor ^T complete bind editor noop -set pager_stop="yes" +set pager_stop # Gmail-style keyboard shortcuts #macro index,pager y "unset trash\n " "Gmail archive message" diff --git a/vim/vimrc b/vim/vimrc index 59d90b7..d0e38df 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -21,7 +21,7 @@ set number set ts=8 "Un tab, huit espaces set noexpandtab "On veut pas remplacer tab -> espace set wrap "Une grande ligne continue à la ligne -set mouse=a +"set mouse=a set hlsearch "On souligne les mots cherchés set incsearch "recherche peu à peu @@ -154,3 +154,8 @@ if bufwinnr(1) map + > map - < endif + + +"vimdiff +set diffopt+=iwhite +