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

news/2024/5/15 23:45:10/文章来源:https://blog.csdn.net/qq_18661793/article/details/133564717

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.luyixian.cn/news_show_179825.aspx

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

相关文章

网络模型之OSI七层网络模型、TCP/IP四层网络模型

一、计算机网络是什么? 计算机网络是指由通讯网络相互连接的许多自主工作的计算机构成的集合体。 二、网络模型是干什么的? 网络模型就是研究计算机网络中各个部件是以何种规则进行通行。 三、OSI七层网络模型 OSI 是 Open System Interconnection 的…

Doris 2.0.1 DockerFile版 升级实战

1、Doris 2.0.1 DockerFile 的制作 参考 Doris 2.0.1 Dockerfile制作-CSDN博客 2、之前的Doris 集群通过 Docker容器进行的部署,需提前准备好Doris2.0.1的镜像包 参考: 集群升级 - Apache Doris Doris 升级请遵守不要跨两个及以上关键节点版本升级的…

设计模式 - 结构型模式考点篇:代理模式(静态代理、JDK 动态代理、CGLIB 动态代理)

目录 一、代理模式 一句话概括 1.1、代理模式概述 1.2、静态代理 1.3、JDK 动态代理 1.4、CGLIB 动态代理 1.5、对比三种代理 1.5.1、jdk 代理 VS CGLIB 代理 1.5.2、动态代理 VS 静态代理 1.6、优缺点 1.7、使用场景 一、代理模式 一句话概括 教你将类和对象结合再…

python代码封装二进制文件并使用C#调用方案

思路 首先使用Cython库将python代码生成二进制文件pyd,然后使用C#中的pythonnet的Nuget包来进行调用,python代码中可以使用第三方类库。 Cython使用 Cython的安装 在命令行中使用如下语句即可安装Cython pip install cythonpyd文件格式 Cython用于…

Java——StringBuffer类常用操作示例

Java——StringBuffer类常用操作 package com.yushifu.javaAPI;import java.sql.SQLOutput;//StringBuffer类(字符串缓冲区) //StringBuffer类与String的区别————StringBuffer的内容和长度都是可以改的 //StringBuffer类似于一个字符容器&#xff0…

【数据结构】栈和队列-- OJ

目录 一 用队列实现栈 二 用栈实现队列 三 设计循环队列 四 有效的括号 一 用队列实现栈 225. 用队列实现栈 - 力扣(LeetCode) typedef int QDataType; typedef struct QueueNode {struct QueueNode* next;QDataType data; }QNode;typedef struct …

pdf文档内容提取pdfplumber、PyPDF2

测试pdfplumber识别效果好些;另外pdf这两个如果超过20多页就没法识别了,结果为空 1、pdfplumber 安装:pip install pdfplumber -i http://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com代码: import pdfpl…

应用超高频RFID技术的银行款箱柜资产管理系统

背景概述 随着银行后台管理的集中化思路,对款箱的管理需要实现“安全、高效”的“管、控、营”一体化,传统的人工款箱管理模式和数据采集方式已无法满足银行管理的快速、准确要求,严重影响了银行整体运行效率。 传统的款箱管理存在以下问题…

数据结构 | (三) Stack

栈 :一种特殊的线性表,其 只允许在固定的一端进行插入和删除元素操作 。 进行数据插入和删除操作的一端称为栈顶,另一端称为栈底。栈中的数据元素遵守后进先出LIFO ( Last In First Out )的原则。 压栈:栈…

【面试经典150 | 哈希表】赎金信

文章目录 写在前面Tag题目来源题目解读解题思路方法一:哈希表方法二:数组模拟哈希表 写在最后 写在前面 本专栏专注于分析与讲解【面试经典150】算法,两到三天更新一篇文章,欢迎催更…… 专栏内容以分析题目为主,并附带…

mp4视频太大怎么压缩变小?

mp4视频太大怎么压缩变小?确实,很多培训和教学都转向了线上模式,这使得我们需要下载或分享大量的在线教学视频。然而,由于MP4视频文件通常较大,可能会遇到无法打开或发送的问题。为了解决这个问题,我们可以…

网络安全(黑客)——自学

前言: 想自学网络安全(黑客技术)首先你得了解什么是网络安全!什么是黑客 网络安全可以基于攻击和防御视角来分类,我们经常听到的 “红队”、“渗透测试” 等就是研究攻击技术,而“蓝队”、“安全运营”、“…

ToBeWritten之让响应团队参与并做好沟通

也许每个人出生的时候都以为这世界都是为他一个人而存在的,当他发现自己错的时候,他便开始长大 少走了弯路,也就错过了风景,无论如何,感谢经历 转移发布平台通知:将不再在CSDN博客发布新文章,敬…

【yolov系列:yolov7改进添加SE注意力机制】

yolo系列文章目录 学习视频: YOLOV7改进-添加注意力机制_哔哩哔哩_bilibili 文章目录 yolo系列文章目录一、SE注意力机制是什么?二、yolov7改进添加SE注意力机制1.首先从github粘贴SE.py2.复制109行的conv3.在sppc加注意力机制 三、添加注意力机制在Conc…

DM宣传单制作,利用在线模板,快速替换文字

如果你需要制作一批宣传单,但是时间很紧,而且没有专业的设计人员协助,那么你可以选择使用在线模板来快速制作宣传单。本文将介绍如何使用乔拓云平台,快速制作宣传单的方法。 步骤一:选择适合的在线制作工具 首先&…

【多线程案例】设计模式-单例模式

1.单例模式 什么是单例模式? 所谓单例,即单个实例。通过编码技巧约定某个类只能有唯一一个实例对象,并且提前在类里面创建好一个实例对象,把构造方法私有化,再对外提供获取这个实例对象的方法,&#xff0…

腾讯云/阿里云国际站免费账号:腾讯云国际站如何对象存储cos设置防盗链

简介 为了避免恶意程序使用资源 URL 盗刷公网流量或使用恶意手法盗用资源,腾讯云国际站给用户带来不必要的损失。腾讯云对象存储支持防盗链配置,建议您通过控制台的防盗链设置配置黑/白名单,来进行安全防护。 注意: 如果您访问对…

北京筑龙全面赋能!打造公共资源交易一体化整合“内蒙模式”

近日, 由内蒙古自治区公共资源交易中心(以下简称中心)与北京筑龙联合建设的内蒙古公共资源交易平台一体化整合项目顺利完成验收工作。该平台的顺利验收标志着这个以科技创新和管理创新“双创”为驱动,以实现公共资源交易全流程电子…

Headless CMS(strapi)

Headless CMS(strapi) 玩了玩微信小程序的cms,感觉还挺好的,不过目前处于公测阶段,后续应该还是要收费的,不过这个操作还挺好的。文档地址 不过其获取图片的时候默认用到的是小城云开发环境的链接样式,如果用在公开网…