changeset: 26:9a1ab2f8c0c4
tag: tip
user: Anselm R Garbe <garbeam_AT_gmail.com>
date: Thu Sep 10 08:03:22 2009 +0100
files: ambientblue/Xdefaults ambientblue/config.h ambientblue/molokai.vim ambientblue/screenrc ambientblue/vimrc
description:
added new style based on thayerw's work
diff -r 513faba2591f -r 9a1ab2f8c0c4 ambientblue/Xdefaults
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ambientblue/Xdefaults Thu Sep 10 08:03:22 2009 +0100
@@ -0,0 +1,186 @@
+! ----------------------------------------------------------------------------
+! file: ~/.Xdefaults
+! author: Thayer Williams - http://cinderwick.ca
+! modified: November 7, 2008
+! vim:enc=utf-8:nu:ai:si:et:ts=4:sw=4:ft=xdefaults:
+! ----------------------------------------------------------------------------
+
+! Xcursor --------------------------------------------------------------------
+
+Xcursor*theme: Vanilla-DMZ-AA
+Xcursor.size: 22
+
+
+! terminal colors ------------------------------------------------------------
+
+! tangoesque scheme
+*background: #222222
+*foreground: #aaaaaa
+! Black
+*color0: #000000
+*color8: #555753
+! Red
+*color1: #ff6565
+*color9: #ff8d8d
+! Green
+*color2: #93d44f
+*color10: #c8e7a8
+! Yellow
+*color3: #eab93d
+*color11: #ffc123
+! Blue
+*color4: #204a87
+*color12: #3465a4
+! Mangenta
+*color5: #ce5c00
+*color13: #f57900
+! Cyan
+*color6: #89b6e2
+*color14: #46a4ff
+! White
+*color7: #cccccc
+*color15: #ffffff
+
+
+
+! rxvt-unicode ---------------------------------------------------------------
+
+!for antialiased fonts (using Xft)
+!urxvt*font: xft:Envy Code R:pixelsize=13
+!urxvt*font: xft:dejavu sans mono:pixelsize=14
+!urxvt*boldFont: xft:dejavu sans mono:pixelsize=14
+!urxvt*font: xft:Pragmata:pixelsize=13
+!urxvt*boldFont: xft:Pragmata:pixelsize=13
+
+!for normal X11 fonts:
+urxvt*font: -*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*
+urxvt*boldFont: -*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*
+!urxvt*font: -*-dina-medium-r-*-*-16-*-*-*-*-*-*-*
+!urxvt*boldFont: -*-dina-medium-r-*-*-16-*-*-*-*-*-*-*
+!urxvt*font: -*-proggyclean-*-*-*-*-*-*-*-*-*-*-*-*
+!urxvt*boldFont: -*-proggyclean-*-*-*-*-*-*-*-*-*-*-*-*
+!urxvt*font: -*-proggysquaresz-*-*-*-*-*-*-*-*-*-*-*-*
+!urxvt*boldFont: -*-proggysquaresz-*-*-*-*-*-*-*-*-*-*-*-*
+
+urxvt*geometry: 160x50
+urxvt*internalBorder: 5
+urxvt*fading: 20
+urxvt*shading: 80
+urxvt*tintColor: #222222
+urxvt*inheritPixmap: false
+urxvt*depth: 24
+!urxvt*depth: 32
+urxvt*saveLines: 32767
+urxvt*visualBell: true
+urxvt*scrollTtyKeypress: true
+urxvt*scrollWithBuffer: false
+urxvt*scrollTtyOutput: false
+urxvt*scrollBar: false
+urxvt*scrollstyle: plain
+urxvt*scrollBar_right: true
+urxvt*scrollColor: #777777
+urxvt*cursorColor: #ffcc00
+urxvt*loginShell: true
+urxvt*termName: rxvt
+urxvt*cutchars: "()*,<>[]{}|'
+urxvt*print-pipe: cat > $(echo urxvt.dump.`date +'%Y%M%d%H%m%S'`)
+urxvt*secondaryScroll: true
+urxvt*mapAlert: true
+urxvt*utmpInhibit: true
+urxvt*perl-lib: /usr/lib/urxvt/perl/
+urxvt*perl-ext-common: default,matcher
+urxvt*urlLauncher: /usr/bin/firefox
+urxvt*matcher.button: 1
+urxvt*background: #191919
+!urxvt*background: rgba:2222/2222/2222/dddd
+!urxvt*background: rgba:0000/0000/0000/dddd
+
+
+! xterm ----------------------------------------------------------------------
+
+xterm*geometry: 80x25
+xterm*faceName: terminus:pixelsize=10
+xterm*dynamicColors: true
+xterm*utf8: 2
+xterm*eightBitInput: true
+xterm*saveLines: 32767
+xterm*scrollTtyKeypress: true
+xterm*scrollTtyOutput: false
+xterm*scrollBar: true
+xterm*loginShell: true
+xterm*jumpScroll: false
+xterm*multiScroll: true
+xterm*toolBar: true
+
+
+! lal clock ------------------------------------------------------------------
+
+lal*font: Arial
+lal*fontsize: 12
+lal*bold: true
+lal*color: #ffffff
+lal*width: 150
+lal*format: %a %b %d %l:%M%P
+
+
+! xclock ---------------------------------------------------------------------
+
+xclock*analog: false
+xclock*update: 1 ! update every 1 sec
+xclock*Foreground: white
+xclock*background: black
+
+
+! xpdf -----------------------------------------------------------------------
+
+xpdf*enableFreetype: yes
+xpdf*antialias: yes
+xpdf*foreground: black
+xpdf*background: white
+xpdf*urlCommand: /usr/bin/firefox %s
+xpdf*viKeys: on
+
+! x11-ssh-askpass ------------------------------------------------------------
+
+
+x11-ssh-askpass*font: -*-nu-*-*-*-*-*-*-*-*-*-*-*-*
+x11-ssh-askpass*background: #000000
+x11-ssh-askpass*foreground: #ffffff
+x11-ssh-askpass.Button*background: #000000
+x11-ssh-askpass.Indicator*foreground: #ff9900
+x11-ssh-askpass.Indicator*background: #090909
+x11-ssh-askpass*topShadowColor: #000000
+x11-ssh-askpass*bottomShadowColor: #000000
+x11-ssh-askpass.*borderWidth: 1
+
+
+! xscreensaver ---------------------------------------------------------------
+
+!font settings
+xscreensaver.Dialog.headingFont: -*-fixed-bold-r-*-*-*-100-*-*-*-*-iso8859-1
+xscreensaver.Dialog.bodyFont: -*-fixed-medium-r-*-*-*-120-*-*-*-*-iso8859-1
+xscreensaver.Dialog.labelFont: -*-fixed-medium-r-*-*-*-120-*-*-*-*-iso8859-1
+xscreensaver.Dialog.unameFont: -*-fixed-medium-r-*-*-*-120-*-*-*-*-iso8859-1
+xscreensaver.Dialog.buttonFont: -*-fixed-bold-r-*-*-*-120-*-*-*-*-iso8859-1
+xscreensaver.Dialog.dateFont: -*-fixed-medium-r-*-*-*-100-*-*-*-*-iso8859-1
+xscreensaver.passwd.passwdFont: -*-fixed-bold-r-*-*-*-100-*-*-*-*-iso8859-1
+!general dialog box (affects main hostname, username, password text)
+xscreensaver.Dialog.foreground: #ffffff
+xscreensaver.Dialog.background: #111111
+xscreensaver.Dialog.topShadowColor: #111111
+xscreensaver.Dialog.bottomShadowColor: #111111
+xscreensaver.Dialog.Button.foreground: #666666
+xscreensaver.Dialog.Button.background: #ffffff
+!username/password input box and date text colour
+xscreensaver.Dialog.text.foreground: #666666
+xscreensaver.Dialog.text.background: #ffffff
+xscreensaver.Dialog.internalBorderWidth:24
+xscreensaver.Dialog.borderWidth: 20
+xscreensaver.Dialog.shadowThickness: 2
+!timeout bar (background is actually determined by Dialog.text.background)
+xscreensaver.passwd.thermometer.foreground: #ff0000
+xscreensaver.passwd.thermometer.background: #000000
+xscreensaver.passwd.thermometer.width: 8
+!datestamp format--see the strftime(3) manual page for details
+xscreensaver.dateFormat: %I:%M%P %a %b %d, %Y
+
diff -r 513faba2591f -r 9a1ab2f8c0c4 ambientblue/config.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ambientblue/config.h Thu Sep 10 08:03:22 2009 +0100
@@ -0,0 +1,103 @@
+/* See LICENSE file for copyright and license details. */
+
+/* appearance */
+static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*";
+static const char normbordercolor[] = "#333333";
+static const char normbgcolor[] = "#101010";
+static const char normfgcolor[] = "#999999";
+static const char selbordercolor[] = "#224488";
+static const char selbgcolor[] = "#224488";
+static const char selfgcolor[] = "#ffffff";
+static const unsigned int borderpx = 1; /* border pixel of windows */
+static const unsigned int snap = 32; /* snap pixel */
+static const Bool showbar = True; /* False means no bar */
+static const Bool topbar = True; /* False means bottom bar */
+
+/* tagging */
+static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+
+static const Rule rules[] = {
+ /* class instance title tags mask isfloating monitor */
+ { "Gimp", NULL, NULL, 0, True, -1 },
+ { "Firefox", NULL, NULL, 1 << 8, False, -1 },
+};
+
+/* layout(s) */
+static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
+static const Bool resizehints = False; /* False means respect size hints in tiled resizals */
+
+static const Layout layouts[] = {
+ /* symbol arrange function */
+ { "[]=", tile }, /* first entry is default */
+ { "><>", NULL }, /* no layout function means floating behavior */
+ { "[M]", monocle },
+};
+
+/* key definitions */
+#define MODKEY Mod1Mask
+#define TAGKEYS(KEY,TAG) \
+ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
+ { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
+ { MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
+
+/* helper for spawning shell commands in the pre dwm-5.0 fashion */
+#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
+
+/* commands */
+static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
+static const char *termcmd[] = { "urxvt", NULL };
+
+static Key keys[] = {
+ /* modifier key function argument */
+ { MODKEY, XK_p, spawn, {.v = dmenucmd } },
+ { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
+ { MODKEY, XK_b, togglebar, {0} },
+ { MODKEY, XK_j, focusstack, {.i = +1 } },
+ { MODKEY, XK_k, focusstack, {.i = -1 } },
+ { MODKEY, XK_h, setmfact, {.f = -0.05} },
+ { MODKEY, XK_l, setmfact, {.f = +0.05} },
+ { MODKEY, XK_Return, zoom, {0} },
+ { MODKEY, XK_Tab, view, {0} },
+ { MODKEY|ShiftMask, XK_c, killclient, {0} },
+ { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
+ { MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
+ { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
+ { MODKEY, XK_space, setlayout, {0} },
+ { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
+ { MODKEY, XK_0, view, {.ui = ~0 } },
+ { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
+ { MODKEY, XK_comma, focusmon, {.i = -1 } },
+ { MODKEY, XK_period, focusmon, {.i = +1 } },
+ { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
+ { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+ TAGKEYS( XK_1, 0)
+ TAGKEYS( XK_2, 1)
+ TAGKEYS( XK_3, 2)
+ TAGKEYS( XK_4, 3)
+ TAGKEYS( XK_5, 4)
+ TAGKEYS( XK_6, 5)
+ TAGKEYS( XK_7, 6)
+ TAGKEYS( XK_8, 7)
+ TAGKEYS( XK_9, 8)
+ { MODKEY|ShiftMask, XK_q, quit, {0} },
+};
+
+/* button definitions */
+/* click can be a tag number (starting at 0),
+ * ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
+static Button buttons[] = {
+ /* click event mask button function argument */
+ { ClkLtSymbol, 0, Button1, setlayout, {0} },
+ { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
+ { ClkWinTitle, 0, Button2, zoom, {0} },
+ { ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
+ { ClkClientWin, MODKEY, Button1, movemouse, {0} },
+ { ClkClientWin, MODKEY, Button2, togglefloating, {0} },
+ { ClkClientWin, MODKEY, Button3, resizemouse, {0} },
+ { ClkTagBar, 0, Button1, view, {0} },
+ { ClkTagBar, 0, Button3, toggleview, {0} },
+ { ClkTagBar, MODKEY, Button1, tag, {0} },
+ { ClkTagBar, MODKEY, Button3, toggletag, {0} },
+};
+
diff -r 513faba2591f -r 9a1ab2f8c0c4 ambientblue/molokai.vim
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ambientblue/molokai.vim Thu Sep 10 08:03:22 2009 +0100
@@ -0,0 +1,211 @@
+" Vim color file
+"
+" Author: Tomas Restrepo <tomas_AT_winterdom.com>
+"
+" Note: Based on the monokai theme for textmate
+" by Wimer Hazenberg and its darker variant
+" by Hamish Stuart Macpherson
+"
+
+hi clear
+
+set background=dark
+if version > 580
+ " no guarantees for version 5.8 and below, but this makes it stop
+ " complaining
+ hi clear
+ if exists("syntax_on")
+ syntax reset
+ endif
+endif
+let g:colors_name="molokai"
+
+if exists("g:molokai_original")
+ let s:molokai_original = g:molokai_original
+else
+ let s:molokai_original = 0
+endif
+
+
+hi Boolean guifg=#AE81FF
+hi Character guifg=#E6DB74
+hi Number guifg=#AE81FF
+hi String guifg=#E6DB74
+hi Conditional guifg=#F92672 gui=bold
+hi Constant guifg=#AE81FF gui=bold
+hi Cursor guifg=#000000 guibg=#F8F8F0
+hi Debug guifg=#BCA3A3 gui=bold
+hi Define guifg=#66D9EF
+hi Delimiter guifg=#8F8F8F
+hi DiffAdd guibg=#13354A
+hi DiffChange guifg=#89807D guibg=#4C4745
+hi DiffDelete guifg=#960050 guibg=#1E0010
+hi DiffText guibg=#4C4745 gui=italic,bold
+
+hi Directory guifg=#A6E22E gui=bold
+hi Error guifg=#960050 guibg=#1E0010
+hi ErrorMsg guifg=#F92672 guibg=#232526 gui=bold
+hi Exception guifg=#A6E22E gui=bold
+hi Float guifg=#AE81FF
+hi FoldColumn guifg=#465457 guibg=#000000
+hi Folded guifg=#465457 guibg=#000000
+hi Function guifg=#A6E22E
+hi Identifier guifg=#FD971F
+hi Ignore guifg=#808080 guibg=bg
+hi IncSearch guifg=#C4BE89 guibg=#000000
+
+hi Keyword guifg=#F92672 gui=bold
+hi Label guifg=#E6DB74 gui=none
+hi Macro guifg=#C4BE89 gui=italic
+hi SpecialKey guifg=#66D9EF gui=italic
+
+hi MatchParen guifg=#000000 guibg=#FD971F gui=bold
+hi ModeMsg guifg=#E6DB74
+hi MoreMsg guifg=#E6DB74
+hi Operator guifg=#F92672
+
+" complete menu
+hi Pmenu guifg=#66D9EF guibg=#000000
+hi PmenuSel guibg=#808080
+hi PmenuSbar guibg=#080808
+hi PmenuThumb guifg=#66D9EF
+
+hi PreCondit guifg=#A6E22E gui=bold
+hi PreProc guifg=#A6E22E
+hi Question guifg=#66D9EF
+hi Repeat guifg=#F92672 gui=bold
+hi Search guifg=#FFFFFF guibg=#455354
+" marks column
+hi SignColumn guifg=#A6E22E guibg=#232526
+hi SpecialChar guifg=#F92672 gui=bold
+hi SpecialComment guifg=#465457 gui=bold
+hi Special guifg=#66D9EF guibg=bg gui=italic
+hi SpecialKey guifg=#888A85 gui=italic
+if has("spell")
+ hi SpellBad guisp=#FF0000 gui=undercurl
+ hi SpellCap guisp=#7070F0 gui=undercurl
+ hi SpellLocal guisp=#70F0F0 gui=undercurl
+ hi SpellRare guisp=#FFFFFF gui=undercurl
+endif
+hi Statement guifg=#F92672 gui=bold
+hi StatusLine guifg=#455354 guibg=fg
+hi StatusLineNC guifg=#808080 guibg=#080808
+hi StorageClass guifg=#FD971F gui=italic
+hi Structure guifg=#66D9EF
+hi Tag guifg=#F92672 gui=italic
+hi Title guifg=#ef5939
+hi Todo guifg=#FFFFFF guibg=bg gui=bold
+
+hi Typedef guifg=#66D9EF
+hi Type guifg=#66D9EF gui=none
+hi Underlined guifg=#808080 gui=underline
+
+hi VertSplit guifg=#808080 guibg=#080808 gui=bold
+hi VisualNOS guibg=#403D3D
+hi Visual guibg=#403D3D
+hi WarningMsg guifg=#FFFFFF guibg=#333333 gui=bold
+hi WildMenu guifg=#66D9EF guibg=#000000
+
+if s:molokai_original == 1
+ hi Normal guifg=#F8F8F2 guibg=#272822
+ hi Comment guifg=#75715E
+ hi CursorLine guibg=#3E3D32
+ hi CursorColumn guibg=#3E3D32
+ hi LineNr guifg=#BCBCBC guibg=#3B3A32
+ hi NonText guifg=#BCBCBC guibg=#3B3A32
+else
+ hi Normal guifg=#F8F8F2 guibg=#1B1D1E
+ hi Comment guifg=#465457
+ hi CursorLine guibg=#293739
+ hi CursorColumn guibg=#293739
+ hi LineNr guifg=#BCBCBC guibg=#232526
+ hi NonText guifg=#BCBCBC guibg=#232526
+end
+
+"
+" Support for 256-color terminal
+"
+if &t_Co > 255
+ hi Boolean ctermfg=135
+ hi Character ctermfg=144
+ hi Number ctermfg=135
+ hi String ctermfg=144
+ hi Conditional ctermfg=161 cterm=bold
+ hi Constant ctermfg=135 cterm=bold
+ hi Cursor ctermfg=16 ctermbg=253
+ hi Debug ctermfg=225 cterm=bold
+ hi Define ctermfg=81
+ hi Delimiter ctermfg=241
+
+ hi DiffAdd ctermbg=24
+ hi DiffChange ctermfg=181 ctermbg=239
+ hi DiffDelete ctermfg=162 ctermbg=53
+ hi DiffText ctermbg=102 cterm=bold
+
+ hi Directory ctermfg=118 cterm=bold
+ hi Error ctermfg=219 ctermbg=89
+ hi ErrorMsg ctermfg=199 ctermbg=16 cterm=bold
+ hi Exception ctermfg=118 cterm=bold
+ hi Float ctermfg=135
+ hi FoldColumn ctermfg=67 ctermbg=16
+ hi Folded ctermfg=67 ctermbg=16
+ hi Function ctermfg=118
+ hi Identifier ctermfg=208
+ hi Ignore ctermfg=244 ctermbg=232
+ hi IncSearch ctermfg=193 ctermbg=16
+
+ hi Keyword ctermfg=161 cterm=bold
+ hi Label ctermfg=229 cterm=none
+ hi Macro ctermfg=193
+ hi SpecialKey ctermfg=81
+
+ hi MatchParen ctermfg=16 ctermbg=208 cterm=bold
+ hi ModeMsg ctermfg=229
+ hi MoreMsg ctermfg=229
+ hi Operator ctermfg=161
+
+ " complete menu
+ hi Pmenu ctermfg=81 ctermbg=16
+ hi PmenuSel ctermbg=244
+ hi PmenuSbar ctermbg=232
+ hi PmenuThumb ctermfg=81
+
+ hi PreCondit ctermfg=118 cterm=bold
+ hi PreProc ctermfg=118
+ hi Question ctermfg=81
+ hi Repeat ctermfg=161 cterm=bold
+ hi Search ctermfg=253 ctermbg=66
+
+ " marks column
+ hi SignColumn ctermfg=118 ctermbg=235
+ hi SpecialChar ctermfg=161 cterm=bold
+ hi SpecialComment ctermfg=245 cterm=bold
+ hi Special ctermfg=81 ctermbg=232
+ hi SpecialKey ctermfg=245
+
+ hi Statement ctermfg=161 cterm=bold
+ hi StatusLine ctermfg=238 ctermbg=253
+ hi StatusLineNC ctermfg=244 ctermbg=232
+ hi StorageClass ctermfg=208
+ hi Structure ctermfg=81
+ hi Tag ctermfg=161
+ hi Title ctermfg=166
+ hi Todo ctermfg=231 ctermbg=232 cterm=bold
+
+ hi Typedef ctermfg=81
+ hi Type ctermfg=81 cterm=none
+ hi Underlined ctermfg=244 cterm=underline
+
+ hi VertSplit ctermfg=244 ctermbg=232 cterm=bold
+ hi VisualNOS ctermbg=238
+ hi Visual ctermbg=235
+ hi WarningMsg ctermfg=231 ctermbg=238 cterm=bold
+ hi WildMenu ctermfg=81 ctermbg=16
+
+ hi Normal ctermfg=252 ctermbg=233
+ hi Comment ctermfg=59
+ hi CursorLine ctermbg=234 cterm=none
+ hi CursorColumn ctermbg=234
+ hi LineNr ctermfg=250 ctermbg=234
+ hi NonText ctermfg=250 ctermbg=234
+end
diff -r 513faba2591f -r 9a1ab2f8c0c4 ambientblue/screenrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ambientblue/screenrc Thu Sep 10 08:03:22 2009 +0100
@@ -0,0 +1,82 @@
+# ----------------------------------------------------------------------
+# file: ~/.screenrc
+# author: Thayer Williams - http://cinderwick.ca
+# modified: July 28, 2008
+# vim:enc=utf-8:nu:ai:si:et:ts=4:sw=4:fdm=indent:fdn=1:ft=conf:
+# ----------------------------------------------------------------------
+
+# general --------------------------------------------------------------
+
+autodetach on # autodetach on disconnect/close
+startup_message off # disable intro msg
+defscrollback 10000 # default scrollback buffer
+vbell off # toggle visual bell
+vbell_msg "[[[ ding ]]]"
+bell "bell: %n (%t) [%w:%s]^G"
+activity "active: %n (%t) [%w:%s]"
+defutf8 on # UTF-8 char encoding
+defflow off # disable flow control
+nethack on # nethackish status messages
+altscreen on # restore window contents after a vi session
+
+# using backticks will likely screw up mouse scrolling because
+# mouse events often use backticks in their escape codes
+#escape `` # replace C- escape sequence
+#escape `e # double-tap backtick toggles screen windows
+
+bindkey -k k; quit # bind F10 to Screen's quit command
+
+# misc keybinds --------------------------------------------------------
+
+bindkey "^[Od" prev # change window with ctrl-left
+bindkey "^[Oc" next # change window with ctrl-right
+
+
+# Window numbering starts at 1 -----------------------------------------
+
+bind c screen 1
+bind 0 select 10
+
+
+# load some apps (last listed will be focused) -------------------------
+
+#screen -t htop 10 htop
+#screen -t torrents 9 rtorrent
+#screen -t music 8 ncmpc
+#screen -t shell 3
+#screen -t mutt 1 mutt
+#screen -t shell 2
+
+
+# statusbar ------------------------------------------------------------
+
+hardstatus on
+hardstatus alwayslastline
+hardstatus string '%{gk}[ %{G}%H %{g}][%= %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}][%{Y}%l%{g}]%{=b C}[ %m/%d %c ]%{W}'
+#hardstatus string '%{= mK}%-Lw%{= KW}%50>%n%f* %t%{= mK}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}'
+
+### from cactus
+#hardstatus string "%{+b Rk}(%{-b g}$LOGNAME@%H%{+b R}) (%{-b g}%C %a%{+b R}) %{-b g} %n %t %h"
+### more examples from the gentoo wiki
+#hardstatus string '%{= kG}%-Lw%{= kW}%50> %n%f* %t%{= kG}%+Lw%< %{= kG}%-=%c:%s%{-}'
+#hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
+### yet another example--from Dive Into Mark
+## window-list <nowplaying> <mm/dd/yy> <HH:MM>am/pm
+#caption always "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= %1` %m/%d/%y %C:%s%a"
+#caption always "%{=b dw}%{=b dw}[ %{-b dc}%h%{=b dw} ] [ %= %?%{-b dc}%-Lw%?%{+b dk}(%{+b dw}%n:%t%{+b dk})%?(%u)%?%{-b dw}%?%{-b dc}%+Lw%? %{=b dk}%{=b dw}] [%{-b dw} %1`%{=b dw} ]"
+
+#caption always "%{bk}%H%{gk}: screen%{gk} | %{rk}(system load: %l)%{gk} | %-21=%{gk}%D %Y.%m.%d %0c"
+# hardstatus alwayslastline "%{wr}%n%f %t %{kw} | %?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"
+#hardstatus alwayslastline "%?%-Lw%?%{wb}%n*%f %t%?(%u)%?%{kw}%?%+Lw%? %{wk}"
+
+
+# tips & tricks
+#
+# bind 'screen -c /dev/null' to open screen without using .screenrc prefs
+
+
+# experimental stuff ---------------------------------------------------
+
+#termcapinfo rxvt ti@:te@ # supposed to fix mouse scrolling issues (e.g. vim)
+
+
diff -r 513faba2591f -r 9a1ab2f8c0c4 ambientblue/vimrc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ambientblue/vimrc Thu Sep 10 08:03:22 2009 +0100
@@ -0,0 +1,15 @@
+" arg's vimrc, KISS
+set cindent
+set smartindent
+set hlsearch
+set noexpandtab
+set nobackup
+set ruler
+set listchars=tab:>-
+set list
+set backspace=indent,eol,start
+set number
+set spelllang=en_gb
+set nospell
+colo molokai
+syntax on
Received on Thu Sep 10 2009 - 07:03:30 UTC
This archive was generated by hypermail 2.2.0 : Thu Sep 10 2009 - 07:12:15 UTC