Skip to content

Commit

Permalink
updated vimrc font. added some commands to enable/disable locking win…
Browse files Browse the repository at this point in the history
…dows.
  • Loading branch information
stgwilli committed Apr 18, 2012
1 parent 7ba0528 commit 46b024d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shared/dotfiles/vim/.vim_runtime/vimrc.erb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ if MySys() == "mac"
set gfn=Droid\ Sans\ Mono\:h16
set shell=/bin/bash
elseif MySys() == "windows"
set gfn=Droid\ Sans\ Mono:h16
set gfn=Consolas:h13:cANSI
elseif MySys() == "linux"
set gfn=Monospace\ 10
set shell=/bin/bash
Expand Down
9 changes: 8 additions & 1 deletion windows/autohotkey/partial_ahk_general.ahk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
;===========================
actions="div,cm,as,e,kk,lm,clm,mmsc,mmc,mmn,wtr,wtl,wbl,wbr,wc,wf,rwind,ww,rr,sm,sr,se,sd,x,savr,ming,proc"
actions="div,cm,as,e,kk,lm,clm,mmsc,mmc,mmn,wtr,wtl,wbl,wbr,wc,wf,rwind,ww,rr,sm,sr,se,sd,x,savr,ming,proc;lk,ulk"
LWIN & y::
Input,command_input,T1/5,{enter}{esc}{tab},%actions%
if (ErrorLevel = Max | ErrorLevel = Timeout )
Expand Down Expand Up @@ -132,7 +132,14 @@ sm:
send, {LWIN}
return

;lock and unlock computer
lk:
RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Policies\System, DisableLockWorkstation, 0
return

ulk:
RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Policies\System, DisableLockWorkstation, 1
return

;========================================
;Camtasia
Expand Down

0 comments on commit 46b024d

Please sign in to comment.