This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; http://d.hatena.ne.jp/amachang/20111226/1324874731 | |
^h:: Send, {BS} | |
^m:: Send, {Enter} | |
!h:: Send, {Left} | |
!l:: Send, {Right} | |
!j:: Send, {Down} | |
!k:: Send, {Up} | |
!+h::Send, +{Left} | |
!+l::Send, +{Right} | |
!+j::Send, +{Down} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from keyhac import * | |
import os | |
homeDir = os.environ.get('HOME', "") | |
def configure(keymap): | |
keymap.editor = homeDir + u"/bin/vim73-kaoriya-win64/gvim.exe" | |
# どのウインドウにフォーカスがあっても効くキーマップ | |
keymap_global = keymap.defineWindowKeymap() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 参考: https://github.com/dahlbyk/posh-git/blob/master/GitPrompt.ps1 | |
$global:GitPromptSettings.BranchForegroundColor = [ConsoleColor]::DarkGreen | |
$global:GitPromptSettings.WorkingForegroundColor = [ConsoleColor]::DarkYellow | |
$global:GitPromptSettings.BeforeForegroundColor = [ConsoleColor]::DarkCyan | |
$global:GitPromptSettings.AfterForegroundColor = [ConsoleColor]::DarkCyan | |
$global:GitPromptSettings.UntrackedForegroundColor = [ConsoleColor]::DarkRed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ckw*foreground: #657b83 | |
Ckw*background: #073642 | |
Ckw*cursorColor: #657b83 | |
Ckw*cursorImeColor: #dc322f | |
Ckw*title: Powershell | |
Ckw*exec: powershell -ExecutionPolicy RemoteSigned | |
Ckw*chdir: c:\ | |
Ckw*scrollHide: no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
js<<EOM | |
// vimperator/info/default のパスを変える | |
liberator.modules.storage.infoPath.initWithPath(io.expandPath("~/vimperatorInfo")); | |
EOM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cver all -localonly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param([switch] $help, [switch] $laptop) | |
process { | |
if ($help) { | |
echo ".\toggleWindowsKeyboardLayoutBetweenUSandJP.ps1 : キーボードレイアウトを日本語/英字配列でトグルします" | |
echo ".\toggleWindowsKeyboardLayoutBetweenUSandJP.ps1 -laptop : ノートPCで外部キーボード接続時だけ英字配列" | |
echo ".\toggleWindowsKeyboardLayoutBetweenUSandJP.ps1 -help : Help の表示" | |
return | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sudo { | |
$args[1] = (Convert-Path $args[1]) | |
Start-Process $args[0] -Verb "runas" -ArgumentList $args[1..($args.Length - 1)] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
syntaxFileURL=http://vimperator-labs.googlecode.com/hg/vimperator/contrib/vim/syntax/vimperator.vim | |
if test -d ~/.vim; then | |
vimSyntaxDir=~/.vim/syntax | |
elif test -d ~/vimfiles; then | |
vimSyntaxDir=~/vimfiles/syntax | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Prompt { | |
# PowerShell 3.0+ | |
Export-Csv -Path ~\.posh_history.csv -InputObject (Get-History)[-1] -Append | |
return "$pwd > " | |
} | |
Import-Csv ~\.posh_history.csv | Add-History |
OlderNewer