1 插件目录 -/.vim/bundle/ 没有可自行创建 2 安装Vundle $ git clone https://github.com/VundleVim/Vundle.vim.git -/.vim/bundle/Vundle.vim 3 配置插件 vi ~/.vimrc 添加: set nocompatible " be iMproved, required filetype off " required " set the runtime path to
def dedupe(items, key=None): seen = set() for item in items: val = item if key is None else key(item) if val not in seen: yield item seen.add(val) def deleteRepeat(lst): ''' 列表去重 :param lst: :return: ''' if not lst: return lst try: l = list(dedupe(ls
Vundle is short for Vim bundle and is a Vim plugin manager. 从git上下载vundle $ git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim 配置vundle插件 Put this at the top of your .vimrc to use Vundle. Remove plugins you don't need, the
Given a complete binary tree, count the number of nodes. Definition of a complete binary tree from Wikipedia: In a complete binary tree every level, except possibly the last, is completely filled, and all nodes in the last level are as far left as po
转自:http://blog.csdn.net/jiaolongdy/article/details/17889787/ http://www.cnblogs.com/xia520pi/archive/2014/04/11/3659386.html 1安装 git clone http://github.com/gmarik/vundle.git ~/.vim/bundle/vundle 2更新.vimrc set nocompatible " be iMprovedfiletype off &