mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-02-03 23:40:14 +08:00
finish translating
This commit is contained in:
parent
9d353e9cb1
commit
202eacbccd
@ -1,99 +0,0 @@
|
||||
[#]: collector: (lujun9972)
|
||||
[#]: translator: (JonnieWayy)
|
||||
[#]: reviewer: ( )
|
||||
[#]: publisher: ( )
|
||||
[#]: url: ( )
|
||||
[#]: subject: (Book Review: A Byte of Vim)
|
||||
[#]: via: (https://itsfoss.com/book-review-a-byte-of-vim/)
|
||||
[#]: author: (John Paul https://itsfoss.com/author/john/)
|
||||
|
||||
Book Review: A Byte of Vim
|
||||
======
|
||||
|
||||
[Vim][1] is a tool that is both simple and very powerful. Most new users will be intimidated by it because it doesn’t ‘work’ like regular graphical text editors. The ‘unusual’ keyboard shortcuts makes people wonder about [how to save and exit Vim][2]. But once you master Vim, there is nothing like it.
|
||||
|
||||
There are numerous [Vim resources available online][3]. We have covered some Vim tricks on It’s FOSS as well. Apart from online resources, plenty of books have been dedicated to this editor as well. Today, we will look at one of such book that is designed to make Vim easy for most users to understand. The book we will be discussing is [A Byte of Vim][4] by [Swaroop C H][5].
|
||||
|
||||
The author [Swaroop C H][6] has worked in computing for over a decade. He previously worked at Yahoo and Adobe. Out of college, he made money by selling Linux CDs. He started a number of businesses, including an iPod charger named ion. He is currently an engineering manager for the AI team at [Helpshift][7].
|
||||
|
||||
### A Byte of Vim
|
||||
|
||||
![][8]
|
||||
|
||||
Like all good books, A Byte of Vim starts by talking about what Vim is: “a computer program used for writing any kind of text”. He does on to say, “What makes Vim special is that it is one of those few software which is both simple and powerful.”
|
||||
|
||||
Before diving into telling how to use Vim, Swaroop tells the reader how to install Vim for Windows, Mac, Linux, and BSD. Once the installation is complete, he runs you through how to launch Vim and how to create your first file.
|
||||
|
||||
Next, Swaroop discusses the different modes of Vim and how to navigate around your document using Vim’s keyboard shortcuts. This is followed by the basics of editing a document with Vim, including the Vim version of cut/copy/paste and undo/redo.
|
||||
|
||||
Once the editing basics are covered, Swaroop talks about using Vim to edit multiple parts of a single document. You can also multiple tabs and windows to edit multiple documents at the same time.
|
||||
|
||||
[][9]
|
||||
|
||||
Suggested read Bring Your Old Computer Back to Life With 4MLinux
|
||||
|
||||
The book also covers extending the functionality of Vim through scripting and installing plugins. There are two ways to using scripts in Vim, use Vim’s built-in scripting language or using a programming language like Python or Perl to access Vim’s internals. There are five types of Vim plugins that can be written or downloaded: vimrc, global plugin, filetype plugin, syntax highlighting plugin, and compiler plugin.
|
||||
|
||||
In a separate section, Swaroop C H covers the features of Vim that make it good for programming. These features include syntax highlighting, smart indentation, support for shell commands, omnicompletion, and the ability to be used as an IDE.
|
||||
|
||||
#### Getting the ‘A Byte of Vim’ book and contributing to it
|
||||
|
||||
A Byte of Book is licensed under [Creative Commons 4.0][10]. You can read an online version of the book for free on [the author’s website][4]. You can also download a [PDF][11], [Epub][12], or [Mobi][13] for free.
|
||||
|
||||
[Get A Byte of Vim for FREE][4]
|
||||
|
||||
If you prefer reading a [hard copy][14], you have that option, as well.
|
||||
|
||||
Please note that the _**original version of A Byte of Vim was written in 2008**_ and converted to PDf. Unfortunately, Swaroop C H lost the original source files and he is working to convert the book to [Markdown][15]. If you would like to help, please visit the [book’s GitHub page][16].
|
||||
|
||||
Preview | Product | Price |
|
||||
---|---|---|---
|
||||
![Mastering Vim Quickly: From WTF to OMG in no time][17] ![Mastering Vim Quickly: From WTF to OMG in no time][17] | [Mastering Vim Quickly: From WTF to OMG in no time][18] | $34.00[][19] | [Buy on Amazon][20]
|
||||
|
||||
#### Conclusion
|
||||
|
||||
When I first stared into the angry maw that is Vim, I did not have a clue what to do. I wish that I had known about A Byte of Vim then. This book is a good resource for anyone learning about Linux, especially if you are getting into the command line.
|
||||
|
||||
Have you read [A Byte of Vim][4] by Swaroop C H? If yes, how do you find it? If not, what is your favorite book on an open source topic? Let us know in the comments below.
|
||||
|
||||
[][21]
|
||||
|
||||
Suggested read Iridium Browser: A Browser for the Privacy Conscious
|
||||
|
||||
If you found this article interesting, please take a minute to share it on social media, Hacker News or [Reddit][22].
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://itsfoss.com/book-review-a-byte-of-vim/
|
||||
|
||||
作者:[John Paul][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://itsfoss.com/author/john/
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://www.vim.org/
|
||||
[2]: https://itsfoss.com/how-to-exit-vim/
|
||||
[3]: https://linuxhandbook.com/basic-vim-commands/
|
||||
[4]: https://vim.swaroopch.com/
|
||||
[5]: https://swaroopch.com/
|
||||
[6]: https://swaroopch.com/about/
|
||||
[7]: https://www.helpshift.com/
|
||||
[8]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/06/Byte-of-vim-book.png?resize=800%2C450&ssl=1
|
||||
[9]: https://itsfoss.com/4mlinux-review/
|
||||
[10]: https://creativecommons.org/licenses/by/4.0/
|
||||
[11]: https://www.gitbook.com/download/pdf/book/swaroopch/byte-of-vim
|
||||
[12]: https://www.gitbook.com/download/epub/book/swaroopch/byte-of-vim
|
||||
[13]: https://www.gitbook.com/download/mobi/book/swaroopch/byte-of-vim
|
||||
[14]: https://swaroopch.com/buybook/
|
||||
[15]: https://itsfoss.com/best-markdown-editors-linux/
|
||||
[16]: https://github.com/swaroopch/byte-of-vim#status-incomplete
|
||||
[17]: https://i2.wp.com/images-na.ssl-images-amazon.com/images/I/41itW8furUL._SL160_.jpg?ssl=1
|
||||
[18]: https://www.amazon.com/Mastering-Vim-Quickly-WTF-time/dp/1983325740?SubscriptionId=AKIAJ3N3QBK3ZHDGU54Q&tag=chmod7mediate-20&linkCode=xm2&camp=2025&creative=165953&creativeASIN=1983325740 (Mastering Vim Quickly: From WTF to OMG in no time)
|
||||
[19]: https://www.amazon.com/gp/prime/?tag=chmod7mediate-20 (Amazon Prime)
|
||||
[20]: https://www.amazon.com/Mastering-Vim-Quickly-WTF-time/dp/1983325740?SubscriptionId=AKIAJ3N3QBK3ZHDGU54Q&tag=chmod7mediate-20&linkCode=xm2&camp=2025&creative=165953&creativeASIN=1983325740 (Buy on Amazon)
|
||||
[21]: https://itsfoss.com/iridium-browser-review/
|
||||
[22]: http://reddit.com/r/linuxusersgroup
|
100
translated/tech/20190624 Book Review- A Byte of Vim.md
Normal file
100
translated/tech/20190624 Book Review- A Byte of Vim.md
Normal file
@ -0,0 +1,100 @@
|
||||
[#]: collector: (lujun9972)
|
||||
[#]: translator: (JonnieWayy)
|
||||
[#]: reviewer: ( )
|
||||
[#]: publisher: ( )
|
||||
[#]: url: ( )
|
||||
[#]: subject: (Book Review: A Byte of Vim)
|
||||
[#]: via: (https://itsfoss.com/book-review-a-byte-of-vim/)
|
||||
[#]: author: (John Paul https://itsfoss.com/author/john/)
|
||||
|
||||
书评:A Byte of Vim
|
||||
======
|
||||
|
||||
[Vim][1]是一个简单而又强大的文本编辑工具。大多数新用户都会被它吓倒,因为它不像常规的图形化文本编辑器那样“工作”。Vim“不寻常”的键盘快捷键让人很好奇[如何保存并退出Vim][2]. 但一旦你掌握了Vim,就不会再产生这样的问题了。
|
||||
|
||||
网上有大量的[Vim资源][3]。我们也在It's FOSS上介绍了一些Vim技巧。除了线上资源,也有很多书致力于介绍这个编辑器。今天,我们要介绍的是一本旨在使Vim易于大多数用户理解的书。我们将讨论的书是[Swaroop C H][5]的[《A Byte of Vim》][4]。
|
||||
|
||||
本书作者[Swaroop C H]已经在计算机领域工作了十余年。他曾在Yahoo和Adobe工作过。大学毕业后,他通过售卖Linux CD赚钱。他曾多次创业,包括一个名为ion的iPod充电器。他目前是[Helpshift][7] AI团队的工程经理。
|
||||
|
||||
### A Byte of Vim
|
||||
|
||||
![][8]
|
||||
|
||||
和所有好书一样,《A Byte of Vim》从谈论什么是Vim开始:“一个用于写各类文本的电脑程序。”他继续说道,“Vim之所以与众不同,是因为它是为数不多的既简单又强大的软件之一。”
|
||||
|
||||
在深入讲解如何使用Vim之前,Swaroop先告诉读者如何在Windows、Mac、Linux和BSD上安装Vim。安装完成后,他将进而指导读者完成如何启动Vim,以及如何创建第一个文件。
|
||||
|
||||
接着,Swaroop讨论了Vim的不同模式,以及如何通过Vim的键盘快捷键在文档中浏览。接着是使用Vim编辑文档的基础知识,包括剪切/赋值/粘帖以及撤销/重做的Vim版本。
|
||||
|
||||
在涵盖了编辑基础知识后,Swaroop讨论了使用Vim编辑单个文档的多个部分。读者也可以使用多个标签和窗口来同时编辑多个文档。
|
||||
|
||||
[][9]
|
||||
|
||||
推荐阅读 《Bring Your Old Computer Back to Life With 4MLinux》
|
||||
|
||||
本书还涵盖了通过编写脚本和安装插件来扩展Vim的功能。在Vim中使用脚本有两种方法,一种是使用Vim的内置脚本语言,另一种是使用Python或Perl等编程语言来访问Vim的内核。可以编写或下载五种类型的Vim插件:vimrc,全局插件,文件类型插件,语法突出显示插件和编译器插件。
|
||||
|
||||
在独立的部分中,Swaroop C H涵盖了使Vim更适合编程的特点。这些功能包括语法高亮、智能缩进、对Shell命令的支持、全能补全以及可用作IDE的功能。
|
||||
|
||||
#### 获取《A Byte of Vim》一书并为之贡献
|
||||
|
||||
《A Byte of Vim》由[Creative Commons 4.0][10]许可。读者可以在[作者的主页][4]上免费阅读其在线版本。您也可以免费下载其[PDF][11]、[Epub][12]或者[Mobi][13]版本。
|
||||
|
||||
[免费获取《A Byte of Vim》][4]
|
||||
|
||||
如果您更喜欢阅读[纸质版本][14],你也可以选择该选项。
|
||||
|
||||
请注意,** Vim字节的原始版本写于2008**,并转换为PDf。不幸的是,Swaroop CH丢失了原始源文件。他正在努力将该书转换为[Markdown][15]。如果您想提供帮助,请访问[图书的GitHub页面][16]。
|
||||
|
||||
|
||||
| 简介 | 产品 | 价格 |
|
||||
| --- | --- | --- |
|
||||
| ![快速掌握Vim:立即从WTF到OMG][17] | [在Amazon上购买][21] | $34.00[][19] |
|
||||
|
||||
#### 结语
|
||||
|
||||
当我初次对着Vim生气时,我不知道该怎么办。我希望那时候我就知道《A Byte of Vim》这本书。对于任何学习Linux的人来说,这本书都是不错的资源,特别是当您开始学习命令行的时候。
|
||||
|
||||
您读过Swaroop C H的[《A Byte of Vim》][4]吗?如果读过,您是如何找到它的?如果不是,那么您最喜欢关于开源主题的是哪本书?请在下方评论区告诉我们。
|
||||
|
||||
[][21]
|
||||
|
||||
推荐阅读 《Iridium Browser: A Browser for the Privacy Conscious》
|
||||
|
||||
如果您觉得这篇文章有意思,请花上一分钟在社交媒体、Hacker News或[Reddit][22]上分享它。
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://itsfoss.com/book-review-a-byte-of-vim/
|
||||
|
||||
作者:[John Paul][a]
|
||||
选题:[lujun9972][b]
|
||||
译者:[JonnieWayy](https://github.com/JonnieWayy)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]: https://itsfoss.com/author/john/
|
||||
[b]: https://github.com/lujun9972
|
||||
[1]: https://www.vim.org/
|
||||
[2]: https://itsfoss.com/how-to-exit-vim/
|
||||
[3]: https://linuxhandbook.com/basic-vim-commands/
|
||||
[4]: https://vim.swaroopch.com/
|
||||
[5]: https://swaroopch.com/
|
||||
[6]: https://swaroopch.com/about/
|
||||
[7]: https://www.helpshift.com/
|
||||
[8]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/06/Byte-of-vim-book.png?resize=800%2C450&ssl=1
|
||||
[9]: https://itsfoss.com/4mlinux-review/
|
||||
[10]: https://creativecommons.org/licenses/by/4.0/
|
||||
[11]: https://www.gitbook.com/download/pdf/book/swaroopch/byte-of-vim
|
||||
[12]: https://www.gitbook.com/download/epub/book/swaroopch/byte-of-vim
|
||||
[13]: https://www.gitbook.com/download/mobi/book/swaroopch/byte-of-vim
|
||||
[14]: https://swaroopch.com/buybook/
|
||||
[15]: https://itsfoss.com/best-markdown-editors-linux/
|
||||
[16]: https://github.com/swaroopch/byte-of-vim#status-incomplete
|
||||
[17]: https://i2.wp.com/images-na.ssl-images-amazon.com/images/I/41itW8furUL._SL160_.jpg?ssl=1
|
||||
[18]: https://www.amazon.com/Mastering-Vim-Quickly-WTF-time/dp/1983325740?SubscriptionId=AKIAJ3N3QBK3ZHDGU54Q&tag=chmod7mediate-20&linkCode=xm2&camp=2025&creative=165953&creativeASIN=1983325740 (Mastering Vim Quickly: From WTF to OMG in no time)
|
||||
[19]: https://www.amazon.com/gp/prime/?tag=chmod7mediate-20 (Amazon Prime)
|
||||
[20]: https://www.amazon.com/Mastering-Vim-Quickly-WTF-time/dp/1983325740?SubscriptionId=AKIAJ3N3QBK3ZHDGU54Q&tag=chmod7mediate-20&linkCode=xm2&camp=2025&creative=165953&creativeASIN=1983325740 (Buy on Amazon)
|
||||
[21]: https://itsfoss.com/iridium-browser-review/
|
||||
[22]: http://reddit.com/r/linuxusersgroup
|
Loading…
Reference in New Issue
Block a user