如何用vim直接发文章到drupal上

喜欢简短的直接看英文愿望呢。画面很有说服力:)
http://reluctanthacker.rollett.org/software/drupavim
http://reluctanthacker.rollett.org/software/drupavim

我的做法:

1、看作者网站
2、下载vim插件放到 ~/.vim/plgin/ 下
3、看一下那个插件的INSTALL
4、编辑drupalvim.vim中用户密码和你站点域名
5、打开vim
6、输入 :source ~/.vim/plugin/druaplvim/druaplvim.vim 因为真的还不知道如何自动load pluing到vim
7、 :e blog/suibian 只要 :e blog/ 就是说我要写blog,也可以用 story或者其它contenttype。 blog/后面的文字随便写,只要不是之前有过的node id就可以,否则插件一位你要编辑以前文件呢
8、写好了 :w 就发表了 :)
9、如果你想用 free tagging 参考 INSTALL

To install DrupaVim, Copy drupavim.vim to ~/.vim/plugin and edit
your username, password and blog url.

Optionally copy drupavim.txt to ~/.vim/doc and run :helptags ~/.vim/doc

If you wish to use the freetagging capability, set useinlinetags = True
and install the inline tags module, which you may find here:

http://drupal.org/project/inlinetags

As of drupal-6.9, for file/image uploads to work, you must patch drupal
with the patch found here:

http://drupal.org/node/243907
INSTALL (END)

vimperator:用vim方式操作firefox

vimperator:用vim方式操作firefox
from 记录点滴 by liupingjing
用vim习惯了,浏览网页时总是按j键向下拉,结果郁闷的发现firefox不是vim,昨天在网上找了一个用vim方式操作firefox的插件:vimperator,装上去试了一下,貌似还不错,基础的键绑定和vim一致,简单的操作有: 支持j,k进行向下或向上滚动; 可以用C-U/C-D、C-F/C-B翻页; 支持gg,G,nG跳转到指定行; 用gt查看下一标签页,gT查看上一标签页,bN(N为一数字)查看第N个标签页; 用d或D关闭标签页; 用o www.example.com 在当前页打开网页,用t www.example.com在新标签页中打开网页; 按f/F,该页中所有链接都显示一个编号,输入相应的编号可以打开链接,f在当前页中打开,F在新标签页中打开;用u重新打开已关闭的标签,相当于快捷键Ctrl-Shift-T; 用r/R刷新当前页/所有页; 支持m(a-z)标记书签,然后用'(a-z)跳转到标签; 可以使用/进行搜索,n/N查看下/上一搜索项; 用C-o或H后退,用C-i或L前进; 支持:quit、ZZ、ZQ的方式退出; 支持新的快捷键绑定; 到现在为止发现的不顺手的地方有: 不能显示状态栏,好像前面的版本中可以使用:set go+=s来显示状态栏,但是1.2版本不支持了; 有几个快捷键不好用了,一个是粘贴Ctrl-P,一个是定位搜索Ctrl-K; 打开链接的方式稍显麻烦;
http://liupingjing.blog.ubuntu.org.cn/?p=588

他的总结精炼~!详细!
看了他的总结,准备试验一下。:)

现在标准键盘字母排列方式当年是为了降低打字员输入速度以避免机械打字机卡纸?

如果这是真的,那我们太悲哀了!!真像有的笑话中说的,我们为什么要这么做,虽然看着不合理,但古人一直是这样。现在想不出古人的道理,但当时肯定有道理。我们继续这么做就好了。

Computer Keyboard Layout

There are a huge number of stupid designs around us embraced by the massing morons. One of them is the computer keyboard layout commonly known as QWERTY layout. It was a layout design that is meant to slow down typists, so that the early mechanical typewriters can be prevented from jamming. To this day, this QWERTY intentionally-slow layout is now the de facto “standard”. What i hate in the computer industry are those who out of laziness refused to learn touch type and therefore dismiss it. And, upon hearing the better design DVORAK, dismiss it as fussing. Keyboard punching morons: die.

http://xahlee.org/Periodic_dosage_dir/t1/carce.html

vim重度使用着也可以在firefox和thunderbird中使用相同的键帮定了

firefox

Vimperator is a free browser add-on for Firefox, which makes it look and behave like the Vim text editor. It has similar key bindings and you could call it a modal web browser, as key bindings differ according to which mode you are in.
http://vimperator.org/trac/wiki/Vimperator

thunderbird

Muttator is a free add-on for Thunderbird, which makes it look and behave like the Vim text editor. It has similar key bindings, and you could call it a modal mail client, as key bindings differ according to which mode you are in.
http://vimperator.org/trac/wiki/Muttator

vim中调出历史命令用 q:

vim中调出历史命令用 q:

在你查找替换的时候或者发布了一个很长命令,而中间又用命令被打断的情况下非常有用。