zoukankan      html  css  js  c++  java
  • [Vim].vimrc

    博客园的帐号注册好久了,一直没用过,先把自己使用的.vimrc发上来,做为一篇Hello World吧。

     1 set cindent
     2 set smartindent
     3 set autowrite
     4 "set enc=GBK
     5 set backspace=indent,eol,start
     6 
     7 "set fencs=GBK,utf-8,ucs-bom,cp936,latin1,big5,utf-16
     8 set fileencodings=utf-8,GBK,ucs-bom,cp936,latin1,big5,utf-16
     9 
    10 set encoding=utf-8
    11 "set fileencoding=cp936,utf-8
    12 set termencoding=utf-8
    13 
    14 set nowrap
    15 set backspace=indent,eol,start
    16 set nobackup
    17 set showcmd
    18 set sts=4
    19 set autoindent
    20 set history=1000
    21 set incsearch
    22 set laststatus=2
    23 set matchtime=2
    24 set hlsearch
    25 set ruler
    26 
    27 set scrolloff=10
    28 set showmatch
    29 set showcmd
    30 set tabstop=4
    31 set softtabstop=4
    32 
    33 " auto complete
    34 set nocp
    35 let OmniCpp_GlobalScopeSearch = 1  " 0 or 1
    36 let OmniCpp_NamespaceSearch = 1   " 0 ,  1 or 2
    37 let OmniCpp_DisplayMode = 1
    38 let OmniCpp_ShowScopeInAbbr = 0
    39 let OmniCpp_ShowPrototypeInAbbr = 1
    40 let OmniCpp_ShowAccess = 1
    41 let OmniCpp_MayCompleteDot = 1
    42 let OmniCpp_MayCompleteArrow = 1
    43 let OmniCpp_MayCompleteScope = 1
    44 
    45 """"""""
    46 " ctags
    47 """""""""
    48 let generate_tags=1
    49 let g:ctags_title=1
    50 let g:ctags_statusline=1
    51 set tags=tags;
    52 
    53 set nu
    54 syntax on
    55 set shiftwidth=4
    56 set wrap
  • 相关阅读:
    MOSS的CSS样式说明
    RSS 简介(一)
    母版页详细分析
    导出 WINDOWS\assembly中DLL文件
    文件下载代码
    列表Field属性的巧妙运用(隐藏栏)
    javascript弹出窗口总结
    转[VBA起步]常用的、带解释的 VBA 短句
    如何生成自定义列表
    mysql 连接字符串与SQL不同
  • 原文地址:https://www.cnblogs.com/wendelhuang/p/3027874.html
Copyright © 2011-2022 走看看