I love the virtual work space under linux X. I hoped the MSVDM (Microsoft virtual desktop manager) could do the same job as well. However, it let me down again.
The first time it is because it didn't work quite well with ATnote. This time I found it might have bugs in switching work spaces when using different wallpapers for different work spaces. Sometimes the wallpapers were gone. Plus, there are also bugs even in cooperating with Excel. The menu in excel is disappeared when switching to another desktop.
I hate this poor M$ tool.
Showing posts with label Software. Show all posts
Showing posts with label Software. Show all posts
Monday, September 25, 2006
Thursday, July 27, 2006
Shortcuts, Hotkeys
* Hot-keys, Shortcuts, 快捷键
** HoeKey
占用内存非常小,只有几百K。用HoeKey可以方便地用快捷键运行一些常用程序。另外一个牛X的用处是执行一些特殊操作,比如最小化窗口,总在最前,窗口透明等等。
Example:
Screen-shot:

** Run
Windows自带的Win+R。msconfig, regedit这些当然是最常用的了。此外还可以通过设置环境变量的方法极大的扩充win+R的功能,也就是把link加入Path里。比如把Quick Launch加入到Environment Variable的PATH里,快速启动里面的东西就可以全部用Win+R执行了。还可以另外搞个目录,加到PATH里,目录里面放
些自己喜欢的快捷方式,可以是程序,文档,图片,文件夹等等。

** TC (Total Commander)
除了在wincmd.ini的[Shortcuts]里面定义快捷键之外,还可以利用Start Menu和Hotlist。
比如用指定的编辑器(e.g. gvim)打开光标所在的文件:
screen-shot:

- 先加一个子目录(Add submenu) "&Open with..." &O意思是此条对应键名是O
- 再在此目录下加入条目(Add Item) "&Vim"
- 条目对应的命令(Command)是gvim的可执行文件
- 命令参数(Parameters): %P%N. %P是光标所在的目录路径,%N是光标所在的文件名。所有能用的参数都可以在Help里找到。
- OK
这样在TC里看到一个文件后,按Alt-s o v 就可以用gvim打开这个文件了。有点像Emacs的按键风格,哈哈。
再比如利用Hotlist运行常用程序:
screen-shot

方法基本同上,设置Hotlist是Ctrl-d c,运行Xygwin就是Ctrl-d x x 了。
** Firefox
利用收藏夹的别名实现快速搜索。
Screen-shot:

例如在维基百科里搜索可以这样定义:
- Name: 随意
- Location: http://zh.wikipedia.org/wiki/Special:Search?search=%s
- Keyword: wc
这样只要在地址栏里输入 wc firefox 就可以快速定位到维基百科的Firefox页.
** TypeAndRun
刚开始用的,感觉还不错,只是占用内存5M以上,不是很爽。在Settings->Registry 选中 Shell integration ("Add TypeAndRun..."context menu),在右键菜单里增加一个 Add TypeAndRun,把选中的程序或文档或目录等等添加到它的别名里。如果连鼠标右键也不想动,可以在TC的StartMenu里添加一个条目,Command是TypeAndRun的可执行文件,参数是 --add=%P%N
** AutoHotKey
一种Script语言,相比HoeKey复杂点,功能更强大,占用内存4M左右,大了一点。想要用的话看他的Wiki。
PS: 参考多篇文章,不一一说明出处了。只要google一下软件名就能找到相应的网站
占用内存非常小,只有几百K。用HoeKey可以方便地用快捷键运行一些常用程序。另外一个牛X的用处是执行一些特殊操作,比如最小化窗口,总在最前,窗口透明等等。
Example:
~F4=Transparency ; Win+F4 Set current window to be
=AlwaysOnTop ; transparent and on top
~32=Run|D:\Program Files\Mozilla Firefox\firefox.exe|3
; Win+Space Start Firefox maximized
~34=Msg||274|61472 ; win+PageDown minimize current window
Screen-shot:
Windows自带的Win+R。msconfig, regedit这些当然是最常用的了。此外还可以通过设置环境变量的方法极大的扩充win+R的功能,也就是把link加入Path里。比如把Quick Launch加入到Environment Variable的PATH里,快速启动里面的东西就可以全部用Win+R执行了。还可以另外搞个目录,加到PATH里,目录里面放
些自己喜欢的快捷方式,可以是程序,文档,图片,文件夹等等。
除了在wincmd.ini的[Shortcuts]里面定义快捷键之外,还可以利用Start Menu和Hotlist。
比如用指定的编辑器(e.g. gvim)打开光标所在的文件:
screen-shot:
- 先加一个子目录(Add submenu) "&Open with..." &O意思是此条对应键名是O
- 再在此目录下加入条目(Add Item) "&Vim"
- 条目对应的命令(Command)是gvim的可执行文件
- 命令参数(Parameters): %P%N. %P是光标所在的目录路径,%N是光标所在的文件名。所有能用的参数都可以在Help里找到。
- OK
这样在TC里看到一个文件后,按Alt-s o v 就可以用gvim打开这个文件了。有点像Emacs的按键风格,哈哈。
再比如利用Hotlist运行常用程序:
screen-shot
方法基本同上,设置Hotlist是Ctrl-d c,运行Xygwin就是Ctrl-d x x 了。
利用收藏夹的别名实现快速搜索。
Screen-shot:
例如在维基百科里搜索可以这样定义:
- Name: 随意
- Location: http://zh.wikipedia.org/wiki/Special:Search?search=%s
- Keyword: wc
这样只要在地址栏里输入 wc firefox 就可以快速定位到维基百科的Firefox页.
刚开始用的,感觉还不错,只是占用内存5M以上,不是很爽。在Settings->Registry 选中 Shell integration ("Add TypeAndRun..."context menu),在右键菜单里增加一个 Add TypeAndRun,把选中的程序或文档或目录等等添加到它的别名里。如果连鼠标右键也不想动,可以在TC的StartMenu里添加一个条目,Command是TypeAndRun的可执行文件,参数是 --add=%P%N
一种Script语言,相比HoeKey复杂点,功能更强大,占用内存4M左右,大了一点。想要用的话看他的Wiki。
PS: 参考多篇文章,不一一说明出处了。只要google一下软件名就能找到相应的网站
del.icio.us Tags:
Saturday, May 20, 2006
Vim tip: arrow keys print ABCD?
VIM 方向键在编辑状态下是ABCD?
I have just build vim7 and found weird when i pressed arrow keys in the Insert mode, the cursor didn't move but printed A, B, C and D. And the -- INSERT -- doesn't show up.
As soon as I introduced the ~/.vimrc, although with no contents in this file, the problem disappeared (under ubuntu).
for more information:
Arrow keys/cursor movement prints A B C D letters
I have just build vim7 and found weird when i pressed arrow keys in the Insert mode, the cursor didn't move but printed A, B, C and D. And the -- INSERT -- doesn't show up.
As soon as I introduced the ~/.vimrc, although with no contents in this file, the problem disappeared (under ubuntu).
for more information:
Arrow keys/cursor movement prints A B C D letters
del.icio.us Tags:
Subscribe to:
Posts (Atom)

