vi

vi/vim

Configuration Commands

  • :colo <color scheme>, set the color scheme
  • :colo<space><tab>, to list color schemes and be able to select one
  • :colo<space>Ctrl+d, alternative to list color schemes

Info Commands

  • Ctrl+g or <count> Ctrl+g to display file name and path or full path

Sample Config

  • ~/.vimrc is the config file for Vim.
colorscheme ron
syntax enable

set number

set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
set smartcase " ignorecase
wget -O .vimrc  https://raw.githubusercontent.com/amix/vimrc/master/vimrcs/basic.vim
  • vi.txt
  • Last modified: 2023/04/13 11:28
  • by mgupton