Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 2.5 KB

File metadata and controls

49 lines (41 loc) · 2.5 KB

Caesar's Vim Configuration

Author: Caesar James LEE

Tested OS: WSL2, Microsoft Windows, Ubuntu

Features

  1. support auto pairs
  2. use onedark color scheme
  3. visual file explorer
  4. beautiful status line
  5. use nerd font to view dev icons
  6. easier to handle symbols
  7. easier to handle git operations

Plugin Manager (auto install in unix-like OS)

  • I use vim-plug to manage my plugins
  • Installation
    • Unix
      curl -fLo [path]/autoload/plug.vim --create-dirs \
          https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
    • Powershell
      iwr -useb https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim |`
          ni [path]/autoload/plug.vim -Force
  • you can change [path], for me is ~/.config/.vim for Unix and $HOME/_config/vimfiles for Powershell

Plugins

plugin description
preservim/nerdtree file explorer
Xuyuanp/nerdtree-git-plugin support git for NERDTree
ryanoasis/vim-devicons support web icons for NERDTree
tiagofumo/vim-nerdtree-syntax-highlight support syntax highlight for NERDTree
tpope/fugitive git command interation
airblade/vim-gitgutter git icons and highlights
vim-airline/vim-airline beautiful status line
joshdick/onedark.vim onedark color scheme
tpope/vim-surround easier to handle symbols
tpope/vim-repeat enable . to repeat plugin keymaps
tpope/vim-endwise auto add syntax end
tpope/vim-commentary easier comment
tpope/vim-speeddating can use <C-a>/<C-x> to increase/decrease dates