海运的博客

Windows7右键菜单添加用Vim编辑

发布时间:February 7, 2013 // 分类:Vim // No Comments

WindowsGvim安装后会在右键菜单添加使用Vim编辑的选项,绿色版Gvim可自行添加:

;https://www.haiyun.me
reg.exe ADD HKEY_CLASSES_ROOT\*\shell\用Vim编辑\Command -d "D:\\Program Files\\Gvim\\vim73\\gvim.exe  \"%1\""

或导入以下注册表,Gvim目录自行替换。

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\用Vim编辑\Command]
@="D:\\Program Files\\Gvim\\vim73\\gvim.exe \"%1\""

Gvim添加右键菜单.png

Vim配置文件的目录变量

发布时间:February 6, 2013 // 分类:Vim // No Comments

配置Gvim的时候经常要引用Gvim的安装和插件目录,保持Vim配置文件的简洁和可移值性可使用Gvim的目录变量。

$VIM vim安装目录
$VIMRUNTIME vim支持文件所在目录,也就是$VIM/vim73目录
$HOME 当前系统用户目录
~ 当前系统用户目录

Xshell4发布官方中文版了

发布时间:February 6, 2013 // 分类:Xshell // No Comments

XshellWindows下功能强大的SSH管理软件,家庭及学生用户可免费使用,Xshell最近更新增加了官方中文版。
Xsehll最近更新:

Xshell 4 Build 0123, Feb 05, 2013

        FIX: Resource cleanup, minor bug fixes, feature update

Xshell 4 Build 0122, Jan 29, 2013

        ADD: French, German, Japanese, Spanish, Simplified Chinese, Traditional Chinese UI
        ADD: Use user defined string for keep alive
        FIX: Only the last tab can be reconnected when network goes down
        FIX: Transferring large data via serial crashes Xshell
        FIX: Local shell command is not displayed properly in some languages
        FIX: Problem transferring large files via Zmodem
        FIX: Tab name changes to COM1
        FIX: Incorrect selection area when double clicked to make selection then moved mouse to change selection area
        FIX: Some meta keys send incorrect value
        FIX: Resource cleanup, minor bug fixes, feature update

Xshell4官方中文版效果图:
Xshell官方中文版.png

AutoHotkey自定快捷键启动程序及快速输入替换文字

发布时间:February 6, 2013 // 分类:AutoHotKey // No Comments

AutoHotkey快速输入替换文本,例输入ono后接空格、句号、TAB、Enter会自动将内容替换为https://www.haiyun.me

::ono::https://www.haiyun.me

也可以写成:

::ono::
SendInput https://www.haiyun.me
return

AutoHotkey输入特定字符发送按键:

::p::
Send ^!a
return
#输入P加空格发送Ctrl+Alt+A键

AutoHotkey自定快捷键启动程序,例Win+G启动CMD。

#g::
Run Cmd.exe
return

AutoHotkey快捷键对应:

#       Win
!     Alt
^     Control
+     Shift

StrokesPlus发送快捷键命令列表

发布时间:February 5, 2013 // 分类:StrokesPlus // No Comments

StrokesPlus可通过手势发送特定按键,以下为对应的快捷键列表。

@ = WINKEY
+ = SHIFT
^ = CTRL
% = ALT
{ADD} = VK_ADD
{APPS} = VK_APPS
{AT} = @
{BACKSPACE} = VK_BACK
{BKSP} = VK_BACK
{BREAK} = VK_CANCEL
{BROWSERBACK} = VK_BROWSER_BACK
{BROWSERFAVORITES} = VK_BROWSER_FAVORITES
{BROWSERFORWARD} = VK_BROWSER_FORWARD
{BROWSERHOME} = VK_BROWSER_HOME
{BROWSERREFRESH} = VK_BROWSER_REFRESH
{BROWSERSEARCH} = VK_BROWSER_SEARCH
{BROWSERSTOP} = VK_BROWSER_STOP
{BS} = VK_BACK
{CAPSLOCK} = VK_CAPITAL
{CARET} = ^
{CLEAR} = VK_CLEAR
{DECIMAL} = VK_DECIMAL
{DEL} = VK_DELETE
{DELETE} = VK_DELETE
{DIVIDE} = VK_DIVIDE
{DOWN} = VK_DOWN
{END} = VK_END
{ENTER} = VK_RETURN
{ESC} = VK_ESCAPE
{ESCAPE} = VK_ESCAPE
{F10} = VK_F10
{F11} = VK_F11
{F12} = VK_F12
{F13} = VK_F13
{F14} = VK_F14
{F15} = VK_F15
{F16} = VK_F16
{F_1} = VK_F1
{F_2} = VK_F2
{F_3} = VK_F3
{F_4} = VK_F4
{F_5} = VK_F5
{F_6} = VK_F6
{F_7} = VK_F7
{F_8} = VK_F8
{F_9} = VK_F9
{HELP} = VK_HELP
{HOME} = VK_HOME
{INS} = VK_INSERT
{LBRACE} = {
{LEFT} = VK_LEFT
{LPAREN} = (
{LWIN} = VK_LWIN
{MEDIANEXTTRACK} = VK_MEDIA_NEXT_TRACK
{MEDIAPLAYPAUSE} = VK_MEDIA_PLAY_PAUSE
{MEDIAPREVTRACK} = VK_MEDIA_PREV_TRACK
{MEDIASTOP} = VK_MEDIA_STOP
{MULTIPLY} = VK_MULTIPLY
{NUMLOCK} = VK_NUMLOCK
{NUMPAD0} = VK_NUMPAD0
{NUMPAD1} = VK_NUMPAD1
{NUMPAD2} = VK_NUMPAD2
{NUMPAD3} = VK_NUMPAD3
{NUMPAD4} = VK_NUMPAD4
{NUMPAD5} = VK_NUMPAD5
{NUMPAD6} = VK_NUMPAD6
{NUMPAD7} = VK_NUMPAD7
{NUMPAD8} = VK_NUMPAD8
{NUMPAD9} = VK_NUMPAD9
{PERCENT} = %
{PGDN} = VK_NEXT
{PGUP} = VK_PRIOR
{PLUS} = +
{PRTSC} = VK_PRINT
{RBRACE} = }
{RIGHT} = VK_RIGHT
{RPAREN} = )
{RWIN} = VK_RWIN
{SCROLL} = VK_SCROLL
{SEPARATOR} - VK_SEPARATOR
{SLEEP} - VK_SLEEP
{SNAPSHOT} = VK_SNAPSHOT
{SUBTRACT} - VK_SUBTRACT
{TAB} = VK_TAB
{TILDE} = ~
{UP} = VK_UP
{VOLDOWN} = VK_VOLUME_DOWN
{VOLMUTE} = VK_VOLUME_MUTE
{VOLUP} = VK_VOLUME_UP
{WIN} = VK_LWIN 

示例,如果发送ctrl+tab刚填写为:

acSendKeys("^{TAB}")

发送shirt+tab为:

acSendKeys("+{TAB}")
分类
最新文章
最近回复
  • opnfense: 谢谢博主!!!解决问题了!!!我之前一直以为内置的odhcp6就是唯一管理ipv6的方式
  • liyk: 这个方法获取的IPv6大概20分钟之后就会失效,默认路由先消失,然后Global IPV6再消失
  • 海运: 不好意思,没有。
  • zongboa: 您好,請問一下有immortalwrt設定guest Wi-Fi的GUI教學嗎?感謝您。
  • 海运: 恩山有很多。
  • swsend: 大佬可以分享一下固件吗,谢谢。
  • Jimmy: 方法一 nghtp3步骤需要改成如下才能编译成功: git clone https://git...
  • 海运: 地址格式和udpxy一样,udpxy和msd_lite能用这个就能用。
  • 1: 怎么用 编译后的程序在家里路由器内任意一台设备上运行就可以吗?比如笔记本电脑 m参数是笔记本的...
  • 孤狼: ups_status_set: seems that UPS [BK650M2-CH] is ...