Skip to content

pietrot/vim-love

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIM LOVE

CtrlP Hotkeys

Press to purge the cache for the current directory to get new files, remove deleted files and apply new ignore options.

Press and to cycle between modes. Press to switch to filename only search instead of full path. Press to switch to regexp mode. Use , or the arrow keys to navigate the result list. Use or , to open the selected entry in a new tab or in a new split. Use , to select the next/previous string in the prompt's history. Use to create a new file and its parent directories. Use to mark/unmark multiple files and to open them.

Submit ? in CtrlP for more mapping help.

CHEATSHEET

Find & replace accross multiple files :

:args! `grep -l[i][R] '{search-str}' {target-dir}`
:argdo %s/{search-str}/{replacement}/g[i][c] | update

OR

Ack! -R[i] "{search-src}" {dir}
cdo %s/<search term>/<replace term>/cg | w
cdo %s/<search term>/<replace term>/c | w

Re-indent file

gg=G

Get a list of user-defined commands :

:command

INSTALLATION

Install Ctags :

brew update
brew install ctags
brew tap universal-ctags/universal-ctags
brew install --HEAD universal-ctags

Install Code-Completion Engine :

cd ~/.vim/bundle/YouCompleteMe
./install.py

Install/Upgrade VIM (Mac) :

brew install vim --override-system-vi

OR

brew upgrade vim
vim --version

Install Powerline Status Bar dependencies :

Install powerline fonts

$ git clone https://github.com/powerline/fonts.git
$ cd fonts
$ ./install.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors