作者:程璇 | 来源:互联网 | 2023-08-24 12:30
Vim解析、、、
-----------------------
首先你要会从官网上下载你想要的Vim版本:
官网:
http://www.vim.org/
======================
Vim 是 Linux 系统上的最著名的文本/代码编辑器,也是早年的 Vi 编辑器的加强版,而 gVim 则是其 Windows 版。它的最大特色是完全使用键盘命令进行编辑,脱离了鼠标操作虽然使得入门变得困难,但上手之后键盘流的各种巧妙组合操作却能带来极为大幅的效率提升。
======================
什么Vim可以做:
What Vim Can Do
Vim是一款高级文本编辑器,旨在提供实际的Unix编辑器“Vi”的功能,并提供更完整的功能集。
Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set.
什么是Vim?
What Is Vim?
Vim是一个高度可配置的文本编辑器,用于实现高效的文本编辑。
Vim is a highly configurable text editor built to enable efficient text editing.
它是大部分UNIX系统分发的vi编辑器的改进版本。
It is an improved version of the vi editor distributed with most UNIX systems.
Vim通常被称为“程序员编辑器”,对于许多人将其视为整个IDE而言非常有用。
Vim is often called a "programmer's editor," and so useful for programming that many consider it an entire IDE .
不仅仅是程序员,
It's not just for programmers, though.
Vim适用于各种文字编辑,从编写电子邮件到编辑配置文件
Vim is perfect for all kinds of text editing, from composing email to editing configuration files.
======================
什么Vim不是
What Vim Is Not?
Vim不是一个专为持有用户而设计的编辑器。它是一种工具,其使用必须学习。
Vim isn't an editor designed to hold its users' hands. It is a tool, the use of which must be learned.
Vim不是文字处理器。虽然它可以显示各种形式的突出显示和格式化的文本,但是并不是提供了所见即所得的排版文档的编辑
Vim isn't a word processor. Although it can display text with various forms of highlighting and formatting, it isn't there to provide WYSIWYG editing of typeset documents.
======================
Vim的许可证
Vim's License
Vim是慈善机构。它的许可证是GPL兼容的,所以它是免费分发的,但是我们要求,如果你觉得有用的话,你可以通过ICCF帮助乌干达的孩子做一个捐款 。
Vim is charityware. Its license is GPL-compatible, so it's distributed freely, but we ask that if you find it useful you make a donation to help children in Uganda through the ICCF.
======================
关于对Vim的评价:
Vim是世界各地数百万程序员所喜爱的开源文本编辑器。也许不是为了微弱的初学者,Vim有一个陡峭的学习曲线。一旦你掌握了它,然而,你将拥有一个令人难以置信的可配置的编辑器的力量,以最大限度地提高您的生产力
创建者:
Bram Moolenaar在25年前创建了Vim,为开发人员提供了一个功能强大且可定制的开源文本编辑器。
Bram Moolenaar created Vim 25 years ago to give developers a powerful and customizable open-source text editor.
荷兰程序员Bram Moolenaar创建了自己的解决方案,免费分享,最终只要求用户捐赠一个照顾乌干达儿童和家庭的慈善机构。
Dutch programmer Bram Moolenaar created his own solution and shared it for free, eventually asking only that users make a donation to a charity caring for children and families in Uganda.
Vim原本简称为“Vi IMitation”,旨在扩展vi编辑器的功能。
Vim , originally abbreviated from “Vi IMitation,” sought to extend the functionality of the vi editor.
随着版本2.0的发布,Vim宣布新的缩写为“Vi IMproved”,因为它们的功能已经超越了vi。
With the release of Version 2.0 a few years later, Vim declared the new abbreviation was for “Vi IMproved” because their feature set had surpassed vi.
======================
文本编辑器如何帮助你编写代码,为什么程序员喜欢Vim
How Text Editors Help You Code and Why Programmers Love Vim
Vim和竞争编辑器是Emacs
1、Vim可以通过终端启动
Vim can be launched with a terminal,
2、Vim广泛应用于Windows,Linux
Vim is widely used on Windows, Linux,
3、无鼠标功能:你的手指不需要离开键盘。
no mouse functionality: your fingers never need to leave your keyboard.
======================
Bram最初创建了Vim,这是Unix的vi文本编辑器的克隆,
Bram originally created Vim, a clone of the vi text editor for Unix,
Vim于1991年底发布,
Released in late 1991
Vim可能难以为初学者学习,但开发人员喜欢他们的手从不需要离开键盘。
Vim can be difficult for beginners to learn, but developers love that their hands never need to leave the keyboard.
======================
Vim是一个快速高效的文本编辑器,可以让您成为一个更快,更高效的开发人员。
Vim is a fast and efficient text editor that will make you a faster and more efficient developer.
你需要什么
What You Need
======================
模式
正常模式
插入模式
视觉模式
命令行模式
Modes
Normal Mode
Insert Mode
Visual Mode
Command-Line Mode
======================
复制和粘贴
Copy and Paste
用户名
username
密码
password
注册
Sign up
关于Vim
About Vim
社区
Community
文档
Documentation
脚本
Scripts
提示
Tips
下载
Download
======================
Vim 8.0是最新的稳定版本
Vim 8.0 is the latest stable version.
======================
如果您不使用Vim或Vi
使用Vim,您可以非常有效地进行编辑。最常用的命令只是一个单键。为此,您需要开始插入模式输入文本并返回正常模式以执行命令。最大的优点是您可以将手放在键盘上,工作速度非常快。这需要一点时间才能习惯。这是一笔很小的投资。
如果你真的没有时间学习有效的编辑方式,那么有“Easy Vim”或eVim。它像大多数笨蛋编辑器一样工作:单击鼠标并键入文本。感觉像MS记事本。但Vim的力量仍然可用。
If you are not using Vim or Vi
With Vim you can edit very effectively. The most often used commands are just a single key stroke. To allow for this, you need to start Insert mode to enter text and return to Normal mode to execute commands. The big advantage is that you can keep your hands on the keyboard and work very fast. This takes a little time to get used to. It's a small investment that pays itself back soon.
If you really don't have time to learn the effective way of editing, there is "Easy Vim" or eVim. It works like most dumb editors: You click your mouse and type the text. It feels like MS Notepad. But the power of Vim is still available inside.
======================
Vim是一种:类Unix系统文本编辑器
vim的设计理念是命令的组合。
建议先去学一门编程语言,新手推荐学C,java入门
======================
学习Vim的方法:
学习vim要首先过2关。第一关是理解vim的设计思路,vim设计之初就是整个文本编辑都用键盘而非鼠标来完成,键盘上几乎每个键都有固定的用法,且vim的制作者希望用户在普通模式(也就是命令模式,只可输入命令)完成大部分的编辑工作,将此模式设计为默认模式,
第二关:是命令关,vim有过百条命令对应编辑的需要,如果能熟练使用vim这些命令,编辑速度确实比鼠标要快很多,遇到难题不要放弃,而是查找解决的方法,每解决一个难题,你的vim技能就上升一级
----------------------------------------------