---
title: "vim 插件 命令"
author: "快乐的牛"
date: "2012-01-19T17:51:26Z"
tags: []
categories: ["开源软件"]
slug: "vim"
draft: false
lastmod: "2012-01-30T12:21:33Z"
id: 1360044
url: "https://kldn.iteye.com/blog/1360044"
---

NERD\_tree

 

[http://ethanschoonover.com/solarized](http://ethanschoonover.com/solarized)

simple vimrc:

 

 

 

set background=light

let g:solarized\_italic=0

colorscheme solarized

set nu

set autoindent

set backup " make backup file and leave it around 

set backupdir=$VIMRUNTIME/backup " where to put backup file 

set directory=$VIMRUNTIME/temp " where to put swap file 

set hidden

set fileencodings=ucs-bom,utf-8,cp936

 

 

map &lt;F5&gt; : NERDTreeToggle &lt;ENTER&gt;

map &lt;F3&gt; :bp &lt;ENTER&gt;

map &lt;F4&gt; :bn &lt;ENTER&gt;

shift-V 

ctrl-w ctrl-w

ctrl-i ctrl-o

:runtime! syntax/2html.vim 

 :*cd* %:p:h