跟着播客学英语-Why I use vim ? part one.

137684c52b7af32ecc5575055ec86074.png

why-use-vim-01.png

最近这段时间在学英语,在网上看到有网友推荐可以听英文播客提高听力水平。

正好我自己也有听播客的习惯,只不过几乎都是中文,但现在我已经尝试听了一段时间的英文播客,觉得效果还不错。

大部分都是和 IT 相关的内容,所以一些关键词还能听懂,同时也是自己的感兴趣的内容,如果是一次听不懂我就会反复收听。

今天来听第一期内容,这位作者是一位资深工程师,讲述他为什么使用 Vim 的过程。https://www.healthyhacker.com/2014/07/29/why-i-use-vim/

以下是我通过语音转文字的内容

我会精简翻译比较重要的部分,还是推荐大家去收听原始播客。

Healthy hacker episode one. Welcome to the healthy hacker, where we talk about programming, puzzles, memory, fitness, diet, and everything else that you a healthy hacker , find Interesting. I'm Chris Hunt, and on the very first episode episode one, I'm going to answer a question? I get all the time, every conference I go to, every time I start a new job, every time I pair with somebody new. And that is: Chris, why do you use Vim? At of all the text editor on the planet, why do you choose to use Vim?

作者在各种会议和新同事的接触中都会被问到这个问题:为什么你会使用 vim

It's so old it looks like crap. Why do you do it? So I'm totally going to tell you I have many various reasons why I love using Vim really excited about it, going to answer that question before we do though, we are going to talk about the workout of the week , all right. The workout of the week is a section that, uh, basically, I'm just going to take a workout I've done recently, and tell you about it, and hopefully you find the time this week to try it yourself, because every single one of these workouts you can do, I promise you.

在开始之前先聊聊本周的锻炼

Okay, so this week's workout is a workout that I've been doing for several years. You need barely no equipment. All you need is a floor. I do it at least once, when I travel, sometimes twice, sometimes three times. I think there was a point in my life where I was doing this. Work out, like three or four times a day. This is the only thing I was doing. I don't recommend that, but you should totally give it a shot at least once this week and let me know how you do, because I'm curious,

这个锻炼已经进行了许多年了,几乎不需要额外的设备,只需要一块地板。旅行的时候也会继续坚持,建议你本周至少得尝试一次。

so let's get right into it this is  A ten rep pyramid, and I'll I'll explain what that means. Basically, you want to do each exercise, one time, then two times, then three times, then four times, all the way up to ten, the top of the pyramid ten times, and then you go back down again to one, so nine, a seven until you finally end with one rep of each exercise, so the two exercises are going to do for this workout is a pushup and a shoulder press with no weight on each of these, you're just doing body weight.

做一个递增组和递减组,从每组一个动作增加到每组 10 个动作,再由十个动作一组减少到一个动作一组;每组做两个动作,俯卧撑,和坐姿推肩,都不用负重,只需要自重即可。

So I'm sure, everybody knows what a pushup is. If you don't check out the show notes, or just do a Google image search, shoulder press you may or may not be as familiar with, but it's just like it sounds. You take your hands, put them by your shoulders, and then press your hands up into the air again, just to Google. Im in search, you'll totally get what this is. So the workout is one pushup. One shoulder press, then two pushups, two shoulder presses, then three pushups, then three shoulder presses,

应该都知道俯卧撑怎么做,如果推肩不知道怎么做的话可以去 Google,都是比较简单动作;所以这个训练是一次俯卧撑,一次推肩为一个动作;然后增加到两个俯卧撑+推肩+然后是三个俯卧撑+三个推肩。

then four, five, six, seven, eight 910, and then go back down again, nine, eight, seven, six, and you finish with one push up, one shoulder, press. Now. The goal with this is to go as fast as you possibly can, but take breaks as necessary. I definitely can't do this without stopping, especially on the pushups part. So do as fast as you can. When I did this this morning, I did it in seven minutes and 28 seconds, so let me know how you do. I'm super curious if you've never done this before, it's going to seem crazy hard,

以此类推做到十次,再递减到 1 一次,目标是尽可能的快速完成。休息也是非常有必要的,我无法做到不休息全部完成,特别是在俯卧撑这个部分。非常好奇你做完的感受,如果你从来没做过的话,还是比较困难的。

but I know you can do it. By the time you finished this workout, you will have done 100 pushups and 100 shoulder presses. If it really Really Really is out of your reach, even with breaks, then you can scale this workout, decreasing your pyramid. So instead of doing a ten rep pyramid, do like a six rep pyramid or a Five Rep Pyramid, but with brakes, I know that everybody can do 100 pushups in 100 shoulder presses. It might take you a while, but you can do it, so give it a shot. All right.

但超过你的承受范围时,可以适当减少组数。

So now it's time to answer that question: why do I use Vim? Well, for starters, if you're going to learn any editor vim is a pretty good investment. It's been around for a long time over 20 years. It's open source, it runs on everything it's not like there's, a company vested in its future you know it doesn't cost you money, it's for as long as I'm programming, vim is going to be around, so if I'm going to waste time trying to master a text editor, vim is probably a good choice because it's not going anywhere

I'm not going to have to forget everything I've learned and start learning a different text editor. I can use vim for the rest of my life for all my text editor so it's a good investment of your time. Now if you do a Google search, you start looking for books for Vim, you might see Vi and Vi is actually an older editor that Vim is based on Vim stands for Vi improved, and most of them's functionality comes from Vi, so most of us, don't use Vi, some of the things I really like about vim, that Vi doesn't have is improved syntax,

highlighting for the languages I like to use mostly Ruby and Javascript. Nowadays, they're spell-checking, so when you use it for typing an emails or typing up a poll request that comes in handy, there's splits, so you can view maybe your test and your code at the same time, without having to go back and forth, you have multiple levels of undo and redo them can do diffs, or, as vi can't do diff, so you can open up two of the same files that are edited at different points of time, and see that diff in red and green it's pretty nice,

学习 vim 是一个很好的投资,它是开源的免费的,值得花时间去学习。vi 是 vim 的前身,vim 在此基础上进行了改进,比如语法高亮、输入检测等。vim 还可以分屏,可视化对比等

and then you also have scripting Vim script itself, which is, the native script language for Vim is not pretty, but you can also do scripting with other languages, like Perl, Ruby, python and Vim also has a really awesome help system with which vi does not have there's also some improvements that Vim ads that I don't really care about, I mean I took notes, obviously because I don't have all this stuff memorized, and I've titled this section dumb stuff, because it's kind of du I don't care linefolding is one editing of compressed files I don't really care about that.

Vim 还内置了脚本语言 vimscript,很好用的帮助系统,这些 vi 都没有。

You can edit files over network connections like ssh ftp http. I could say how that would be useful, but I've never wanted or had to do that, and then them also provides a graphical user interface. Usually you open this up using Gvim for graphical Vim, and that provides mouse integration, again, things I don't care about. One of the main reasons I use Vim is for speed, and not having to touch the mouse, so it's kind of silly to for me to get excited about that kind of stuff, okay So so that's the kind of the differences between Vim and Vi and why everybody uses Vim most computers now.

vim 可以通过网络连接来编辑文件,同时也提供了 GUI 界面,可以使用鼠标来操作。不过我对这个并不感兴趣,使用 vim 的主要原因就是因为速度,不需要在去触摸鼠标了(这确实也是大部分人使用 vim 的原因)

生词

It's so old it looks like crap:  它已经很老了,看起来是垃圾。crap:44343976f4a8da6f2a41c44e3cb2ac84.png

if you're going to learn any editor, vim is a pretty good investment:如果你想学习一个编辑器,Vim 是一个不错的投资。investment:80f683e6c8fd5567f5310c2b2071b059.png

definitely can't do this without stopping 我绝对不能不停下来definitely:7b56861d2ef6fe766fe26cd08fe3fa13.png

let me know how you do, because I'm curious: 告诉我你是怎么做的,我很好奇。curious65245355aaac87bb9b74852cc81cb2ae.png

You need barely no equipment. 你几乎不需要设备barely64d3a78457baa91ee2828f966b42476d.png

I don't have all this stuff memorized: 我没有记住所有这些东西stuff2941d8f5d293d25f627327526c58c042.png

往期推荐

五分钟k8s入门到实战-应用配置

Go 语言史诗级更新-循环Bug修复

Github的一个奇技淫巧

五分钟k8s实战-使用Ingress

6e5d9e9b081b46e27711506a6f730b47.png

点个在看你最好看

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.hqwc.cn/news/125974.html

如若内容造成侵权/违法违规/事实不符,请联系编程知识网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

特斯拉被称为自动驾驶领域的苹果

特斯拉的自动驾驶技术无疑是居于世界上领先地位的,有人形容特斯拉是自动驾驶汽车领域的苹果。特斯拉发布的Tesla Vision系统只配备了摄像头,不依靠雷达。 这并不是特斯拉唯一和其它对手不同的地方,他们的整个战略都是基于车队和销售产品,而其大多数竞争对手则销售自…

Vue中如何进行分布式路由配置与管理

Vue中的分布式路由配置与管理 随着现代Web应用程序的复杂性不断增加,分布式路由配置和管理成为了一个重要的主题。Vue.js作为一种流行的前端框架,提供了多种方法来管理Vue应用程序的路由。本文将深入探讨在Vue中如何进行分布式路由配置与管理&#xff0…

面试高频手撕算法 - 01背包系列

1. 前言 为什么要专门去搞一下这个背包问题呢 ? 因为作者已经在两场面试中吃了这个亏, 尤其是在面深信服的测开岗的时候, 一面的难度适中, 加上面试官也没为难我, 侥幸让我过了. (以下是一面问题) 二面的时候, 主要问了项目和手撕算法. 当时项目个人觉得面的还不错, 因为本人是…

4.MySql安装配置(更新版)

MySql安装配置 无论计算机是否有安装其他mysql,都不要卸载。 只要确定大版本是8即可,8.0.33 8.0.34 差别不大即可。 MySql下载安装适合电脑配置属性有关,一次性安装成功当然是非常好的,因为卸载步骤是非常麻烦的 如果第一次安装…

网络安全行业真的内卷了吗?网络安全就业必看

前言 有一个特别流行的词语叫做“内卷”: 城市内卷太严重了,年轻人不好找工作;教育内卷;考研内卷;当然还有计算机行业内卷…… 这里的内卷当然不是这个词原本的意思,而是“过剩”“饱和”的替代词。 按照…

docker 安装 logstash

文章目录 Logstash基本语法组成什么是Logstash配置文件:拉去镜像启动镜像 Logstash输入插件(input)1、标准输入(Stdin)2、读取文件(File) Logstash基本语法组成 什么是Logstash logstash是一个数据抽取工具,将数据从一个地方转移…

数学建模Matlab之基础操作

作者由于后续课程也要学习Matlab,并且之前也进行了一些数学建模的练习(虽然是论文手),所以花了几天零碎时间学习Matlab的基础操作,特此整理。 基本运算 a55 %加法,同理减法 b2^3 %立方 c5*2 %乘法 x 1; …

八、【快速选择工具组】

文章目录 对象选择工具快速选择工具魔棒工具 对象选择工具 当我们选择对象选择工具时,需要先注意上边有一个循环的圆,它会进行内容识别,当识别完成会停止旋转。这个时候我们按住n键,或者将鼠标放上对应的图形时会出现选中的颜色。…

windows 远程连接 ubuntu桌面xrdp

更新 sudo apt update安装组件 sudo apt-get install xorg sudo apt-get install xserver-xorg-core sudo apt-get install xorgxrdp sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utilsxrdp sudo apt install xrdp sudo systemctl status xrdp sudo …

Linux CentOS7 vim宏操作

vim的macro就是用来解决重复的问题。在vim寄存器的文章里面已经对macro有所涉及,macro的操作都是以文本的方式存放在寄存器中。 宏是一组命令的集合,应用极其广泛,包括MS Office中的word编辑器,excel编辑器和各种文本编辑器&…

使用Thrift实现跨语言RPC调用

📋 个人简介 💖 作者简介:大家好,我是阿牛,全栈领域优质创作者。😜📝 个人主页:馆主阿牛🔥🎉 支持我:点赞👍收藏⭐️留言&#x1f4d…

基于SpringBoot的智能物流管理系统

目录 前言 一、技术栈 二、系统功能介绍 顾客信息管理 员工信息管理 员工信息管理 门店信息管理 门店信息管理 订单信息管理 三、核心代码 1、登录模块 2、文件上传模块 3、代码封装 前言 随着信息技术在管理上越来越深入而广泛的应用,管理信息系统的实施…