Mercurial > dotfiles
view .hgrc @ 351:bef29d49d19f
safe-paste: adds support for bracketed paste mode to zsh
Since I don't use oh-my-zsh, just import their code directly with a
reference. Based on the site where I learned about this [0], it's
originally from [1], and I downloaded it from [2].
0: https://cirw.in/blog/bracketed-paste
1: http://www.zsh.org/mla/users/2011/msg00367.html
2: https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/plugins/safe-paste/safe-paste.plugin.zsh
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Mon, 10 Nov 2014 09:26:04 -0500 |
parents | b55a7fe4dfab |
children | 412a0d3c7d87 |
line wrap: on
line source
[extensions] hgext.bookmarks= hgext.color= hgext.convert= hgext.highlight= hgext.histedit= hgext.mq= hgext.parentrevspec= hgext.patchbomb= hgext.progress= hgext.purge= hgext.rebase= hgext.record= hgext.schemes= hgext.shelve= hgext.transplant= hggit= hgsubversion= hg_remotebranches= [alias] ll=log --graph --style compact --limit 6 -r 'sort((::. or bookmark() or heads(upstream())), "-rev")' upstream-bookmarks = log -r 'bookmark() and upstream()' --template '{bookmarks}\n' utip = log -r 'limit(heads(upstream()), 1)' egrep = !$HG locate -0 '$2' $3 $4 $5 $6 $7 $8 $9 | xargs -0 egrep -H '$1' wc-out = log -r 'ancestors(.) and not upstream()' wc-email = email -r 'ancestors(.) and not upstream()' havepatch = log -r 'grep("$1")' [ui] username = Augie Fackler <raf@durin42.com> ignore = ~/.hgglobalignore usehttp2=true mergemarkers = detailed [defaults] annotate = -nu serve = -v [diff] git=1 showfunc = 1 [bookmarks] track.current = 1 [web] port=7000 allow_archive = bz2 zip [color] status.ignored = magenta bold qseries.unapplied = magenta bold [phases] publish=false # Config tricks from mpm for smartlog [alias] sl = log -Gr smart -Tsl si = incoming -GTsl sl. = log -Gr 'smart and ::.' -Tsl [templates] sl = '{ifeq(branch,"default","","{label(black_background, branch)} ")}{label("log.changeset changeset.{phase}", shortest(node))} {label("grep.user", author|user)}{label("tags.normal", if(tags," {tags}"))} {label("sl.book", if(bookmarks," {bookmarks}"))}\n{label(ifcontains(rev, revset('.'), 'desc.here'),desc|firstline)}' [color] sl.book = magenta bold changeset.draft = magenta changeset.secret = red desc.here = inverse [revsetalias] smart = (parents(not public()) or not public() or . or head()) and (not obsolete() or unstable()^)