Skip to content

vim-scripts/InsertTry.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=1090

mark some lines and type ¬t
the marked lines will be enclosed in a try block with an additional catch and finally block

Whre is the ¬ key? Feel free to change this.

customize:
:let b:java_InsertTry_Style="Java" | "C" | "JavaShort"                         default = "Java"
:let b:java_InsertTry_Goto="catch" | "."                                                   default = "catch"


About

put java's try catch around marked lines

Resources

Stars

Watchers

Forks

Packages

No packages published