Writing a plugin that loads quickly
lazy loading

A plugin may grow and become quite long. The startup delay may become noticeable, while you hardly ever use the plugin. Then it's time for a quickload plugin.

Read more…

Improve and Extend Your Text Objects With targets.vim

Welcome back to the Exploring Vim Plugins series ! In this series you learn how to become a little bit more productive each day by discovering awesome Vim plugins and how to master them. And today, it’s time for one of my favorites: targets.vim .

become 1 percent better

Read more…

What is your most productive shortcut with Vim?
/images/vim-keyboard-cover-macbook.thumbnail.jpg

I've heard a lot about Vim , both pros and cons. It really seems you should be (as a developer) faster with Vim than with any other editor. I'm using Vim to do some basic stuff and I'm at best 10 times less productive with Vim.

The only two things you should care about when you talk about speed (you may not care enough about them, but you should) are:

  1. Using alternatively left and right hands is the fastest way to use the keyboard.

  2. Never touching the mouse is the second way to be as fast as possible. It takes ages for you to move your hand, grab the mouse, move it, and bring it back to the keyboard (and you often have to look at the keyboard to be sure you returned your hand properly to the right place)

Here are two examples demonstrating why I'm far less productive with Vim.

Read more…

Oni 0.32 版本释出
/images/oni_release.png

注意

Since they've moved to oni2, that changed lots of things, I'm gonna flag this post as obsolete. DON'T READ!

本来对这次版本更新还有些不以为然:为何不把精力放在完善 Language Server Protocol 支持,而跑去写什么新手教程呢?直到今天尝试了下教程,又看了文字版更新内容,才明白过来:Oni 编辑器正朝着我期待的方向前进!

来看看本次更新的两个重要功能:

Read more…

电影《大空头》(The Big Short)

危险

警告!!!本文含有大量关于电影的剧透内容,请谨慎阅读。

我个人很喜欢这部电影,很大程度上是缘于它的真实。整部电影只是平铺直叙,描述事实,一路看来却依旧惊心动魄。如果你想了解 08 年那场金融海啸,这部电影提供了观察华尔街那些顶级大鳄,乃至整个金融系统如何运行的宏观视角。你也能从中管中窥豹,洞悉经济利益体的生存法则,乃至面临道德困境时的人性抉择。

那场摧毁全球经济的金融海啸,事先没有一个经济学家、监管机构或领导人敲响警钟。然而,确实有少数几个人预料到了它的到来。故事,便围绕这几个人展开。以他们的视角来审视我们的「现代经济」。

这部电影不可避免地涉及到一些经济学中的专有名词,为了便于观众理解,导演穿插了一些明星的口头阐述和解释性文字,整个台词设计也是简明形象的风格。笔者建议在观影过程中,不要过分纠结于那些专有名词(通常,它们在传统行业都能找到对应物),重点关注经济体中个体/机构的行为决策,以及对整个系统的影响。

Read more…

Contents © 2019 ashfinal - Powered by Nikola