gvim插件python自动补全pydiction的用法

除了复制python_pydiction.vim到指定的插件目录,还需要将
complete-dict和pydiction.py复制到指定目录,注意这两个文件可以复制到任何目录。但是要在.vimrc中指定,比如:
filetype plugin on
let g:pydiction_location=’/usr/share/vim/vim72/ftplugin/pydiction/complete-dict’
let g:pydiction_menu_height=20
参考:
Gvim 的 Python 自动补全插件 Pydiction 安装
Windows和Linux差别不大。

Share and Enjoy:

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Haohao
  • Live
  • MisterWong
  • Slashdot
  • TwitThis
  • Upnews
  • Yahoo! Bookmarks

vi/vim键盘图

vi/vim键盘图,备用,来源:http://forum.ubuntu.org.cn/viewtopic.php?f=68&t=213064

Share and Enjoy:

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Haohao
  • Live
  • MisterWong
  • Slashdot
  • TwitThis
  • Upnews
  • Yahoo! Bookmarks

安装gvim

在Ubuntu裡使用使用vim,如果通過putty連接,發現一個小問題,就是在編輯/var/lib/locales/supported.d/zh的時候,第一行的zh_CN.UTF8 UTF8不見了。分析可能是console設置的問題,或者是putty某處設置不對了。不過本著遇到問題跳過去的原則,嘗試了emacs,這次發生的是:
emacs: Cannot open termcap database file

Share and Enjoy:

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Haohao
  • Live
  • MisterWong
  • Slashdot
  • TwitThis
  • Upnews
  • Yahoo! Bookmarks