Parcourir la source

Dr Michael Henry suggested to change all noremap commands to nnoremap.
Using noremap is unnecessarily broad and can cause problems, especially
for select mode.

jlanzarotta il y a 11 ans
Parent
commit
e5645d6c2a
2 fichiers modifiés avec 12 ajouts et 8 suppressions
  1. 10 6
      doc/bufexplorer.txt
  2. 2 2
      plugin/bufexplorer.vim

+ 10 - 6
doc/bufexplorer.txt

@@ -1,7 +1,7 @@
-*bufexplorer.txt*              Buffer Explorer       Last Change: 19 Aug 2014
+*bufexplorer.txt*              Buffer Explorer       Last Change: 24 Oct 2014
 
 Buffer Explorer                                *buffer-explorer* *bufexplorer*
-                                Version 7.4.4
+                                Version 7.4.5
 
 Plugin for easily exploring (or browsing) Vim|:buffers|.
 
@@ -129,9 +129,9 @@ If you do not like the default key mappings of \be, \bs, and \bv, you can
 override bufexplorer's default mappings by setting up something like the
 following in your vimrc file:
 
-  noremap <silent> <F11> :BufExplorer<CR>
-  noremap <silent> <m-F11> :BufExplorerHorizontalSplit<CR>
-  noremap <silent> <c-F11> :BufExplorerVerticalSplit<CR>
+  nnoremap <silent> <F11> :BufExplorer<CR>
+  nnoremap <silent> <m-F11> :BufExplorerHorizontalSplit<CR>
+  nnoremap <silent> <c-F11> :BufExplorerVerticalSplit<CR>
 
                                                           *g:bufExplorerChgWin*
 If set, bufexplorer will bring up the selected buffer in the window specified
@@ -250,6 +250,10 @@ The default is 0, so that the size is set by Vim.
 ===============================================================================
 CHANGE LOG                                              *bufexplorer-changelog*
 
+7.4.5    October 24, 2014
+    - Dr Michael Henry suggested to change all noremap commands to nnoremap.
+      Using noremap is unnecessarily broad and can cause problems, especially
+      for select mode.
 7.4.4    August 19, 2014
     - Revert change where bufexplorer windows was closed even if the target
       buffer has not been loaded yet.
@@ -441,7 +445,7 @@ CHANGE LOG                                              *bufexplorer-changelog*
 
       But the worse thing is, when I want to save the current buffer and
       type ':w', I get another error message:
-      E382: Cannot write, 'buftype' option is set 
+      E382: Cannot write, 'buftype' option is set
       --------8<--------
 
 7.0.15   April 27, 2007

+ 2 - 2
plugin/bufexplorer.vim

@@ -36,7 +36,7 @@
 " Name Of File: bufexplorer.vim
 "  Description: Buffer Explorer Vim Plugin
 "   Maintainer: Jeff Lanzarotta (delux256-vim at yahoo dot com)
-" Last Changed: Tuesday, 19 August 2014
+" Last Changed: Friday, 24 October 2014
 "      Version: See g:bufexplorer_version for version number.
 "        Usage: This file should reside in the plugin directory and be
 "               automatically sourced.
@@ -72,7 +72,7 @@ endif
 "2}}}
 
 " Version number
-let g:bufexplorer_version = "7.4.4"
+let g:bufexplorer_version = "7.4.5"
 
 " Check for Vim version {{{2
 if v:version < 700