Skip to content

Instantly share code, notes, and snippets.

View bimlas's full-sized avatar

Bimba Laszlo bimlas

  • Hungary
View GitHub Profile
@bimlas
bimlas / .vimrc
Created October 5, 2016 17:28
Vim version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Oct 2 2016 22:08:15)
MS-Windows 32-bit GUI version with OLE support
Included patches: 1-21
Compiled by appveyor@APPVYR-WIN
Huge version with GUI. Features included (+) or not (-):
+acl +eval +mouse +syntax
+arabic +ex_extra +mouseshape +tag_binary
+autocmd +extra_search +multi_byte_ime/dyn +tag_old_static
+balloon_eval +farsi +multi_lang -tag_any_white
@bimlas
bimlas / tcmd_conemu.ahk
Last active July 11, 2016 03:51
Persistent console for Total Commander (like Far Manager/Norton Commander Ctrl-O) via ConEmu and AutoHotkey
; tcmd_conemu.ahk: Persistent console for Total Commander via ConEmu
;
; Press Ctrl-Space to switch between Tcmd and ConEmu (the path is
; automatically synced).
;
; INSTALL
; AutoHotkey https://autohotkey.com/
; Total Commander http://www.ghisler.com/download.htm
; ConEmu https://conemu.github.io/en/Downloads.html
;
@bimlas
bimlas / git-fetch-log
Last active March 28, 2016 09:34
Ultimate git fetch-log, pull-log, push-log, etc.
#!/bin/sh
# git-fetch-log: Ultimate git fetch-log
#
# It shows the diferences of `local...remote` if both side exists and there
# are differences. Useful to find out what you have to do: `merge`, `rebase`,
# `push`, etc. The arguments passed to log.
#
# Place it somewhere on Your `$PATH` and execute by the `git fetch-log`
# command.
#
@bimlas
bimlas / .gitconfig
Created November 16, 2015 08:33
Using of variables in Git aliases
# Simplify the similar aliases in .gitconfig by using variables instead of
# copying the same flags.
[alias]
flags = "!FLAG_LOG='--graph --decorate --find-renames --date-order'; \
FLAG_DIFF='--patch --stat --ignore-blank-lines';"
glog = "!git flags; git log $FLAG_LOG --name-status"
gslog = "!git flags; git log $FLAG_LOG --stat"
slog = "!git flags; git log $FLAG_LOG --date=short --format='%C(auto)%h%C(auto)%d %C(bold blue)%ad %an%n %s%C(reset)'"
df = "!git flags; git diff $FLAG_DIFF"
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 30 2015 21:42:27)
MS-Windows 32-bit GUI version with OLE support
Included patches: 1-803
Compiled by BimbaLaszlo
Huge version with GUI. Features included (+) or not (-):
+acl -footer +rightleft
+arabic +gettext/dyn +ruby/dyn
+autocmd -hangul_input +scrollbind
+balloon_eval +iconv/dyn +signs
@bimlas
bimlas / tcmd_capsloc_ctrl.ahk
Created April 17, 2015 20:01
tcmd capslock::ctrl autohotkey script
SetCapsLockState AlwaysOff
; Global remap.
Capslock::Ctrl
#IfWinActive ahk_class TTOTAL_CMD
{
; Disable remap in Tcmd.
CapsLock::Return
; Check exactly for CapsLock instead of Ctrl.