use MM to not mess with NERDTree

This commit is contained in:
John Bintz 2012-05-31 14:27:55 -04:00
parent ee607c8c78
commit ea46192dae
2 changed files with 2 additions and 1 deletions

2
README
View File

@ -3,7 +3,7 @@ This is a mirror of http://www.vim.org/scripts/script.php?script_id=1026
This script uses Vim's "sign" capability to provide visual marks, similar to UltraEdit's bookmark.
1. For gvim, use "Ctrl + F2" to toggle a visual mark.
For both vim and gvim, use "mm" to toggle a visual mark.
For both vim and gvim, use "MM" to toggle a visual mark.
2. Use "F2" to navigate through the visual marks forward in the file.
3. Use "Shift + F2" to navigate backwards.

View File

@ -27,6 +27,7 @@ endif
" Public Interface:
if !hasmapto('<Plug>Vm_toggle_sign')
map <unique> <c-F2> <Plug>Vm_toggle_sign
map <unique> <S-M><S-M> <Plug>Vm_toggle_sign
endif
nnoremap <silent> <script> <Plug>Vm_toggle_sign :call Vm_toggle_sign()<cr>