Loading ...
Sorry, an error occurred while loading the content.

63926Re: needless in ftplugin/changelog.vim

Expand Messages
  • tyru
    Jan 31, 2012
    • 0 Attachment

      It'd be better if rhs is ":<C-u>call ..." instead of ":call ..."

      2012/01/31 14:07 "mattn" <mattn.jp@...>:
      Hi.

      <leader>o make flicker. <esc> is needless.

      diff -r 54d621a3b561 runtime/ftplugin/changelog.vim
      --- a/runtime/ftplugin/changelog.vim Thu Jan 26 20:58:26 2012 +0100
      +++ b/runtime/ftplugin/changelog.vim Tue Jan 31 14:06:39 2012 +0900
      @@ -223,7 +223,7 @@
         endfunction
       
         if exists(":NewChangelogEntry") != 2
      -    noremap <buffer> <silent> <Leader>o <Esc>:call <SID>new_changelog_entry()<CR>
      +    noremap <buffer> <silent> <Leader>o :call <SID>new_changelog_entry()<CR>
           command! -nargs=0 NewChangelogEntry call s:new_changelog_entry()
         endif
       
      --

      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 10 messages in this topic