Chapter 4. Creating Code Snippets
If you like using the command line, but also like some of the features associated with using graphical Integrated Development Environments (IDEs), then this chapter may reveal some new ideas to you. We can create shortcuts for commonly used script elements using the vi
or vim
text editors from the command line.
In this chapter, we will cover the following topics:
- Creating abbreviations in
.vimrc
- Reading snippets with
vim
text editor - Using color in terminal