Quantcast
Channel: code – Something Odd!
Viewing all articles
Browse latest Browse all 4

Vim: Always Learning

$
0
0

Vi (or Vim in it’s modern incarnation) is a text editor. It’s a modal text editor. You can switch from insert mode to normal mode. Insert mode is where you type text into your document, and normal mode is where you type commands that do all sorts of functions. It’s incredibly powerful, incredibly complicated and even exiting the editor is not obvious. 🙂

So it’s always great when I dive into learning something new about Vim. There’s always something new to learn about Vim, even after more than twenty years of using it. I think there should be a Duolingo for Vim.

So, when you’re watched that, and watched it again, and again to understand it, have a look at the following presentation showing off the power of Vim without plugins.

When you just want to use Vim faster …

The power of Vim is in the commands. That also means it requires practice to learn those commands because they’re usually keyboard shortcuts. There’s no Edit menu to remind you to use something you just learned. With just a few core concepts and memorized keys or functions you can be very efficient at moving around or manipulating text.

It’s always Vi

Things I learned recently:

  • :set number relativenumber from the last video and this blog post.
  • :sfind is a game changer. I set the base path to my public_html and sfind will open a file in a new split without figuring out the path.
  • I need to install ctags.

And so much more ..

Related Posts

Source


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images