Coding Life

Model the World.

rokia ID:rokia
26441次访问,排名4315(2)好友1人,关注者1
rokia的文章
原创 38 篇
翻译 0 篇
转载 3 篇
评论 14 篇
rokia的公告

Search



My Tags

    My Following


    饭否
    最近评论
    emacser:喜爱emacs,可以到www.emacs-vim.net看看,专门讨论emacs和vim编辑器的论坛。很不错
    ababycoder:早就听说emacs的大名,也羡慕那些懂得使用的高手,不过可惜啊,我使用用VC6+vc精灵的编辑方式(编辑功能也十分强大)太熟了,再接受emacs真的很困难,除非工作需要,否则恐怕是与emacs无缘了。
    rokia:o? 嘿嘿,哪位猪头?
    ddpig:猪头DD
    rokia:呵呵,是我土了
    文章分类
    收藏
      相册
      images
      kitty
      Tech
      Coder
      C++的罗浮宫
      狡兔三窟
      Software
      Findingsoft
      存档
      软件项目交易
      订阅我的博客
      XML聚合  FeedSky
      订阅到鲜果
      订阅到Google
      订阅到抓虾
      订阅到BlogLines
      订阅到Yahoo
      订阅到GouGou
      订阅到飞鸽
      订阅到Rojo
      订阅到newsgator
      订阅到netvibes

      原创 重定义hs-minor-mode的keybinding收藏

      新一篇: 在emacs-unicode2 分支中设置字体 | 旧一篇: 赛迪网赤果果的盗版啊

      hs-minor-mode的缺省键盘定义太复杂了。C-c @ 要来回换半天。
      下面的代码把前缀换成了'control /'



      (define-key hs-minor-mode-map [?\C-/ ?H] 'hs-hide-all)
      (define-key hs-minor-mode-map [?\C-/ ?S] 'hs-show-all)
      (define-key hs-minor-mode-map [?\C-/ ?h] 'hs-hide-block)
      (define-key hs-minor-mode-map [?\C-/ ?s] 'hs-show-block)
      (define-key hs-minor-mode-map [?\C-/ ?l] 'hs-hide-level)
      (define-key hs-minor-mode-map [?\C-/ ?t] 'hs-toggle-hiding)
       

      发表于 @ 2007年12月21日 10:22:00|评论(loading...)|编辑

      新一篇: 在emacs-unicode2 分支中设置字体 | 旧一篇: 赛迪网赤果果的盗版啊

      评论:没有评论。

      发表评论  


      登录
      Csdn Blog version 3.1a
      Copyright © rokia