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

    set wrap                       "设置自动换行
    set tabstop=4                  "设置tab长度为4
    set softtabstop=4              "使得按退格键时可以一次删除4个空格
    set shiftwidth=4               "设定>命令移动时宽度为4
    set autoindent                 "自动缩进
    set cindent                    "C语言缩进风格
    set number                     "显示行号
    set tags+=~/.vim/systags       "添加ctags路径
    "恢复文件关闭之前光标位置
    if has("autocmd")
          au BufReadPost * if line("'"") > 1 && line("'"") <= line("$") | exe "normal! g'"" | endif
          endif     
  • 相关阅读:
    软考
    码云
    vue和bpmnjs
    工作流引擎
    net core restapi
    工厂模式
    sqlmanage
    类的扩展
    导出excel
    拼图
  • 原文地址:https://www.cnblogs.com/helloworldtoyou/p/4890504.html
Copyright © 2011-2022 走看看