Vim - 1 How to Open a File With Vim

Written by artwalker | Published 2024/01/04
Tech Story Tags: vim-editor | vim | how-to-use-vim | vim-beginners-guide | open-a-file-with-vim | how-to-open-a-file-with-vim | vim-for-dummies | vim-for-noobs

TLDRExplore Vim commands: navigate, edit, and save files efficiently in Vim, from moving between lines to inserting text, all essential for seamless editing.via the TL;DR App

Use the Vim editor

vim filename.type

Command mode

  • :1 - Go to the first line

  • :$ - Go to the last line

  • :number - Go to the line that you want to go

Insert mode

  • i - Enter the insert mode, you can type the text whatever you want

  • Esc - back to command mode from insert mode

  • :w - Make the text you type into the document

  • :q - Quit the vim editor


Written by artwalker | Passionate about Crafting Intelligent OS & Pioneering TinyML Applications for Resource-Constrained Devices
Published by HackerNoon on 2024/01/04