sponsor Vim development Vim logo Vim Book Ad

casejump.vim : Jump to cases in C switch statement

 script karma  Rating 12/5, Downloaded by 1664  Comments, bugs, improvements  Vim wiki

created by
Gary Johnson
 
script type
ftplugin
 
description
This script allows users to jump to the next or previous case (or
default) in a C switch statement by typing ]s or [s, respectively.
 
install details
Put in your ~/.vim/ftplugin/c directory or rename to c_casejump.vim and
put in your ~/.vim/ftplugin directory.
 

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
casejump.vim 1.1 2003-11-29 6.0 Gary Johnson Improved the algorithm for finding the enclosing switch block, following a suggestion by Charles Campbell.
casejump.vim 1.0 2002-12-11 6.0 Gary Johnson Initial upload
ip used for rating: 52.15.63.145

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