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

news2024/11/24 15:43:07

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.coloradmin.cn/o/1069125.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

MyBatis(JavaEE进阶系列4)

目录 前言: 1.MyBatis是什么 2.为什么要学习MyBatis框架 3.MyBatis框架的搭建 3.1添加MyBatis框架 3.2设置MyBatis配置 4.根据MyBatis写法完成数据库的操作 5.MyBatis里面的增删改查操作 5.1插入语句 5.2修改语句 5.3delete语句 5.4查询语句 5.5like查…

【广州华锐互动】动物解剖学AR互动学习平台

增强现实(AR)是一种将虚拟信息叠加到现实世界中的技术。通过智能手机、平板电脑或AR眼镜等设备,AR技术可以创建出逼真的虚拟物体,这些物体可以与现实世界的环境相互交互。 AR技术在教育领域的应用非常广泛,包括历史、科…

【redis学习笔记】分布式锁

什么是分布式锁 以往的锁都是只能在当前进程中⽣效, 在分布式的这 种多个进程多个主机的场景下就⽆能为⼒了。 因此提供分布式锁,加锁就是往redis上设置一个特殊的key:value,完成操作后,释放锁就是删除这个key:value;其他服务器尝…

数据结构——多重链表的实现

//多重列表的实现 #include<stdio.h> #include<stdlib.h> struct lnode {int row,col,value; }; //没有用到down指针 //没有用到tag和next指针 typedef struct node {int tag;//区分头结点(0)和非零元素结点(1)struct node* right;struct node* down;//共用体与结…

达梦数据库 视图 错误 [22003]: 数据溢出

今天通过DBeaver连接访问达梦数据库的一个视图&#xff0c;报错&#xff1a;错误 [22003]: 数据溢出 经过分析&#xff0c;原因是视图字段的数据类型和原表的数据类型不一致造成的

加密密钥应用范围及特点优势分析

加密密钥是一种用于保护数据和信息安全的重要工具。它通过在数据传输和存储过程中对数据进行加密&#xff0c;使得未经授权的人无法访问和解读数据。加密密钥的应用范围广泛&#xff0c;包括网络通信、电子商务、金融交易、数据存储等领域。安策将对加密密钥的应用范围和特点优…

AP2400 LED电源驱动 降压恒流IC 机场灯 指示灯 交通照明灯

产品描述 AP2400 是一款 PWM 工作模式,高效率、外围简单、外驱功率管&#xff0c;适用于 5-100V输入的高精度降压 LED 恒流驱动芯片。外驱 MOS&#xff0c;最大输出电流可达 6A。AP2400 可实现三段功能切换&#xff0c;通过MODE1/2/3 切换三种功能模式&#xff1a;全亮&#xf…

PyQt5配置踩坑

安装步骤比较简单&#xff0c;这里只说一下我踩的坑&#xff0c;以及希望一些大佬可以给点建议。 一、QtDesigner 这个配置比较简单&#xff0c;直接就能用&#xff0c;我的配置如下图&#xff1a; C:\Users\lenovo\AppData\Roaming\Python\Python311\site-packages\qt5_app…

数据结构——排序算法(C语言)

本篇将详细讲一下以下排序算法&#xff1a; 直接插入排序希尔排序选择排序快速排序归并排序计数排序 排序的概念 排序&#xff1a;所谓排序&#xff0c;就是使一串记录&#xff0c;按照其中的某个或某写关键字的大小&#xff0c;按照递增或递减0排列起来的操作。 稳定性的概念…

海外网红营销:打造热门短视频的秘诀

在当今数字化时代&#xff0c;短视频已成为社交媒体上最热门的内容形式之一。无论是TikTok、Instagram、YouTube还是其他平台&#xff0c;短视频都吸引了海内外网红和品牌的注意。本文将详细探讨海外网红营销中如何打造爆款短视频&#xff0c;以便帮助品牌在竞争激烈的市场中脱…

一些常见分布-正态分布、对数正态分布、伽马分布、卡方分布、t分布、F分布等

目录 正态分布 对数正态分布 伽马分布 伽马函数 贝塔函数 伽马分布 卡方分布 F分布 t分布 附录 参考文献 本文主要介绍一些常见的分布&#xff0c;包括正态分布、对数正态分布、伽马分布、卡方分布、F分布、t分布。给出了分布的定义&#xff0c;推导了概率密度函数&…

Python实现JavaScript中AES加密有关填充问题

1. 先展示一下JS端的格式&#xff08;没找到没混淆的。。。&#xff0c;将就看吧&#xff09; 2. 在python加密中是没有选择填充模式的&#xff0c;需要自己来填充 3. 对加密不懂的朋友可能跟我一样刚开始很懵逼&#xff0c;因为遇到的基本都是pksc7填充模式&#xff0c;但是网…

解析图片文件格式

图片文件幻数 关于JPEG格式 二进制形式打开文件&#xff0c;文件开始字节为FF D8&#xff0c;文件结束两字节为FF D9 JPEG 文件有两种不同的元数据格式&#xff1a;JFIF 和 EXIF。 JFIF 以 ff d8 ff e0 开头&#xff0c;EXIF 以 ff d8 ff e1 开头。 代码示例 private static…

Visual Studio自定义模板参数、备注

模板路径&#xff1a; VS2022 x64&#xff1a;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\ItemTemplatesVS2022 x86&#xff1a;C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\ItemTemplates 一、声明和启用模板…

六、循环表达式

6.1 循环表达式语法 thymeleaf使用th:each属性可以对数组&#xff0c;集合进行循环&#xff0c;此属性用在容器元素上&#xff0c;循环生成子元素。 语法 th:each"循环出的元素 , 循环状态 : 集合或数组" .6.2、数组的循环 示例 在TestServlet中定义一个数组 …

Vue中如何进行自定义动画与动画效果设计(如CSS动画、Web动画)

当我们构建现代的Web应用程序时&#xff0c;动画和过渡效果变得越来越重要。它们可以增强用户体验&#xff0c;使用户界面更具吸引力&#xff0c;并帮助用户更好地理解应用程序的功能。Vue.js是一个流行的JavaScript框架&#xff0c;它提供了许多强大的工具和功能&#xff0c;使…

大数据技术标准推进委员会发布《地球大数据白皮书(2023年)》

导读 地球大数据的应用领域范围广阔&#xff0c;包括生态保护、自然资源管理、气象服务、城市规划、应急容灾等方面&#xff0c;但目前仍处于发展初期&#xff0c;面临着数据来源、结构多样&#xff0c;数据管理门槛高&#xff0c;数据应用场景复杂、落地方法论较少等痛点。如…

Linux系统常用指令篇---(三)

Linux系统常用指令篇—(三) 1.tree指令 ​ tree这条指令需要安装,不是自带就有的. 安装指令:yum -y install tree作用: ​ 以树状图的形式展开目录 2.which指令 which命令用于查找文件 指令在本质上就是可执行程序,因此也属于文件 3.cp指令 语法&#xff1a; cp [选项] …

【力扣每日一题】2023.10.7 股票价格跨度

目录 题目&#xff1a; 示例&#xff1a; 分析&#xff1a; 代码&#xff1a; 题目&#xff1a; 示例&#xff1a; 分析&#xff1a; 给我们一个数组表示不同时间的股票的价格&#xff0c;要我们按照顺序返回每天的股票价格跨度&#xff0c;价格跨度就是股票价格小于或等于…

如何批量获取京东商品详情数据,京东商品详情API接口

批量获取京东商品详情数据可以通过京东开放平台接口来实现。 首先&#xff0c;您需要在京东开放平台注册成为开发者并创建一个应用&#xff0c;获取到所需的App Key和App Secret等信息。然后&#xff0c;使用获取到的App Key和App Secret进行签名和认证&#xff0c;获取Access…