Anton Shestakov <av6@dwimlabs.net>, Sat, 26 Nov 2022 02:07:35 +0400
.vimrc: set updatetime from 4000ms to 500ms
This matters for certain async plugins, such as signify, that use CursorHold
autocommand event. Signify recommends going as low as 100, but 500 should be
good enough.
username = Anton Shestakov <av6@dwimlabs.net>
gl = log --pager=always -G
pvr = log --pager=always -pvr
stripout = strip -r 'outgoing()'
crecord = !$HG commit --interactive --config ui.interface=curses "$@"
reword = commit -X 're:' --amend
actualize-topic = rebase -s 'topic($1)' -d 'branch(ancestor(topic($1))) and public()'
in-release = log -r '$1 + min($1:: and tag())'
format = topic bar number item speed estimate
pager = less -FSRX --ignore-case
HG: Enter commit message. Lines beginning with 'HG:' are removed.
HG: user: {author}\n{ifeq(p2rev, "-1", "",
}HG: branch '{branch}'\n{if(activebookmark,
"HG: bookmark '{activebookmark}'\n") }{subrepos %
"HG: subrepo {subrepo}\n" }{file_adds %
"HG: added {file}\n" }{file_mods %
"HG: changed {file}\n" }{file_dels %
"HG: removed {file}\n" }{if(files, "",
"HG: no files changed\n")
{splitlines(diff()) % 'HG: {line}\n'}