---
title: "Vim基本知识"
author: "quding0308"
date: "2012-12-22T13:37:52Z"
tags: []
categories: ["移动开发"]
slug: "vim"
draft: false
lastmod: "2012-12-26T23:07:32Z"
id: 1752342
url: "https://quding0308.iteye.com/blog/1752342"
---

配置文件:\_vimrc文件

ESC--Normal模式

Normal下i到编辑

Normal下:到命令行

u undo

crl+r redo

:sy on   语法加亮

:sy clear  取消语法加亮

:colo evening 背景色为evening

:set go=   gui option  隐藏菜单栏

:tabnew d:\\hello.txt   在新tab中打开文件

:e d:\\hello.txt  打开文件

vim命令：