From 97573f4dd51adec6728153140f9175675f38313a Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Mon, 20 Oct 2014 22:51:11 +0200 Subject: [PATCH] random things --- bashrc | 3 +++ dwm/config.h | 2 +- inputrc | 3 ++- mutt/muttrc | 5 ----- vim/vimrc | 3 +++ xinitrc | 2 +- 6 files changed, 10 insertions(+), 8 deletions(-) diff --git a/bashrc b/bashrc index 90c23ca..fe555c1 100644 --- a/bashrc +++ b/bashrc @@ -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' diff --git a/dwm/config.h b/dwm/config.h index a24f233..40b0193 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -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} }, diff --git a/inputrc b/inputrc index e29669d..c086fbc 100644 --- a/inputrc +++ b/inputrc @@ -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 diff --git a/mutt/muttrc b/mutt/muttrc index 35a3cbb..365af02 100644 --- a/mutt/muttrc +++ b/mutt/muttrc @@ -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' "cat > /dev/shm/mail.html && firefox /dev/shm/mail.html && rm /dev/shm/mail.html" diff --git a/vim/vimrc b/vim/vimrc index ba08866..cb1b2f8 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -180,6 +180,8 @@ autocmd BufNewFile,BufRead *.m set ts=4 sw=4 keywordprg=~/.vim/scripts/doc.octav vmap ,w :!firefox "http://fr.wikipedia.org/wiki/" >& /dev/null vmap ,W :!firefox "http://en.wikipedia.org/wiki/" >& /dev/null vmap ,c :!firefox "http://www.leconjugueur.com/php5/index.php?v=" >& /dev/null +vmap ,d :!firefox "http://fr.wiktionary.org/wiki/" >& /dev/null +vmap ,D :!firefox "http://en.wiktionary.org/wiki/" >& /dev/null "JAVA iabbr syso System.out.println @@ -207,5 +209,6 @@ noremap! noremap "" noremap! +noremap A iSale Con "Languagetool - :LanguageToolCheck diff --git a/xinitrc b/xinitrc index ff22305..8c0d701 100644 --- a/xinitrc +++ b/xinitrc @@ -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