Remove 'n' keybindings for keyboard switching (keep code-57)
Code 57 normally means N, so this layout started (rightfully, I admit)
generating conflict errors. Assigning key is probably more reliable,
though, so we'll keeo that one.
Nerf colors Vim uses for MatchParen and Search highlighting
This is a pretty ugly hack to work around the problem that any attempts
to influence highlight colors in Vim using the `highlight` command were
ignored by Urxvt (not by Xfce4 terminal and few others I tried).
Work around inability to set highlighting right for urxvt
Vim under urxvt does not seem to react to highlight settings, keeping
defaults that under my favorite scheme make Search unreadable and
MatchParen confusing.
The dirty hack is to re-set the colors it happens to use: Yellow and
Cyan. Ugly, bad, but will work for now.
*Remote* branch name must be listed along with 'PUSH' keyword.
This requires predictable name of the remote, but as this whole slurping
thing is only meant for very dirty, very local scenarios, that should
not be problem. (Other, more open scenarios are still possible, just
harder, as they probably should be.)
Using grep directly could result in "binary file matches" without any
useful info.
This would happen e.g. after renaming some files with badly-encoded
filenames. Bash history builtin seems to address such cases better.
* Add --force-* options to skipt .git-slurp-ok file checks.
* Allow passing path to slurp.
You can slurp only a particular sub-tree.
* Improve commit message.
Host has been dropped, and slurped paths are logged (as relative
to worktree root).
Apparently with some distros, raching 0 will turn off the display
completely. Step of 49 makes it easy to avoid that while still keeping
the advantage of huge step.
* Die by dedicated function.
* Push only if allowed (a line containing single word PUSH found in
.git-slurp-ok file)
* Allow working when deeper in git repo (but not if outside).
* Make permisson code readable (self-doc).
* Enclose in main() to allow for better hygiene.