zoukankan      html  css  js  c++  java
  • cygwin 中 vim 及 手机debian终端中 vim 设置新增Mac 下设置

    cygwin :

    ls 高亮

    vim .bashrc

    修改

     1 alias df='df -h'
     2 alias du='du -h'
     3 alias whence='type -a'                        # where, of a sort
     4 alias grep='grep --color'                     # show differences in colour
     5 alias egrep='egrep --color=auto'              # show differences in colour
     6 alias fgrep='fgrep --color=auto'              # show differences in colour
     7 alias ls='ls -hF --color=tty'                 # classify files in colour
     8 alias dir='ls --color=auto --format=vertical'
     9 alias vdir='ls --color=auto --format=long'
    10 alias ll='ls -l'                              # long list
    11 alias la='ls -A'                              # all but . and ..
    12 alias l='ls -CF'                              #
    13 alias wch='which -a'

    如果是Mac系统下,则修改为

    alias ls='ls -G' #如果要显示隐藏文件,加-a
    

    vim高亮

    vim .vimrc

    同下 

    手机vim:

    vim etc/vim/vimrc

    
    
      1 syntax on "自动语法高亮
      2 set number "显示行号
      3 set showcmd "
      4 set hlsearch "
      5 
      6 
      7 filetype plugin indent on "开启插件
      8 set cindent
      9 set smarttab
     10 set expandtab
     11 set tabstop=4 "设定tab长度为4
     12 set sw=4 "
     13 set ruler "打开状态栏标尺
    
    
     
  • 相关阅读:
    贝叶斯定理经典案例
    java 简单秒杀
    menu JPopupMenu JTabbedPane
    java String matches 正则表达
    gg mirror
    后台计时
    css 标题
    ajax dataType
    jQuery ajax
    java null 空指针
  • 原文地址:https://www.cnblogs.com/sherylynn/p/3039459.html
Copyright © 2011-2022 走看看