learnbyexample

joined 1 year ago
 

Hello!

I am pleased to announce a new version of my Vim Reference Guide ebook.

This is intended as a concise learning resource for beginner to intermediate level Vim users. It has more in common with cheatsheets than a typical text book. Topics like Regular Expressions and Macros have more detailed explanations and examples due to their complexity. I hope this guide would make it much easier for you to discover Vim features and learning resources.

Links:

Did you know that Vim has an easy mode, which is actually very hard to use for those already familiar with Vim? See my blog post for more details!

I would highly appreciate it if you'd let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn't!) and so on. Reader feedback is essential and especially so for self-published authors.

Happy learning :)

 

I rarely ever use the date command, but when I need it I almost always struggle to get the right incantation. So, wrote a blog post for easy reference.

Do you use a cheatsheet as well?

 

I wrote a TUI application to help you practice Python regular expressions. There are more than 100 exercises covering both the builtin re and third-party regex module.

If you have pipx, use pipx install regexexercises to install the app. See the repo for source code and other details.

[–] learnbyexample@programming.dev 3 points 7 months ago

I'm self-published and haven't worked for other publications. Sometimes, my submissions reach HN front page, so you might have seen there or because others picked it up from there and shared around elsewhere.

[–] learnbyexample@programming.dev 22 points 7 months ago* (last edited 7 months ago)

As per the manual, "Mappings are set up to work like most click-and-type editors" - which is best suited with GUI Vim.

While Vim doesn't make sense to use without the modes, there are plugins like https://github.com/tombh/novim-mode!

[–] learnbyexample@programming.dev 5 points 8 months ago (1 children)

I had to learn Linux CLI tools, Vim and Perl at my very first job. Have a soft spot for Perl, despite not using it much these days other than occasional one-liners (mainly for advanced regex features).

[–] learnbyexample@programming.dev 3 points 8 months ago

Thanks a lot for the kind words! Means a lot to me :)

[–] learnbyexample@programming.dev 2 points 8 months ago

I'm a bit active on book-related forums. I post reviews of books I've read, give book recommendations, etc. In this case, the author contacted me based on my reviews.

[–] learnbyexample@programming.dev 2 points 8 months ago (2 children)

Like alpha, beta, gamma readers. Used by authors to get feedback at various stages of their book before it is published. Alpha stage is very rough, like first draft. Not sure where the line lies between beta and gamma stage, but they are close to finished works - only typos and minor changes would be made based on reader feedback.

For indie authors, beta readers often help to get a few reviews out close to book publication.

[–] learnbyexample@programming.dev 2 points 8 months ago (4 children)

I'm doing a beta-read. Well written, great ideas, etc. Unfortunately, the book is turning out to be much darker than I'm comfortable with. I'll probably try to get to the halfway point before deciding to give up.

[–] learnbyexample@programming.dev 7 points 9 months ago

Bobiverse by Dennis E. Taylor is a fun and easy read

[–] learnbyexample@programming.dev 4 points 10 months ago

See also: https://github.com/pllk/cphb (Competitive Programmer's Handbook)

[–] learnbyexample@programming.dev 3 points 10 months ago (1 children)

Stormlight Archives can be daunting to those not familiar with Sanderson's works, especially since the books are long (1000+ pages) and the first book is setting up a long 10-book series (plus other stuff from a wider universe).

If you'd like something smaller and standalone to try first, check out "Emperor's Soul" (novella) or Warbreaker (novel).

[–] learnbyexample@programming.dev 3 points 10 months ago* (last edited 10 months ago)

+1 for Murderbot!

view more: ‹ prev next ›