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
Admin » Vim

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:vim [2025/10/07 13:52] – [Commands] vid79tools:vim [2025/10/07 14:35] (current) – [Commands] vid79
Line 3: Line 3:
 ''vim'' is a modal editor (improving on vi). It can run without graphics, is ubiquitous, powerful, and efficient but is an acquired skill. ''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 summary of vim functions [[https://missing.csail.mit.edu/2020/editors/|video and notes]].** +**MIT's "missing semester" has an excellent summary of vim functions [[https://missing.csail.mit.edu/2020/editors/|video and notes]].** 
 Vim’s design is based on the idea that a lot of programmer time is spent reading, navigating, and making small edits, as opposed to writing long streams of text. For this reason, Vim has multiple operating modes. Vim’s design is based on the idea that a lot of programmer time is spent reading, navigating, and making small edits, as opposed to writing long streams of text. For this reason, Vim has multiple operating modes.
   - Normal: for moving around a file and making edits   - Normal: for moving around a file and making edits
Line 33: Line 33:
 Copy and paste Copy and paste
   * Click ''v'' to put you in visual mode   * Click ''v'' to put you in visual mode
-  * move your cursor to highlight the words you want to copy and press ''d''+  * to cut- move your cursor to highlight the words you want to cut and press ''d'' 
 +  * to copy- move your cursor to highlight the words you want to copy and press ''y''
   * move your cursor to where you want to paste words and press ''p''   * move your cursor to where you want to paste words and press ''p''