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/07/30 10:43] – [Vim] vid79tools:vim [2025/07/30 10:50] (current) – [Commands] vid79
Line 4: Line 4:
  
   * **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
   - Insert: for inserting text   - Insert: for inserting text
Line 23: Line 22:
   - ''i'' -> puts you in **i**nsert mode so you can freely type and move your cursor around. Says ''-- INSERT --'' in bottom left.   - ''i'' -> puts you in **i**nsert mode so you can freely type and move your cursor around. Says ''-- INSERT --'' in bottom left.
   - ''esc'' -> gets you out of insert mode   - ''esc'' -> gets you out of insert mode
 +  - '':set nu'' shows you line numbers
  
 move around move around
-  - ''0'' puts your cursor to the beginning of the line (in command mode) +  - ''0'' or ''Home'' puts your cursor to the beginning of the line (in command mode) 
-  - ''$'' puts your cursor to the end of the line (in command mode)+  - ''$'' or ''End'' puts your cursor to the end of the line (in command mode)
   - ''Shift + i'' puts your cursor to the beginning of the line and opens insert mode   - ''Shift + i'' puts your cursor to the beginning of the line and opens insert mode
   - ''Shift + a'' puts your cursor to the end of the line and opens insert mode   - ''Shift + a'' puts your cursor to the end of the line and opens insert mode