Sample VIM config file
✓ Published0🌍 Public
CChristosT
Last edited Sep 5, 2018
Created on Jul 31, 2017
This sample VIM config file demonstrates how to customize the Vim text editor for Fortran and C/C++ development, focusing on indentation, folding, and key mappings. It shows how to save and restore folds automatically via `autocmd BufWinLeave` and `BufWinEnter`, and sets Fortran-specific options like `fortran_free_source`, `fortran_fold`, and `fortran_do_enddo`. The configuration also disables arrow keys in normal and insert modes using `no <down>` and `ino <down>`, and binds `F9` to toggle spell checking with `:setlocal spell`. The file originates from a GitHub gist by ChristosT and includes commented-out lines for potential plugin usage via `pathogen#infect()`.
AI-generated description