Skip to content

One to rule them all, one to find them, one to bring them all and in the darkness bind them.

Notifications You must be signed in to change notification settings

berialcheng/vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The ultimate vim configuration

CI MIT License

GitHub stars GitHub watchers GitHub forks

Preview

Preview

Search file

Installation

  1. git clone https://github.com/berialcheng/vim.git
  2. ./setup.sh

Intro

Vanilla Vim Capabilities

  • <F2> -- save the current file
  • <F4> -- quit vim
  • h to go left, j to go down, k to go up, l to go right
  • hit CTRL-], Jump to a subject. Type CTRL-T or CTRL-O. Repeat to go further back
  • CTRL-f/CTRL-b - forward/backward one ppage

WinManager

  • :map <c-w><c-f> :FirstExplorerWindow<cr>

NERDTree

  • nerd -- open the left file system tree explorer
  • o: open in prev window | open & close node
  • O: recursively open node
  • P: go to root
  • p: go to parent
  • K/J: go to first/last child
  • I: Toggle hidden files
  • t/i/s: Open the selected file new tab/horizontal split window/vertical split window
  • m: Show the NERD Tree menu
  • R: Refresh the tree, useful if files change outside of Vim

ctrlp

  • Ctrl-P -- open File lookup
  • Press c-f and c-b to cycle between modes.

Ferret - multi-file search

  • :Ack {pattern} {options}
  • :Ack! {pattern} {options} -- Like :Ack, but returns all results irrespective of the value of g:FerretMaxResults.

References

TODO

  • fix the NERDTree m break
  • fix the git commit focus
  • fix mini buf expl hanging issue
  • add more language support
  • add vim-airline for statusline
  • add indentLine
  • filter out files in NERDTree
  • add screenshot
  • tuning the mini buf expl config
  • add search support
  • add git support
  • add github release

About

One to rule them all, one to find them, one to bring them all and in the darkness bind them.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages