We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 21eb3fc + b1655ff commit 17798a0Copy full SHA for 17798a0
.vimrc
@@ -143,7 +143,7 @@ func SetTitle()
143
call append(line(".")+7, "")
144
endif
145
" if &filetype == 'java'
146
-" call append(line(".")+6,"public class ".expand("%"))
+" call append(line(".")+6,"public class ".strpart(expand("%d"),0,strlen(expand("%"))-5))
147
" call append(line(".")+7,"")
148
" endif
149
"新建文件后,自动定位到文件末尾
0 commit comments