zoukankan      html  css  js  c++  java
  • vim配置

    export LC_ALL='en_US.UTF-8'
    json.dumps(report, ensure_ascii=False)
    Yesterday="$(date -d -1day +%Y%m%d)"
    Today="$(date +%Y%m%d)"
    

      

    文件.vimrc
    if &t_Co > 1                                
        syntax enable                           
    endif                                       
                                                
    set cursorcolumn  
    set cursorline  
                                                
    highlight CursorLine   cterm=NONE ctermbg=black ctermfg=white guibg=NONE guifg=NONhighlight CursorColumn cterm=NONE ctermbg=white ctermfg=white guibg=NONE guifg=NONE
    

    if &t_Co > 1                                
        syntax enable                           
    endif                                       
                                                
    set cursorcolumn
    set cursorline                                                                                                                                                 
    highlight CursorColumn cterm=NONE ctermbg=white ctermfg=white guibg=NONE guifg=NONE
    

     vim没有颜色(debian)

      vim /etc/vim/vimrc

      查找syntax on 取消注释

    http://www.voidcn.com/article/p-vkcjatim-bbs.html

    http://blog.51cto.com/dengyong/1349794

    配色方案

    下载主题颜色

    https://github.com/sickill/vim-monokai

    cd
    mkdir -p .vim/colors/
    
    #Put monokai.vim file in your ~/.vim/colors/ directory and add the following line to your ~/.vimrc:
    
    syntax enable
    colorscheme monokai
    if &t_Co > 1                               
        syntax enable                          
    endif                                      
                                                 
    set cursorcolumn   
    set cursorline                                                                                             
                                                       
    highlight CursorColumn cterm=NONE ctermbg=white ctermfg=white guibg=NONE guifg=NONE
                       
                       
    syntax enable      
    colorscheme monokai
    

    ------

    git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
    
    $ vim .vimrc 然后wq保存
    
    " Vundle配置开始
    set nocompatible              " be iMproved, required
    filetype off                  " required
    
    " 启用vundle来管理vim插件
    set rtp+=~/.vim/bundle/Vundle.vim
    call vundle#begin()
    " 安装插件写在这之后
    
    " let Vundle manage Vundle, required
    Plugin 'VundleVim/Vundle.vim'
    Plugin 'vim-scripts/indentpython.vim'
    
    " 安装插件写在这之前
    call vundle#end()            " required
    filetype plugin on    " required
    
    $ vim .vimrc
    输入 :PluginInstall 安装插件
    

      

    http://www.cnblogs.com/makexu/
  • 相关阅读:
    css 边框添加四个角效果
    PS 怎么去掉噪点
    Packet Tracer——添加温度计
    zabbix监控mysql数据
    日常检测
    mysql的基本命令操作
    判断字典中是否有这个单词
    批量创建用户
    检测局域网ip存活状态
    spring boot gradle build:bootRepackage failed
  • 原文地址:https://www.cnblogs.com/makexu/p/8011181.html
Copyright © 2011-2022 走看看