首页 > 系统服务 > 详细

a simple vim set for fortran

时间:2017-09-12 13:30:57      阅读:243      评论:0      收藏:0      [点我收藏+]

vim ~/.vimrc

it‘s a new file if you did not create it before

write as follows in the vimrc file

syntax on
set tabstop=4
set autoindent shiftwidth=4
set cindent
set number
let fortran_have_tabs=1
let fortran_fold=1
let fortran_fold_conditionals=1
set foldmethod=syntax



then write and quit(press esc, and then :wq)

a simple vim set for fortran

原文:http://www.cnblogs.com/zhanchao/p/7509329.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!