Skip to content

Commit

Permalink
Merge branch 'master' of github.com:peplin/dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
peplin committed Jun 24, 2016
2 parents 9965a84 + e2c3d84 commit 9d5edc8
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 5 deletions.
1 change: 1 addition & 0 deletions c/gdbinit.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set $COLOUREDPROMPT = 1

set confirm off
set verbose off
set breakpoint pending on

set output-radix 0x10
set input-radix 0x10
Expand Down
4 changes: 2 additions & 2 deletions git/functions/glog
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
# Borrowed from Gary Bernhardt at https://github.com/garybernhardt/dotfiles

HASH="%C(yellow)%h%Creset"
RELATIVE_TIME="%Cgreen(%ar)%Creset"
RELATIVE_TIME="%Cgreen(%cr)%Creset"
AUTHOR="%C(bold blue)%an%Creset"
REFS="%C(red)%d%Creset"
SUBJECT="%s"

FORMAT="$HASH $RELATIVE_TIME $AUTHOR $REFS $SUBJECT"

glog() {
git log --graph --pretty="tformat:${FORMAT}" $* |
git log --graph --format=fuller --pretty="tformat:${FORMAT}" $* |
# Repalce (2 years ago) with (2 years)
sed -Ee 's/(^[^<]*) ago\)/\1\)/' |
# Replace (2 years, 5 months) with (2 years)
Expand Down
3 changes: 3 additions & 0 deletions tmux/tmux.conf.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ set-window-option -g xterm-keys on

set -g update-environment -r
setenv -g SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock

# Increase scrollback buffer size
set-option -g history-limit 3000
3 changes: 2 additions & 1 deletion urxvt/Xresources.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ URxvt*scrollWithBuffer: true
URxvt*scrollTtyKeypress: true

! requires urxvt-perls from arch
URxvt.perl-ext-common: default,matcher,vtwheel,font-size,selection-to-clipboard
URxvt.perl-ext-common: default,matcher,vtwheel,font-size,selection-to-clipboard,clipboard
URxvt.clipboard.autocopy: true

URxvt.url-launcher: /usr/bin/xdg-open
URxvt.url-select.underline: false
Expand Down
8 changes: 8 additions & 0 deletions vim/vimrc.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ autocmd!
Plugin 'tpope/vim-endwise'
Plugin 'tpope/vim-repeat'
Plugin 'tpope/vim-unimpaired'
Plugin 'simnalamburt/vim-mundo'

" Theme
Plugin 'altercation/vim-colors-solarized'
Expand Down Expand Up @@ -371,6 +372,8 @@ autocmd!
let g:ctrlp_map = '<leader>t'
let g:ctrlp_cmd = 'CtrlP'
let g:ctrlp_clear_cache_on_exit = 0
let g:ctrlp_max_files = 16000
let g:ctrlp_max_depth = 5
" }

" Gist {
Expand Down Expand Up @@ -472,6 +475,11 @@ autocmd!
\ "BreakConstructorInitializersBeforeComma" : "true"
\}
" }

" vim-mundo {
nnoremap <F6> :MundoToggle<CR>

" }
" }

map <leader>q :call QFixToggle()<CR>
Expand Down
4 changes: 2 additions & 2 deletions xmobar/xmobarrc.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Config { font = "xft:Ubuntu Mono-11"
, position = Top
, lowerOnStart = False
, commands = [
Run Weather "KARB" ["-t","<tempF>F","-L",
Run Weather "KAGC" ["-t","<tempF>F","-L",
"20","-H","75","--normal","green","--high","red",
"--low","lightblue"] 36000
, Run Com "/home/peplin/.dotfiles/bin/batterycheck.sh" [] "batcheck" 60
Expand All @@ -20,5 +20,5 @@ Config { font = "xft:Ubuntu Mono-11"
]
, sepChar = "%"
, alignSep = "}{"
, template = " %multicpu% %memory% | %dynnetwork% %vol%}{%StdinReader% | %KARB% | <fc=#ee9a00>%date%</fc>"
, template = " %multicpu% %memory% | %dynnetwork% %vol%}{%StdinReader% | %KAGC% | <fc=#ee9a00>%date%</fc>"
}

0 comments on commit 9d5edc8

Please sign in to comment.