LNCD

Table of Contents

  • LNCD Home
  • Administration
  • Notebooks
  • Journal Club Presentations
  • Publications
  • Current Projects
  • Completed Projects
  • Current Grants
  • Datasets by Project
  • Brain ROIs and Measures
  • ️Tools And Methods
  • Big Data
  • RA Homepage
  • Recent Changes
  • Maintenance
  • Site Map
  • Random Page
LNCD
Docs » Vim

This is an old revision of the document!


Vim

vim is a modal editor (improving on vi). It can run without graphics, is ubiquitous, powerful, and efficient but is an acquired skill.

  • MIT's “missing semester” has an excellent lecture video and notes.
  • vimtutor is a program included with vim that will guide you through usage – run it from the command line.
  • vim-wiki

vim commands

vim [file name] opens a file in vim. If that file doesn't exist or you opened it in the wrong filepath, you will see an empty blank vim that says [NEW] at the bottom

[i] puts you in insert mode so you can freely type and move your cursor around

esc gets you out of insert mode

:q quits vim

:wq saves what you wrote and quits vim

:q! does not save what you wrote and quits vim

Previous Next