4.5 out of 5
4.5
212 reviews on Udemy

Vim for Ruby Developers

Learn how to automate your coding workflow and use a text editor like a professional Ruby developer.
Instructor:
Jordan Hudgens
1,500 students enrolled
English [Auto-generated] More
Build Ruby programs efficiently with a fully customized Vim environment.
Implement custom keybinding to customize Vim to match your workflow.

Have you always wanted to learn how to use the Vim text editor, but never knew where to start? Then this is the course for you. My name is Jordan Hudgens, and I’ll be your instructor for the course. In addition to being the lead instructor for devCamp I’ve also been building web applications for over a decade for organizations such as Eventbrite and Quip.

After completing this course you will know how to code with the Vim text editor. But that’s not really a big deal. If you just wanted to use a text editor there’s no point in learning Vim. Vim is more than a text editor, you can ask professional developers from around the world and they’ll tell you that Vim development is a lifestyle. Which is why I don’t stop at simply teaching you how to use the editor. After going through the basics I will show you have to use Vim like a professional Ruby developer to automate your entire development workflow. This will include learning:

  • How to process Ruby code so that it renders right inside of the file, this makes it possible to efficiently debug and build Ruby programs without even having to leave the text editor!
  • How to customize the Vim environment like a pro, including how to integrate the file system, multiple view panes, and even how to customize the keyboard shortcuts so that you can focus on your code and not the editor.
  • How to install Vim plugins, such as being able to perform fuzzy file searches and autocomplete.

This course is not for beginners, the ideal students for this material are those who have some level of Ruby experience and want to take their skills to the professional level. I won’t be teaching much Ruby code throughout these lessons, instead this course will walk through how to setup your development environment to maximize development efficiency.

In additions to the lessons, as a student you will be given access to my personal Vim setting file and a Vim cheat sheet that I’ve spent the past several years creating so that you can use it as a reference as you continue to learn how to use Vim.

Please feel free to review the course curriculum and I look forward to going through the material with you on your development journey!

Course Introduction

1
What You'll Learn in This Course

In this course you'll learn how to work with the Vim text editor from the ground up. This will include: navigation, editing, integrating plugins, customizing the development environment, and much more.

2
Vim Setting File and Vim Cheat Sheet

This written guide gives you access to my vimrc customization file and the Vim Cheat Sheet.

Navigation

1
Section Introduction

In this section you'll learn how to navigation in the Vim text editor, including learning the various keybindings that make navigation efficient.

2
Basic Commands in Vim

In this guide you'll learn how to navigate through a file using the Vim text editor, including a discussion on 'Home' and the commands you can use to work in Vim.

3
Vim Navigation Shortcuts

Learn how to efficiently navigate through a file in Vim, including keyboard shortcuts that allow you to efficiently skip through data with a single keystroke.

4
Guide to Vim Modes

This guide examines the various Vim modes, including:

  • Command mode
  • Insert mode
  • Visual mode
  • Replace mode

These modes each have a specific purpose and we walk through examples of how to use each mode to work with files in Vim.

Working with Custom Settings in Vim

1
Section Introduction

In this section you'll learn how to customize your Vim setup, including how to customize on a session and permanent basis.

2
Customizing Settings for a Single Vim Session

In this guide you'll learn how to make custom Vim setting changes that last for a single session. We will walk through how to add line numbers, remove the alert sounds, and other temporary setting changes.

3
Making Permanent Setting Changes in Vim with the vimrc File

This guide examines how to edit the vimrc file so that you can implement permanent settings in Vim that can be utilized throughout your system.

4
Creating a Base Set of Settings in Vim

In this guide we'll walk through a base setting file that you can utilize in your vimrc files. We will build on these settings throughout the rest of the course.

Editing in Vim

1
Section Introduction

This section will teach you how to edit a text file in Vim, including advanced editing techniques that will allow you to edit files efficiently.

2
Basic Editing Commands in Vim

This guide walks through the basic editing commands that you can use in Vim.

3
Advanced Editing Commands in Vim

Since one of the top reasons to use Vim is efficiency, this guide focuses on efficient ways that you can edit files. Included in this lesson is a walk through on how to quickly edit HTML, JavaScript and CSS files.

4
Basic Copy, Paste, and Cut Commands in Vim

This guide examines how to perform copy, cut, and paste commands, along with how to copy/cut selected items along with entire lines of code by leveraging the delete and yank processes.

5
How to Copy and Paste in Visual Mode

In this guide you'll learn how to copy and paste items while working in Vim's Visual mode.

6
Pasting from the System Clipboard

In this guide you'll learn how to paste into Vim from the system clipboard using the "+P command.

7
Introduction to Deleting in Vim

In this lesson you'll learn how to delete items in Vim, including various ways that you can remove items from a page.

8
Advanced Delete Commands in Vim

In this guide we'll walk through advanced commands you can run to delete items in Vim, including how to remove all the comments from a page in a Rails application with a single command.

9
Vim Editing Quiz

This quiz will test your knowledge of how to edit in Vim.

Searching and Selecting

1
Section Introduction

In this section you'll learn how to search and perform selections in Vim. We'll also cover how to quickly find and replace text using regular expressions.

2
Basic Select Commands in Vim

In this guide you'll learn the various ways that you can select items inside of Vim, specifically walking through the options provided by Vim's Visual mode.

3
How to Search Inside of a File

This lesson teaches you how to perform basic search commands in Vim, I also walk through how to update your Vim settings to add features such as highlighting and case insensitive search.

4
Finding and Replacing Items in Vim

This guide examines the process for finding and replacing items inside of Vim by leveraging the %s command and passing it regular expressions.

5
Searching and Selecting Quiz

This guide walks through how to search and select items in Vim.

Advanced Vim Processes for Ruby Developers

1
Section Introduction

In this section you'll learn how to work with specific ways that you build Ruby programs by leveraging automated Vim workflows.

2
Commenting and Uncommenting Ruby Code in Vim

In this guide you'll learn how to command and uncomment Ruby code from within a vim file, including a comparison between Vim and Sublime Text.

3
Running a Terminal Session in Vim

In this lesson you'll learn how to run terminal commands directly from within Vim, this includes the ability to run Ruby code, RSpec tests, and any other Terminal command.

4
Implementing Standard and Smart Indentation Rules in Vim

In this guide you'll learn how to automate your indentation rules inside of a Vim file, including standard and smart indentation behavior.

5
How to Manually Indent in Vim

This guide walks through how to manually indent lines inside of Vim.

6
Ruby Shortcuts in Vim Quiz

This quiz will test your knowledge of shortcuts for Ruby development.

Vim View Management

1
Section Introduction

In this section you'll learn how to work with views in Vim, including how to work with: multiple panes, background jobs, and how to customize pane size.

2
Showing Multiple View Panes at the Same Time in Vim

In this guide you'll learn how to split your view panes horizontally and vertically so that you can view multiple files at the same time in Vim.

3
Dynamically Resizing Window Pane Sizes

This guide walks through how to create custom Vim keybindings that will allow you implement custom behavior while using Vim. Specifically we'll use the example of dynamically resizing window panes in Vim.

4
Working with Multiple files in Vim

This guide explains how you can work with multiple files in Vim by leveraging the :e command.

5
Working with Background Jobs

This guide will teach you how to leverage Unix based background jobs to suspend Vim session and then how to return to them.

6
Views in Vim Quiz

This quiz tests your knowledge of working with multiple views and files in Vim.

Auto Processing Ruby Code

1
Section Introduction

In this section you'll learn how to implement a powerful too: how to render Ruby code inside of a file, right next to the Ruby code that you right. This is how you can replicate the type of behavior that Rubyists such as Avdi Grimm uses in his RubyTapas video (except that he uses Emacs).

2
How to Auto Render Ruby Code in Vim

This guide examines how you can utilize the Seeing Is Believing RubyGem to auto render Ruby code while inside of Vim, including how to add a custom keybinding for running the code.

Guide to Vim Plugins

1
Section Introduction

In this section you'll learn how to work with Vim plugins, including how to install and manage plugins, including Fuzzy Search, Nerd Tree, and other tools that help make your experience as efficient as possible.

2
Implementing File Fuzzy Search in Vim with CtrlP Plugin

Learn how to integrate the Ctrl P plugin in order to utilize Fuzzy Search inside of Vim, this is especially helpful when working on Ruby on Rails applications.

3
Integrating NERDTree for Adding a File System Pane to Vim

In this guide you'll learn how to integrate the NERDTree plugin so that you can have access to an application's file system while working in Vim.

4
Implementing the Endwise Plugin for Smart Auto Complete Behavior in Vim

This guide walks through how to integrate the Endwise Vim plugin in order to add Ruby based auto completion.This include behavior such as adding an `end` to methods and conditionals.

5
Integrate the Supertab Plugin for Efficient Tab Completion in Vim

Learn how to integrate the Supertab plugin into Vim in order to allow for tab based autocompletion of commonly used words in a file.

6
Installing the Pathogen Plugin Manager

Learn how to integrate the Pathogen plugin manager in order to make the plugin installation process more efficient.

Guide to Vim Macros

1
Section Introduction

In this section you'll learn how to work with Vim macros. This will allow for you to create automated behavior, such as quickly replicating stored processes.

2
How to Record Vim Macros in Code Files to Automate Processes

Learn how to create macros in Vim to automate processes and help save you time as a developer on repetitive tasks. For the demo I walk through how to efficiently style CSS and HTML code.

3
Macros Quiz

This quiz tests your knowledge of the commands required to run macros in Vim.

Bonus Development Tools

1
Section Introduction

In this section you'll learn how to work with additional tools to aid your Ruby development. This will include how to perform universal code search queries and implementing the tree tool.

2
How to Run an Universal Search Query from the Terminal Using Grep

This guide will teach you how to run a universal search query through the file system using the grep command. It also compares the search process from the terminal with the process of searching with the Sublime Text editor.

3
Running a Case Insensitive Search Query with Grep

This guide extends the lesson on searching through files with grep and shows how to add the option for searching with a case insensitive option.

4
Installing and Working with the 'tree' Command from the Terminal

Learn how to install the 'tree' command and run it in order to quickly analyze the file system for a specific file path.

5
Tools Quiz

This quiz will test your knowledge of the commands learned in the Tools section.

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.5
4.5 out of 5
212 Ratings

Detailed Rating

Stars 5
133
Stars 4
59
Stars 3
16
Stars 2
2
Stars 1
2
b5a12a96cd2f4cc80839fc7003c6aa4f
30-Day Money-Back Guarantee

Includes

3 hours on-demand video
1 article
Full lifetime access
Access on mobile and TV
Certificate of Completion