Learn Docker With My Newest Course

Dive into Docker takes you from "What is Docker?" to confidently applying Docker to your own projects. It's packed with best practices and examples. Start Learning Docker →

Switching from NERDTree to Fern for a Vim Tree View Plugin

switching-from-nerdtree-to-fern-for-a-vim-tree-view-plugin.jpg

In this video we'll go over how I use Fern to view and manipulate files in Vim. It's extremely fast and supports marking multiple files.

Quick Jump:

A while back I made a video on why I use NERDTree and all of those reasons still apply for Fern too. It’s just Fern happens to be much faster and it has a couple of features that are amazing, like being able to mark multiple files and bulk rename files using a Vim buffer.

This video covers a bunch of common features of Fern and how to install / configure it.

# Demo Video of Using and Configuring Fern

Timestamps

  • 0:09 – I mainly switched from NERDTree to Fern because Fern is faster
  • 2:22 – Renaming and moving files is very nice with Fern
  • 4:25 – Performing bulk renames using a Vim buffer after marking files with Fern
  • 6:22 – Taking a look at installing and configuring Fern
  • 8:08 – Going over a couple of custom mappings (such as toggling Fern)
  • 8:34 – The new-path mapping lets you create a file or directory like NERDTree does
  • 10:10 – Toggling hidden files on and off
  • 10:16 – Reloading Fern so it’s in sync with your file system
  • 10:49 – Marking and unmarking to perform bulk actions
  • 10:58 – Using drawer mode to ensure Fern always stays open
  • 11:21 – Opening files in specific Vim splits using Fern’s letter label system
  • 13:59 – Changing the root node to move it up or down your file system
  • 14:25 – Checking out Fern’s help menu and running actions without mappings
  • 15:26 – Finding out about Fern from a blog post (yay for the internet)

Reference Links

Are you going to switch to fern or are you already using it? Let me know below.

Never Miss a Tip, Trick or Tutorial

Like you, I'm super protective of my inbox, so don't worry about getting spammed. You can expect a few emails per year (at most), and you can 1-click unsubscribe at any time. See what else you'll get too.



Comments