VIM实用配置

最近搞linux驱动, vim作为编辑器是十分好用的.

按照网上的教程,配置了一翻,然后备份了下配置.

集成了winmanager,nerdtree,taglist配置.

已经放到github上了,需要的可以直接下载:

https://raw.githubusercontent.com/cdlz/penv/master/vimconfig.zc.1017.tgz

解压后放到~/即可.

需要安装ctags和cscope

sudo apt-get install ctags cscope -y

常用键(其余的见.vimrc配置了):

   " F2 打开nerdtree和taglist         
   " F3 sourceexplorer                
   nmap <F10> <ESC><C-W><UP>          
   nmap <F11> <ESC><C-W><DOWN>        
   nmap <F12> <ESC><c-w>w  "循环窗口  

  在某个关键字上,命令模式,输入# 则可以高亮对应关键字.

效果如下:

1413943813_paste.png

已有1条评论

  1. wotoadgi 2015-09-06 00:39 回复
    @@@
    Mark Noble is refusing to give up on his dream of breaking into the England squad ahead of the European Championship Finals despite being overlooked once again by Roy Hodgson.聽
    Noble has been one of    the star performers since West Ham gained promotion back into the Premier League back in 2012.聽
    The 27-year-old has represented England at every level from the Under 16s to the Under 19s and  was even made captain of the Under 21s team for the Euro Finals in 2009. But he has somehow failed to catch the attention of Hodgson who even called up Tottenham's inexperienced midfielder Ryan Mason  ahead of him for the forthcoming games against Lithuania and Italy when Adam Lallana was forced to pull out of the squad with a groin injury.聽

    Mark Noble (right), Winston Reid (centre) and Diafra Sakho pose outside West Ham's future home
      
    The Hammers will be moving to the Olympic Stadium in London next summer
    However, Noble says he will not sulk over the matter and will continue to show his best form for West Ham as he  looks to help the club push for a European place as they prepare to move into the Olympic Stadium next summer.聽
    Noble said: 鈥業 have made it clear what I think about the situation and I would love to play for my country. But obviously at the moment it doesn't look like it is going to happen.聽
    鈥業 will keep playing as well as I can at West Ham and enjoying it every week.  You never know what will happen in the future.
| 1个评论