Browse code

random stuff

Signed-off-by: Tj Hariharan <Tj@archlinux.us>

Tj Hariharan authored on 20/Nov/2011 07:28
Showing 6 changed files
... ...
@@ -1,5 +1,5 @@
1 1
 #!/bin/bash
2
-
2
+cd /home/tharihar/media/pics/wallpapers
3 3
 RANGE=`ls -l | grep -c "-"`
4 4
 number=$RANDOM
5 5
 let "number %= $RANGE"
... ...
@@ -1,7 +1,6 @@
1 1
 !! ${XDG_CONFIG_DIR:-$HOME/.config}/xorg/Xdefaults
2 2
 !! author: milomouse <vincent[at]fea.st>
3 3
 !! update: 2010-12-28
4
-
5 4
 xterm*fackground: grey20
6 5
 xterm*boreground: white
7 6
 xterm*font: -misc-fixed-medium-r-semicondensed-*-12-110-75-75-c-60-koi8-r
... ...
@@ -39,11 +38,12 @@ Xcursor.theme: whiteglass
39 39
 Xcursor.size: 10
40 40
 !! #urxvt*transparent: true
41 41
 !! #urxvt*inheritPixmap: true
42
-
43
-URxvt.keysym.M-u: perl:mark-yank-urls:activate_mark_mode
42
+URxvt.perl-ext-common: default,matcher
43
+URxvt.matcher.pattern.1: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-]
44
+URxvt.matcher.button: 1 
44 45
 URxvt.underlineURLs: true
45
-URxvt.perl-ext: selection,mark-yank-urls
46
-URxvt.urlLauncher: chrome
46
+URxvt.urlLauncher: /usr/local/bin/chrome
47
+! Urxvt*perl-lib:    /usr/lib/urxvt/perl/
47 48
 
48 49
 !!! 0:black 1:red     2:green 3:yellow
49 50
 !!! 4:blue  5:magenta 6:cyan  7:white
... ...
@@ -5,12 +5,12 @@ servers = (
5 5
     address = "irc.freenode.net";
6 6
     chatnet = "freenode";
7 7
     port = "6667";
8
-    autoconnect = "yes";
8
+    autoconnect = "no";
9 9
     use_ssl = "no";
10 10
     ssl_verify = "no";
11 11
   },
12 12
   {
13
-    address = "irc.dal.net";
13
+    address = "BROADWAY.NY.US.DAL.NET";
14 14
     chatnet = "DALnet";
15 15
     port = "6667";
16 16
     use_ssl = "no";
... ...
@@ -38,8 +38,6 @@ set -g status-right-length 20
38 38
 
39 39
 bind-key u run "chrome `tmux show-buffer`"
40 40
 
41
-##CLIPBOARD selection integration
42
-###Requires prefix key before the command key
43
-##Copy tmux paste buffer to CLIPBOARD
44 41
 bind C-c run "tmux show-buffer | xclip -i -selection clipboard"
42
+#Copy CLIPBOARD to tmux paste buffer and paste tmux paste buffer
45 43
 bind C-v run "tmux set-buffer \"$(xclip -o -selection clipboard)\"; tmux paste-buffer"
... ...
@@ -1,4 +1,6 @@
1 1
 :filetype plugin on
2
+:set backspace=indent,eol,start
3
+:set nobomb
2 4
 :filetype indent on
3 5
 :set grepprg=grep\ -nH\ $*
4 6
 :autocmd filetype tex source ~/.vim/auctex.vim
... ...
@@ -2,6 +2,11 @@
2 2
 #r
3 3
 #r
4 4
 #zsh stuff
5
+HISTSIZE=1000
6
+SAVEHIST=1000
7
+HISTFILE=~/.zsh_history
8
+setopt INC_APPEND_HISTORY
9
+setopt SHARE_HISTORY
5 10
 setopt AUTO_CD
6 11
 setopt CORRECT
7 12
 setopt CORRECT_ALL
... ...
@@ -14,7 +19,8 @@ setopt completealiases
14 14
 setopt hist_ignore_all_dups hist_ignore_space
15 15
 bindkey "^[[1~" beginning-of-line
16 16
 bindkey "^[[4~" end-of-line
17
-
17
+bindkey    "^[[3~"          delete-char
18
+bindkey    "^[3;5~"         delete-char
18 19
 #aliases
19 20
 alias Fg='Play "Family Guy"'
20 21
 alias azu='Play "Azumanga Daioh"'