Skip to content

chinapandaman/vim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim Config

IDE like vim config inspired by SpaceVim.

External Dependencies

Cheatsheet

  • Shift - f - global search, use ' to match exactly
  • \ - f - file search
  • \ - a - g - grep clipboard with file type
  • \ - s - split right
  • use arrow keys to navigate between splits
  • z - z - center around current line
  • g - x - open link
  • \ - q - close current buffer
  • \ - m - toggle nerdtree and tagbar
  • \ - g - d - git diff view
  • \ - tab - next file in git diff view
  • \ - g - s - git status
  • \ - g - b - git branch
  • \ - g - f - go to current file on GitHub
  • \ - c - p - copy to clipboard
  • g - d - go to definition
  • g - r - go to references
  • \ - r - n - refactor rename
  • :noh - remove highlight search
  • / - / - search visual selection
  • \ - r - a - replace all searching keyword with
  • z - a - toggle YAML fold
  • \ - d - diff yank and clipboard
  • :Gvdiffsplit! - resolve conflicts
  • :MarkdownPreview - preview markdown