Skip to Content
CentOS 7 Linux Server Cookbook - Second Edition
book

CentOS 7 Linux Server Cookbook - Second Edition

by Jonathan Hobson
January 2016
Beginner
326 pages
9h 5m
English
Packt Publishing
Content preview from CentOS 7 Linux Server Cookbook - Second Edition

Introduction to Vim

In this recipe, we will give you a very brief introduction to the text editor, Vim, which is used as the standard text editor throughout this book. You can also use any other text editor you prefer, such as nano or emacs, instead.

Getting ready

To complete this recipe, you will require a working installation of the CentOS 7 operating system with root privileges.

How to do it...

We will start this recipe by installing the vim-enhanced package, as it contains a tutorial you can use to learn working with Vim:

  1. To begin, log in as root and install the following package:
    yum install vim-enhanced
    
  2. Afterwards, type the following command to start the Vim tutorial:
    vimtutor
    
  3. This will open the Vim tutorial in the Vim editor. To navigate, press ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering CentOS 7 Linux Server

Mastering CentOS 7 Linux Server

Mohamed Alibi, BHASKARJYOTI ROY
Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones

Publisher Resources

ISBN: 9781785887284