random things

This commit is contained in:
Frank Villaro-Dixon 2014-10-20 22:51:11 +02:00
parent d497b69791
commit 97573f4dd5
6 changed files with 10 additions and 8 deletions

3
bashrc
View file

@ -1,6 +1,8 @@
shopt -s checkwinsize #Pour pas s'écrire dessus
shopt -s histappend
shopt -s autocd #No more cd xx
shopt -s cdspell #drain bramage
shopt -s dirspell
##shopt -s autocd #Like zsh
PROMPT_COMMAND='history -a'
@ -114,6 +116,7 @@ alias bim='vim'
alias vi='vim'
alias VIM='vim'
alias ivm='vim'
alias vmi='vim'
alias gl='git log --graph --abbrev-commit --pretty=oneline --decorate'
alias gitst='git status'

View file

@ -117,7 +117,7 @@ static Key keys[] = {
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} }, /* ratio droite/gauche */
{ MODKEY, XK_m, setmfact, {.f = +0.05} }, /* idem */
{ MODKEY, XK_l, setmfact, {.f = +0.05} }, /* idem */
{ MODKEY, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
{ MODKEY|ShiftMask, XK_c, killclient, {0} },

View file

@ -1,5 +1,6 @@
#set editing-mode vi
#set keymap vi
set completion-ignore-case on
set show-all-if-ambiguous on
#set completion-map-case on
#set show-all-if-ambiguous on
set colored-stats on

View file

@ -125,9 +125,4 @@ set index_format="%2C | %Z [%d] %-30.30F (%-4.4c) %s"
set sleep_time=0
#set mime_forward=yes
#set mime_forward_rest=yes
#
#
#
macro attach 'V' "<pipe-entry>cat > /dev/shm/mail.html && firefox /dev/shm/mail.html && rm /dev/shm/mail.html<enter>"

View file

@ -180,6 +180,8 @@ autocmd BufNewFile,BufRead *.m set ts=4 sw=4 keywordprg=~/.vim/scripts/doc.octav
vmap ,w :<C-U>!firefox "http://fr.wikipedia.org/wiki/<cword>" >& /dev/null<CR><CR>
vmap ,W :<C-U>!firefox "http://en.wikipedia.org/wiki/<cword>" >& /dev/null<CR><CR>
vmap ,c :<C-U>!firefox "http://www.leconjugueur.com/php5/index.php?v=<cword>" >& /dev/null<CR><CR>
vmap ,d :<C-U>!firefox "http://fr.wiktionary.org/wiki/<cword>" >& /dev/null<CR><CR>
vmap ,D :<C-U>!firefox "http://en.wiktionary.org/wiki/<cword>" >& /dev/null<CR><CR>
"JAVA
iabbr syso System.out.println
@ -207,5 +209,6 @@ noremap! <Left> <Esc>
noremap <Right> ""
noremap! <Right> <Esc>
noremap A<Enter> iSale Con <Esc>
"Languagetool - :LanguageToolCheck

View file

@ -61,7 +61,7 @@ mpc random on
#ssh-agent -t 10 /home/frank/Programmation/dotfiles/dwm/dwm
/home/frank/Programmation/dotfiles/dwm/dwm
bash
# exec gnome-session