From 6c6e1b5d8c2278a9bd75987cf7db73348b91b855 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Sat, 14 Feb 2015 17:38:18 +0100 Subject: [PATCH] update --- .Xresources | 3 ++- .mutt/muttrc | 9 +++++++++ .vimrc | 13 +++++++++---- i3/config | 7 +++++-- 4 files changed, 25 insertions(+), 7 deletions(-) diff --git a/.Xresources b/.Xresources index 83bb4ef..468a3bd 100644 --- a/.Xresources +++ b/.Xresources @@ -23,7 +23,7 @@ URxvt.color12: #729FCF URxvt.color13: #AD7FA8 URxvt.color14: #fcaf3e URxvt.color15: #EEEEEC -URxvt.fading: 25 +URxvt.fading: 10 URxvt.font: xft:DejaVu Sans Mono:style=Book:pixelsize=12 URxvt.boldFont: xft:DejaVu Sans Mono:style=Bold:pixelsize=12 URxvt.italicFont: xft:DejaVu Sans Mono:style=Oblique:pixelsize=12 @@ -46,3 +46,4 @@ URxvt.keysym.C-Left: perl:font-size:reset gv.watchFile: 1 gv.saveposFilename: ~/.cache/gv.savepos +gv.style: gv_spartan.dat diff --git a/.mutt/muttrc b/.mutt/muttrc index 4700963..a9d9945 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -29,6 +29,15 @@ macro index,pager \Ct "\ ~C i3-discuss@i3.zekjur.net=i3\ " "Clean up mailing lists" +# Key bindings +bind index gg first-entry +bind index G last-entry +bind pager k previous-line +bind pager j next-line +bind pager gg top +bind pager G bottom +bind pager R group-reply + # Misc options set timeout=2 set mail_check=0 diff --git a/.vimrc b/.vimrc index b2e722e..2c17b65 100644 --- a/.vimrc +++ b/.vimrc @@ -1,11 +1,14 @@ +" Package manager execute pathogen#infect() -syntax enable -filetype indent plugin on +" Automaticly source some files after writing autocmd! bufwritepost .vimrc source % autocmd! bufwritepost .bashrc !source % autocmd! bufwritepost .Xresources !xrdb -merge % +" Some general options +syntax enable +filetype indent plugin on set encoding=utf-8 set history=1000 set number @@ -18,25 +21,27 @@ set novisualbell set nobackup set nowb set noswapfile -set shiftwidth=2 -set tabstop=2 set cc=80 set textwidth=79 +" Custom split switching using tab map l l map h h map j j map k k +" Center the search results nnoremap n nzzzv nnoremap N Nzzzv +" Unbind arrow keys, who has them anyways on the keyboard... for prefix in ['i', 'n', 'v'] for key in ['', '', ''] exe prefix . "noremap " . key . " " endfor endfor +" GPG options let g:GPGPreferArmor=1 let g:GPGPreferSign=1 diff --git a/i3/config b/i3/config index d735a1e..d8297cc 100644 --- a/i3/config +++ b/i3/config @@ -12,9 +12,9 @@ set $mod Mod4 exec setxkbmap -layout dvorak,ru -variant ,phonetic_dvorak -option compose:ralt -option grp:menu_toggle -exec xautolock -locker 'i3lock -c 000000' +exec xautolock -locker 'i3lock -c ccff00' exec convert -size 1600x900 plasma:fractal -colorspace Gray -modulate 20,100,10 png:- | display -window root -exec /home/mart/projects/netctltray/netctl-tray.py +exec netctltray bindsym XF86AudioLowerVolume exec amixer set Master 5- bindsym XF86AudioRaiseVolume exec amixer set Master 5+ @@ -38,6 +38,9 @@ floating_modifier $mod # start a terminal bindsym $mod+Return exec i3-sensible-terminal +# start a browser +bindsym $mod+b exec uzbl-browser + # lock the screen bindsym $mod+l exec xautolock -locknow -- 2.20.1