Article

Obsidian Source: Notes / Vim

Summary

Pending synthesis from local Obsidian source.

Original source title: Vim

Extracted Preview

(Key bindings + Commands) -> are the backbone

Basic

  • vi/vim -name_of_file (if exists, opens it, otherwise creates it)
  • :q close. :q! dismiss the changes and close.
  • i - insert mode. Esc -> mode change.
  • :w writes. :wq write and quit.
  • i(before), a(after), o(below) all are insert mode keys, but are at different modes.
  • Shift + i -> insert at beginning of line. Shift + a insert at end of line. Shift+o -> above the line
  • :set number for enabling line numbers.
  • h(left), j(down), k(up), l(right)
  • :set relativenumber
  • ~/.vimrc write all the configs.
  • v is the visual mode, for selecting the stuff.
  • y is yanking(copying) p is pasting.
  • d for deleting, dd for whole line deleting. c is same, just that it is in insert mode.
  • r is for replace mode.

Integration Notes

  • Source folder: /home/yashs/Documents/Docs/Obsidian/Research-Notes
  • Local source: /home/yashs/Documents/Docs/Obsidian/Research-Notes/Notes/Vim.md
  • Raw copy: raw/obsidian/research-notes/Notes/Vim.md

Links Created Or Updated

Open Questions