Book Image

Working with Linux ??? Quick Hacks for the Command Line

By : Bogdan Vaida, Petru I»ôfan
Book Image

Working with Linux ??? Quick Hacks for the Command Line

By: Bogdan Vaida, Petru I»ôfan

Overview of this book

Websites, online services, databases, and pretty much every other computer that offers public services runs on Linux. From small servers to clusters, Linux is anywhere and everywhere. With such a broad usage, the demand for Linux specialists is ever growing. For the engineers out there, this means being able to develop, interconnect, and maintain Linux environments. This book will help you increase your terminal productivity by using Terminator, Guake and other tools. It will start by installing Ubuntu and will explore tools and techniques that will help you to achieve more work with less effort. Next, it will then focus on Terminator, the ultimate terminal, and vim, one of the most intelligent console editors. Futhermore, the readers will see how they can increase their command line productivity by using sed, find, tmux, network, autoenv. The readers will also see how they can edit files without leaving the terminal and use the screen space efficiently and copy-paste like a pro. Towards the end, we focus on network settings, Git hacks, and creating portable environments for development and production using Docker. Through this book, you will improve your terminal productivity by seeing how to use different tools.
Table of Contents (13 chapters)

Chapter 3. Vim kung fu

Vim's default configuration is usually pretty average. In order to better use Vim's powers, we will unleash its full potential through the help of its config files. Then, we will learn to explore some keyboard shortcuts that will help us speed up our workflow. We will also look at some commonly used plugins that make Vim even better. We will see how Vim can come in handy with its option of encrypting files for storing your passwords. The chapters will end by showing how we can automate Vim and configure a work environment easily.

In this chapter, we will be covering the following:

  • Working with Vim

  • Exploring Plugin steroids for Vim

  • Using the Vim password manager to store passwords

  • Automating Vim configuration

When it comes to being productive in the terminal, one important aspect is to never leave the terminal! And when getting stuff done, a lot of the time we find ourselves having to edit files and opening an external (GUI) editor.

Bad move!

To double our productivity, we...