dotfiles

configuration files for different softwares
git clone git://z3bra.org/dotfiles
Log | Files | Refs

commit 5eaf67350317ecb1385ec9fa8d248010569308f7
parent 84188a01ff87ae7ec06c4759c3cb74dd03327ccf
Author: z3bra <willy@mailoo.org>
Date:   Tue Nov  4 13:59:20 2014

Merge branch 'master' of z3bra.org:dotfiles

Diffstat:
 bashrc      | 2 +-
 mutt/muttrc | 4 ++++
 vimrc       | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/bashrc b/bashrc @@ -47,7 +47,7 @@ musage() { mem_total=$(free -m |sed -n '2p'| awk '{print $2}') mem_used=$(free -m |sed -n '3p'|awk '{print $3}') - echo "$((${mem_total} / ${mem_used}))%" + echo "$((100 * ${mem_used} / ${mem_total}))%" } cusage() { diff --git a/mutt/muttrc b/mutt/muttrc @@ -49,13 +49,17 @@ mailboxes +INBOX \ +--[maillist]-----------------------\ +crux \ +vim-fr \ + +--[robots]-------------------------\ + +backups \ +--[folders]------------------------\ +dev \ +jobs \ +help \ +blog \ +isfen \ + +events \ +stuffs \ + +friends \ +accounts \ +paperwork \ +purchase \ diff --git a/vimrc b/vimrc @@ -77,7 +77,7 @@ vnoremap < <gv vnoremap <C-a> :call Incr()<CR> inoremap <Tab> <C-R>=CleverTab()<CR> -nnoremap <leader>d :cd %:p:h<CR>:pwd<CR> +nnoremap <leader>g :cd %:p:h<CR>:pwd<CR> nnoremap <leader>h :find %:t:s,.c,.ga,:s,.h,.c,:s,.ga,.h,<CR> map <leader>w :let &textwidth = &tw == 0 ? 80 : 0<CR>:set tw<CR> nmap <leader>c :call ToggleCCompiler()<CR>