码迷,mamicode.com
首页 > 系统相关 > 详细

a simple vim set for fortran

时间:2017-09-12 13:37:38      阅读:237      评论:0      收藏:0      [点我收藏+]

标签:set   and   indent   not   let   stop   create   syntax   nta   

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

标签:set   and   indent   not   let   stop   create   syntax   nta   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!