   Return
 #IfWInActive
 
+; 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
+    }
+  }
+  MouseClick, Right, 50, 50, 1
+  Return
+#IfWInActive
+#IfWInActive, ahk_class Vim
+!v::Send,{Alt}ep
+#IfWInActive
+
 ; Other than Terminal/Vim
-#IfWInNotActive, ahk_group Terminal
+#IfWInNotActive, ahk_group TerminalVim
 ^[::Send,{Esc}             ; Always C-[ to ESC, like vim
 #IfWInNotActive
 ; }}} Terminal/Vim

  SysGet, MWA, MonitorWorkArea ; w/o Taskbar
  ;Msgbox, %MWALeft% %MWATop% %MWARight% %MWABottom%
  WinMove, A, ,MWALeft+LMargin, MWATop+TMargin
    , (MWARight-MWALeft-LMargin-RMargin)*MinSize
    , (MWABottom-MWATop-TMargin-BMargin)*MinSize
  Return
; }}} Window size
; }}} Cursor, Mouse, Window move

; }}}

; Terminal/Vim {{{
; ESC + IME
#IfWInActive, ahk_group TerminalVim
Esc:: ; Just send Esc at converting.
  if (IME_GET(A)) {
    if (IME_GetConverting(A)) {
