 #IfWInActive
 ; }}} Everything
 
-; Command Prompt {{{
-#IfWinActive ahk_class ConsoleWindowClass
-^v::
-  SendInput %clipboard%
-  Return
-#IfWInActive
-; }}} Command Prompt
-
 ; Fiefox {{{
 ;#IfWinActive ahk_exe firefox.exe
 ;^j::Send ^j

GroupAdd Terminal, ahk_class mintty ; cygwin
GroupAdd Terminal, ahk_class TMobaXtermForm
GroupAdd Terminal, ahk_class TFormDetachedTab
GroupAdd TerminalVim, ahk_group Terminal
GroupAdd TerminalVim, ahk_class Vim



; Paste
#IfWInActive, ahk_group Terminal
;!v::
;  ;StringSplit, strout, clipboard, `n
;  ;If(strout0>1 or InStr(clipboard, "sudo")>0) {
;  ;  MsgBox, 308, Clipboard, %clipboard%`n`n Do you want to paste?
;  ;  IfMsgBox, No
;  ;  {
;  ;    Return
;  ;  }
;  ;}
;  Sleep,200
;  MouseClick, Right, 50, 50, 1
;  Return
!v::
  SendInput %clipboard%
  Return
#IfWInActive
#IfWInActive, ahk_class Vim
!v::Send,{Alt}ep
#IfWInActive

; Command Promp, PowerShell, Bash on Ubuntu on Windows {{{
#IfWinActive ahk_class ConsoleWindowClass
^v::Send,^q
!v::
  SendInput %clipboard%
  Return
#IfWInActive
; }}} Command Prompt

; Other than Terminal/Vim
#IfWInNotActive, ahk_group TerminalVim
