当前位置: 首页 > news >正文

东莞建设网站平台微网站绑定域名

东莞建设网站平台,微网站绑定域名,淘宝客怎么做推广网站,有哪个网站是成都中科大旗做的在上一期作者讲到了他使用 Vim 的主要原因是提高效率#xff0c;不需要再去使用鼠标#xff0c;今天我们继续上次未听完的内容#xff1a; if you type Vi, thats going to be alias to Vim anyway by default theres, not really a good reason for you to use vi that I c… 在上一期作者讲到了他使用 Vim 的主要原因是提高效率不需要再去使用鼠标今天我们继续上次未听完的内容 if you type Vi, thats going to be alias to Vim anyway by default theres, not really a good reason for you to use vi that I can think of. The reason I first started using Vim is kind of a silly one, and that is because my brother used it, uh, my brother, Nick, he climbs mountains for a living. Right now, he lives in Seattle and goes up and down rain near when it gets too cold to climb. Rainer? He goes to the other side of the world and leads, climbs up mountains over there, and then comes back again and starts climb a rain air over and over and over again. Before he did that, though, he used to do quite a bit of programming, and I remember when I would watch him program because he started programming before me, he looked like a real hacker. He looked like the hackers you see on TV. He never touched the mouse. There was text flying out all over the screen files, opening, closing splits. It was awesome. It was like I wanted to be that person you. Know and He was using vim. I didnt know it was Vim, but thats what he was using. So I opened Vim. I tried to edit some files I was using Eclipse at the time and doing Java. 作者首次使用 Vim 的 原因有点傻因为他的哥哥 Nick 做了很长时间的编程一直使用的都是 Vim看起来就行是电视里真正的黑客那样他从不使用鼠标文字也在屏幕里乱飞看起来非常酷。而那个时候作者还在使用 eclipse 编写 Java This is like my first year of college, I was taking an introductory to programming class. Its the first programming Ive ever done, and I thought Eclipse was great. It compiled my code for me. It had buttons for everything, but I didnt feel like a real hacker when I looked at nick. I mean, granted, he was writing C, which already looks way cooler. He was using Vim as well, and it just impressed me, so I try to start opening up some of my Java files, and I have no idea how to do it. No idea how to edit a file I have no idea how to save a file I have no idea how to type in the document for crying out loud. If I press keys, it does nothing. Sometimes a delete words, sometimes at pacewords, its a mess, and this is probably the first experience that everybody has when they start using Vim, because Vim operates completely different than any other text editor Ive ever used its weird them has modes, it has a language, it has objects, subjects, counts, verbs. All that stuff is, like, really weird when you first get started, but once you understand it, its a lot of learning upfront everything, just kind of clicks and youre instantly faster than youve ever been before, eclipse 很好用但看起来没有 Nick 使用 Vim 那么酷使得作者印象深刻。 因此他尝试使用 Vim 来打开 Java 文件但却不知道如何编辑、删除、保存等基本操作大部分初次使用 Vim 应该都会碰到这些问题它和我们使用的其他编辑器完全不同看起来比较奇怪。 不过一旦你掌握它那么使用效率将会飞速提高。 for example, lets say, we wanted to copy a method from one ruby file and put it in another. If I was using sublime text, I would take my mouse. I would select that method Id press command c to copy it, and then Id click over to where I want the method to be, and Id press command v to paste it. Not very bad thats pretty fast probably doesnt take very long, but in Vim, you can do it even faster and without touching your mouse, them has a verb for yanking text its not called copying its, called yanking. It has a movement called inside, so you can yank inside something, and then it has subjects called text blocks, which, in Ruby, those are methods. Vim understands blocks of text if youre editing a markdown document like, say, a read me, themll know where a paragraph starts and where a paragraph ends, if were editing a ruby file its going to know where a method begins and where a method ends, or where your class begins or where your class ends, so using the Verb Yank, which happens to be the key Y, 如果我们使用 sublime 这样的编辑器复制一个方法时会比较麻烦首先要用鼠标选中文本然后复制再粘贴。但使用 Vim 时不需要使用鼠标而是被称为 Yanking当编辑  Markdown 时 Vim 会知道段落的开始和结尾编辑 Ruby 时可以方法的开始和结尾。 and then the movement inside, which happens to be the key I, and then the subject paragraph, which is vims word for a block of text, you can yank a method. So if I put my cursor inside a ruby method and I type Y I P. For yank inside paragraph, its going to copy that method to the clipboard. So by understanding the verb, yank the movement inside and the subject paragraph, we can perform actions really, really quickly, and then if we want to pace it somewhere else, we press the peaky for paste, and itll stick that text down, so everything in Vim is based on those concepts of verbs, movements and subjects. You also have one more thing you can play with, and that is counts, so if you want to perform something multiple times, in most cases, you can stick a number in front of it like one, two, three, five, and its going to do it that many times, understanding those basic concepts, gets you a really long way, and then its just a matter of understanding which keys correspond to which verbs and which movements and which subjects, 在 vim 中只需要将光标移动到方法中然后使用 YIP 就可以复制整个方法。所以只要理解了这些基本概念就可以快速提高效率。 and that just comes with time, which is the third reason I like to use Vim. Is there so much stuff to learn whenever I get bored? All I got to do is pull up them help, and I could start learning stuff in every little thing, I learn, every little keyboard shortcut, every movement, every subject, gets me a little bit faster, and it doesnt seem like a lot like the example I gave earlier, of copying and pasting text and sublime with a mouse that doesnt take very long. But if you add up all those little bits, youre saving a ton of time, a good analogy I like to use is lifting weights if Im squatting 100 pounds, and I take a little, teeny, tiny two and a half pound plate, and I put it on each side of the barbell I probably wont, even notice it, I mean, Ill be squatting 105 pounds now, right, thats not really that big of a difference, but if I add those two and a half pound plates 60 more times, going in once a day, and doing that, Im now squatting 400 pounds, which is a pretty big difference, so those little changes dont seem like a lot, 我喜欢使用 Vim 的一个原因是可以学到许多东西每学一些都可以让自己的效率提高一点。就像是我们深蹲一样慢慢的加重量反复尝试最终就能得到巨大的提升。 but taken as a whole, youre editing text way faster than people who arent using vim. The last reason I like to use Vim is because it runs in the terminal, and this may not seem like a big deal, but it really is cosmetically, its nice because you can just pop a terminal open, full screen and have no chrome I use mac os, so Ive got that big menu bar on top, its really nice to just full screen a terminal and not see anything at all, and have your command line tools and your text editor all running in the same window I happen to use tmucks to manage that stuff I wont talk about Tmux and now, but I definitely will talk about it in another episode, but even out of the cosmetic reasons, its nice to have a text editor that runs in the terminal because youre not always using your own machine right as web developers, Im a web developer, were always connecting to remote machines to edit files. Now, why is it that we should be forced to use a different text editor? The nice thing about Vim is it runs in the terminal, so every machine you connect to will likely already have Vim installed, but even if it doesnt you can install it, and you can put your config files over there and you can make it so that no matter where youre editing text youre always in the same environment, which is awesome. Before I started using Vim out, connect a remote machines, and, and be forced to use some textset or Im not familiar with, and it drove me nuts, but now I sometimes forget Im on a remote machine because its exactly the same as the machine I use at home, so if youve never tried them, or maybe you tried it in the past, and it was super confusing or really turned you off. 最后一个使用 Vim 的 原因是它可以在终端中运行不仅可以使用自己的设备还可以连接到远程设备去编辑文件还可以使用相同的配置文件使得所有的环境配置都是相同的 Give it a second shot theres, a great stack overflow article that just kind of rehashs a lot of the things I said here, but its just its also just fun to read it talks about the core concepts of vi, the editor that Vim is based on, and I put a link to that in the shownotes theres, also, them casts by Drew Neil, which is a screencast series thats totally free, and he covers a lot of advanced concepts hes got a little bit of beginner stuff in there as well. You can also just open up a terminal and type vim tutor and Vims going to give you a little lesson in how to use Vim, give it a shot thats all Ive got for this week, you can find the shownotes at healthy hacker Dot Com, slash one, if you have any questions or feedback, send me a voicemail healthy hacker, Dot Com Slash Voicemail. 在 stack overflow 中有着各种教程大家可以尝试一下。 生词 The reason I first started using Vim is kind of a silly one 我第一次使用 Vim 的原因有点傻。 its a mess搞砸了 a good analogy I like to use is lifting weights if Im squatting 100 pounds, but it really is cosmetically, 跟着播客学英语-Why I use vim ? part one. 五分钟k8s入门到实战-应用配置 Go 语言史诗级更新-循环Bug修复 Github的一个奇技淫巧 点个在看你最好看
http://www.w-s-a.com/news/120721/

相关文章:

  • 自适应网站制作公司做室内设计通常上的网站
  • 网站建设项目采购公告建设网站公司建网页
  • 自己做网站怎么推广网站建设应该考虑哪些方面
  • 我做的网站手机上不了wordpress插件整站搬家
  • 河南省和建设厅网站首页西安找建网站公司
  • 网页设计基础代码网站进出成都最新通知
  • 如何创建网站乐清网络科技有限公司
  • 沈阳市网站制作艺术字体logo设计生成器
  • 网站设计常用软件都有哪些中国建设银行官方招聘网站
  • 证券投资网站建设视频直播怎么赚钱的
  • 建设酒店网站ppt模板下载郑州小程序设计外包
  • 网站建设自我总结google推广公司
  • 安全网站建设情况wordpress 评论表单
  • 网站建设发言材料个人网站推广软件
  • php建站软件哪个好南京哪家做网站好
  • 排名好的手机网站建设番禺网站建设专家
  • 番禺怎么读百度有专做优化的没
  • 网站开发中应注意哪些问题网络营销的主要特点
  • 网站定制案例北京网站制作招聘网
  • 网站建设与推广实训小结网站建设专业英文
  • 郑州网站建设动态凡科网站建设是免费的吗
  • 湖北手机网站建设wordpress转emlog博客
  • 北京东站设计网名的花样符号
  • 安徽建设厅网站首页网站开发aichengkeji
  • 自贡网站制作荣茂网站建设
  • 什么做的网站吗正规的机械外包加工订单网
  • 网络工程公司的业务邵阳seo快速排名
  • 博主怎么赚钱网站seo找准隐迅推
  • 营销号经典废话北京网站建设公司网站优化资讯
  • 一六八互联网站建设怎么做套版网站