Commits

José Antonio Pérez Sánchez committed 2986ed1

hg aliases; vim powerline theme

Comments (0)

Files changed (3)

 dlog = log --style ~/.hgstyle.dlog --pager yes
 nlog = log --style ~/.hgstyle.nlog --pager yes
 sglog = log --style ~/.hgstyle.sglog --pager yes
-sync = !(echo Incoming...; hg in -b. --style ~/.hgstyle.slog && hg pull -b. --rebase); (echo Outgoing...; hg out -b. && hg push -r.)
+sync = !(echo Incoming...; $HG in -b. --style ~/.$HGstyle.slog && $HG pull -b. --rebase); (echo Outgoing...; $HG out -b. && $HG push -r.)
+last-integration = log -r 'last(children(branch("$1")) and branch(integration), $2)'
+last-merge-of = log -r 'last(children(branch("$1")) and branch("$2"), $3)'
+changes = log -r '$1::. and branch("$2") and not merge()'
 
 [extensions]
 pager =
 
 [pager]
 pager = LESS='FSRX' less
-ignore = version, help, update, server, record
+ignore = version, update, server, record
 
 [progress]
 delay = 1

home/.hgstyle.slog

-changeset = '\033[0;33m{rev}\033[0m{branches} {desc|firstline|strip} \033[1;30m({date|age} by {author|person}){bookmarks}\033[0m{tags}\033[0m\n'
+changeset = '\033[0;33m{rev} {node|short}\033[0m{branches} {desc|firstline|strip} \033[1;30m({date|age} by {author|person}){bookmarks}\033[0m{tags}\033[0m\n'
 
 changeset_quiet = '\033[0;33m{rev}\033[0m {desc|firstline|strip}\n'
 

home/config/powerline/themes/vim/default.json

 				"module": "z.powerline.segments.vim",
 				"args": { "code": "tagbar#currenttag('%s', '')" },
 				"highlight_group": ["background"],
-				"draw_divider": false
+				"draw_divider": false,
+				"priority": 10
 			},
 			{
 				"type": "string",
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.