bash things & vim

This commit is contained in:
Frank Villaro-Dixon 2013-10-14 11:22:08 +02:00
parent 6b118dc8f7
commit a61e1aefc9
9 changed files with 34 additions and 7 deletions

View file

@ -88,10 +88,25 @@ case $1 in
else else
$0 monitor extern $0 monitor extern
fi fi
$0 init-wifi
$0 init-mouse
$0 wallpaper $0 wallpaper
;; ;;
"init-mouse")
sudo tpkbdctl -s255
;;
"init-wifi")
sudo wpa_supplicant -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf &
sudo dhcpcd wlan0 &
;;
"init-ethernet")
sudo ifconfig eth0 up &
sudo dhcpcd eth0 &
;;
"suspend") "suspend")
systemctl suspend systemctl suspend
xlock -mode blank xlock -mode blank

2
bashrc
View file

@ -154,7 +154,7 @@ alias op='xdg-open'
alias o='octave' alias o='octave'
alias cdu='cdu -idh' alias cdu='cdu -idh'
alias dus='du -sh * | sort -h' alias dus='du -sh * | sort -h'
alias im='dtach -A /dev/shm/im profanity' alias im='profanity'
# }}} # }}}

View file

@ -1,4 +1,4 @@
set from="Association des Etudiants en Informatique <aei@unige.ch>" set from="aei-cui@unige.ch"
set realname="Association des Etudiants en Informatique" set realname="Association des Etudiants en Informatique"
set hostname="unige.ch" set hostname="unige.ch"
@ -6,10 +6,14 @@ set folder="imaps://aei@outlook.unige.ch:993/"
#set imap_user="aei" #set imap_user="aei"
set postponed="+Drafts" set postponed="+Drafts"
set spoolfile="+INBOX" set spoolfile="+INBOX"
set record = "+Sent" #set record = "+Sent"
set record = "+Éléments envoyés"
set signature="~/.mutt/signature.aei" set signature="~/.mutt/signature.aei"
set smtp_url="smtp://aei@outlook.unige.ch:587" set smtp_url="smtp://aei@outlook.unige.ch:587"
my_hdr X-URL: http://aei.unige.ch
my_hdr X-Sender: Frank
set smtp_pass=$my_aei_stmp_pass set smtp_pass=$my_aei_stmp_pass
set imap_pass=$my_aei_imap_pass set imap_pass=$my_aei_imap_pass

View file

@ -10,6 +10,8 @@ set record = "+Sent"
set signature="~/.signature" set signature="~/.signature"
set smtp_url="smtp://frank_mail@villaro-dixon.eu:587" set smtp_url="smtp://frank_mail@villaro-dixon.eu:587"
my_hdr X-URL: http://frank.villaro-dixon.eu
set smtp_pass = $my_frank_smtp_pass set smtp_pass = $my_frank_smtp_pass
set imap_pass = $my_frank_imap_pass set imap_pass = $my_frank_imap_pass

View file

@ -86,7 +86,6 @@ set text_flowed
ignore "Authentication-Results:" ignore "Authentication-Results:"
ignore "DomainKey-Signature:" ignore "DomainKey-Signature:"
ignore "DKIM-Signature:" ignore "DKIM-Signature:"
my_hdr X-URL: http://frank.villaro-dixon.eu
hdr_order Date From To Cc hdr_order Date From To Cc
alternative_order text/plain text/html * alternative_order text/plain text/html *
auto_view text/html auto_view text/html

1
vim/spell/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.spl

View file

@ -5,3 +5,4 @@ UTC
init init
i i
printf printf
connectique

Binary file not shown.

View file

@ -32,7 +32,8 @@ set foldmethod=marker
set cul "souligner la ligne actuelle set cul "souligner la ligne actuelle
set cursorline set cursorline
hi CursorLine term=bold cterm=bold guibg=Grey40 hi CursorLine term=bold cterm=bold
"ctermbg=lightblack
set showcmd "on affiche la commande qu'on écrit set showcmd "on affiche la commande qu'on écrit
set laststatus=2 set laststatus=2
@ -71,10 +72,14 @@ map <S-Tab> <C-w>W
set list set list
set listchars=tab:\|\-"Cool for ifs/whiles set listchars=tab:\|\-"Cool for ifs/whiles
"set listchars=tab:\|\ "Cool for ifs/whiles
set listchars+=trail"For eol with spaces set listchars+=trail"For eol with spaces
set listchars+=eol:↲ "To show eol;not very useful with trail, but cool anyway :p "set listchars+=eol:↲ "To show eol;not very useful with trail, but cool anyway :p
set listchars+=nbsp:⍽ "For unbreakeable spaces set listchars+=nbsp:⍽ "For unbreakeable spaces
highlight NonText ctermfg=8 guifg=gray "EOL
highlight SpecialKey ctermfg=grey
set history=500 set history=500
set undolevels=500 set undolevels=500