Vim/Vi Copy and Paste Line

Vim/Vi Copy Line

Vim or Vi provides different keys and commands in order to copy the line. In this tutorial, we will learn how to copy lines in different ways. the yank or copy command can be used to copy the current line, multiple lines, some part of the line to the begging or end of the line. … Read more

Move End Of Line In Vim/Vi

Jump End Of Line In Vim/Vi

Vim or Vi is a command-line text editor which is very different from most of the popular text editors which are GUI-based. For GUI-based text editors generally, a mouse pointer is used for navigation over files like the jumping end of the file. Vim or Vi uses different commands and keys for navigation. In this … Read more

Quit Without Saving In Vim/Vi

Quit Without Saving In Vim/Vi

Vim or Vi is a command-line text editor which is mainly managed with the commands and key shortcuts. After making changes in a file you may want to quit or exit from Vim. In this tutorial, we will learn how to quit Vim or Vi without saving changes. Open and Make Changes In Vim First, … Read more

Copy, Cut, and Paste In Vim / Vi

Copy, Cut, and Paste In Vim / Vi

One of the most used operations when working with text files is copy, cut, and paste operations. Vim provides a lot of different and detailed features about copy, cut, and paste operations by using commands and key shortcuts. These copy, cut, and paste operations are related to each other and generally used in a row. … Read more

Where Are .vimrc and vimrc Files?

Where Are .vimrc and vimrc Files?

Vim is a popular command-line text editor that provides a lot of advanced features. These features can be configured in different ways from the Vim interface or command line or configuration files named .vimrc and vimrc . Vim Configuration Files Vim basically provides 2 configuration files. The first configuration file is named .vimrc and used … Read more

How To Save A File In Vim/Vi?

How To Save A File In Vim/Vi?

Vim is a useful command-line text editor. As a featureful text editor, Vim/Vi provides different ways and commands in order to save a file. In this tutorial, we examine how to save the file with the same name or a different name or exit after saving the file. Save File with write Command The write … Read more

How To Save File and Quit In Vim/Vi?

How To Save File and Quit In Vim/Vi?

Vim or Vi is the most advanced text editor designed for command-line usage. Vim with its predecessor Vi provides a lot of features that are more than a GUI-based text editor. When you complete the job on a file you generally save the file and exit or quit. Vim provides easy-to-use shortcuts and commands for … Read more

How To Search In Vim/Vi?

How To Search In Vim/Vi?

As a command-line tool searching different terms, words, sentences in a text can be done by using commands. Vim is a complex text editor and provides different search features like forwarding, backward search, whole word search, case-insensitive search, etc. Basic Search In the basic search, we will provide some simple terms in order to search … Read more