Skip to content

Instantly share code, notes, and snippets.

@raghur
raghur / OpenWithEditors.bat
Last active January 1, 2016 23:09 — forked from mrchief/LICENSE.md
Edit with context menu options for GVim and SublimeText
@echo off
SET st2Path=E:\Utils\ST3\sublime_text.exe
SET gvimPath=c:\users\raghuramanr\bin\gvi.bat
SET gvimIcoPath=e:\Utils\gvim\gvim.exe
rem add it for all file types
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /t REG_SZ /v "" /d "Open with Sublime Text" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text" /t REG_EXPAND_SZ /v "Icon" /d "%st2Path%,0" /f
@reg add "HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text\command" /t REG_SZ /v "" /d "%st2Path% \"%%1\"" /f
@raghur
raghur / tmux.conf
Last active August 29, 2015 13:56 — forked from shinzui/tmux.conf
# ~/.tmux.conf
#
# See the following files:
#
# /opt/local/share/doc/tmux/t-williams.conf
# /opt/local/share/doc/tmux/screen-keys.conf
# /opt/local/share/doc/tmux/vim-keys.conf
#
# URLs to read:
#