Table of Contents:
  1. 可配置项及释义对应表
    1. 实用配置

      vim的可配置项

      Reading Time:The full text has 218 words, estimated reading time: 2 minutes
      Creation Date:2018-02-27
      Article Tags:
      Next Article:Hexo源码阅读
       
      BEGIN

      可配置项及释义对应表

      • 通常配置项头部加no为表示反义

      配置项 | 简写 | 值类型 | 默认值 | 反义 | 含义 ------ | ---- | ------ | ------ | ---- nrformats | - | Numer | 10 | N | 修改数字显示进制, 默认十进制 tabstop | ts | Number | 8 | N | tab显示占用的空格数 shiftwidth | sw | Number | 8 | N | 控制一个shift单位的宽度,既缩进的宽度 softtabstop | sts | Number | 0 | N | 按tab所插入的空格数,且满tabstop个空格时自动最大化转换成tab expandtab | - | Bool | - | Y | 按tab时自动转换成softtabstop值等量的空格 history | - | Number | 20 | - | 设置ex命令执行后保存的条数

      实用配置

      • 文件切换命令简化
      nnoremap <silent> [b :bprevious<CR>
      nnoremap <silent> ]b :bnext<CR>
      nnoremap <silent> [B :bfirst<CR>
      nnoremap <silent> ]B :blast<CR>
      FINISH
      Next Article:Hexo源码阅读

      Random Articles
      Life Countdown
      default