Giter Club home page Giter Club logo

neonotes's Introduction

Hello World!

Welcome to my journey through the complex world of vim! I'm only just now starting this journey with hopes that as I become more fluent with the architecture, and obvious gain the performance benefits of utilizing vim to it's full potential.

Okay let's begin

Goal

To have a neovim editor configured on github, such that the only thing I would need to install if I want to use neovim elsewhere, would be a language syntax, and the actual neovim application. I've read mainly about the configuration process, which I assume can be saved into the cloud.

Installation process

This wasn't to hard. I use two systems at the moment, Ubuntu and MacOS. For MacOS use 'brew' and for Ubuntu use 'apt' to install the latest version of neovim.

nvim tutor

Not knowing exactly how to work vim is a major pain in my butt. I'm quite terrible at not using arrow keys, let alone the mouse. Either way, nvim is better operated with simple clicks and navigational commands (this is of course what I hear).

As soon as nvim downloaded, I opened the nvim tutor and began to learn the basics! I also feel that the nvim tutor is one of the best files to squentially learn new commands in the IDE.

My inital impressions

After about 2-3 hours of watching and learning the fundamentals of vim. I can already see how I can become a faster navigator when coding.

Using the 'h','j','k','l' keys for navigating is weird. As a minecrafter in my highschool years I was more adept to the nav keys on my left hand.

Also I had a hard time escaping/leaving the insert view as Crtl-C is a new commmand I'll need to get used to. Other wise this issue is pretty trivial.

Lastly, I learned how to jump through the text. If you also go through the tutorial sections (I only made it to section 3 on my first go through) you'll be able to see how easy it is to navigated through large paragraphs, and even documents at the press of a few keys.

Cool commands:

  • dd, and variants de,dw, d$, also you can add numbers to specify how many deletions
  • w and e, and there opposites like b and ge, again addd number to specify number of navigations
  • x, r, i, a <- these are the basic remove char, replace char, insert, append commands

Day 2 of the vim takeover

So I'm not seeing the speed in my coding increase. I haven't really even tried yet which is ironic. However, I'm not quiter. Today is day number 2, and that means I should keep learning these commands.

Okay, mid study sesh review...

You can find the documentaion for any linked file with shift-K, the searching functionality in nvim is very fast.. just with a quick backslash you can find nearly anything. One thing I don't find to helpful is the search/replace functionality, there's quite a bit of specific syntax

Ex. Imagine I want to change a variables name in a particular file. :%s/word/newword/gc --provides you with a CLI to iterative go through each matching word and replace it, only if you want to.. you can pick and choose

Ex2. Imagine you have a larger file and you want to only change the words in a particular function.. And you don't need to iteratively adjust the variable names

I just made it through the vim tutor. Not much has changed since this morning, but I'm enjoying the learning process. I'm starting to feel more welcomed by the text editor

  • also i'm reading a lot about the editor, there is so much going on under the hood

  • "If you wanto teach yourself vim (this best text editor known to man kind) in the fastest way possible, start by learning the minimal to survive, and then integrate all the tricks... slowly.".

  • "Learn Vim, and it will be your last text editor"

  • "Learning vim takes weeks, not jsut a few days"

  • "Learning vim takes weeks, not jsut a few days"

hello world, and this is some testing text for my editing purposes..

neonotes's People

Contributors

deancochran avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.