Course description


GVim Course Outline

1. Introduction to GVim

  • Overview of GVim and its modes

2. GVim Modes and Navigation

  • Modes in GVim:

    • Insert (typing) mode
    • Command mode
    • Switching between modes
  • Cursor Movement:

    • Left (h), Right (l), Up (k), Down (j), Move multiple lines (10j)
    • Jump to the first line (gg), Last line (G)
    • Beginning of the line (0), End of the line (end)
    • Move by words: Next word (w), End of the word (e), Previous word (b)
    • Move to a specific line (:20, Enter)
    • Move a specific number of lines from the current position

3. Editing and Manipulating Text

  • Deleting and Cutting:
    • Delete a word (dw, n dw), Character (x, nx), Line (dd), Multiple lines (n dd)
  • Copying and Pasting:
    • Select entire file (ggVG)
    • Copy word, character, line, and multiple lines
    • Paste copied/deleted content (p), Paste multiple times (np)

4. Search and Replace

  • Search for a word in the file
  • Replace a character
  • Replace multiple characters
  • Replace a word in a specific range of lines

5. Undo and Redo

  • Undo previous changes (u)
  • Redo undone changes (Ctrl+R)

6. File Handling

  • Saving and Closing Files:
    • Save file (:w)
    • Close file without saving (:q!)
    • Save as a new file (:w new_filename)
  • Opening Files:
    • Open a file with a specific line number (vim +20 filename)
    • Open a new file in the same window (:e filename)

7. Window Management

  • Splitting Windows:
    • Horizontal split (:split filename)
    • Vertical split (:vsplit filename)
  • Navigating between Splits:
    • Move between windows
    • Resize windows:
      • Make one window bigger
      • Make all windows equal size

8. Advanced GVim Features

  • Using functions in GVim
  • Visual blocks for advanced text selection

What will i learn?

Requirements

ChipXpert Admin

₹299

₹999

Lectures

0

Skill level

Beginner

Expiry period

Lifetime

Related courses