sponsor Vim development Vim logo Vim Book Ad

showmarks : Display marks as signs (needs +sign feat )

 script karma  Rating 23/15, Downloaded by 2205  Comments, bugs, improvements  Vim wiki

created by
Andreas Politz
 
script type
utility
 
description
ShowMarks                                                        
                                                                  
Give a visual aid to navigate marks, by displaying them as signs
(obviously needs the +signs feature).                            
                                                                  
commands                                                        
--------                                                        
                                                                  
:DoShowMarks                                                    
   show marks for current buffer                                  
:DoShowMarks!                                                    
   show marks for all buffers                                    
:NoShowMarks                                                    
   disable it for current buffer                                  
:NoShowMarks!                                                    
   disable it for all buffers                                    
                                                                  
:[count]ShowMarksOnce                                            
   Display marks for [count] Cursorhold                          
   events. Mostly for mapping it like :                          
   nnoremap ` :ShowMarksOnce<cr>`                                
                                                                  
:[count]PreviewMarks                                            
   Display marks of current buffer in pvw.                        
   Like ':marks', but at the top of the window ;-).              
   [count] is the same as above.                                  
                                                                  
variables                                                        
--------                                                        
                                                                  
let g:showmarks_marks = "abcdef...."                            
   the marks you want to have displayed.                          
hlShowMarks                                                      
   the highlight color                                            
                                                                  
I suggest you lower the value of 'updatetime'.                    
 
install details
unzip to your $vim_dir
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
showmarks.zip v0.1 2008-02-06 7.0 Andreas Politz Initial upload
ip used for rating: 107.23.85.179

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github