这是indexloc提供的服务,不要输入任何密码
Skip to content

josecoelho/vim-files

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using NeoVIM

MAC

brew install neovim
brew install python
brew install python3
brew install ag
pip2 install neovim --upgrade
pip3 install neovim --upgrade

Ubuntu

sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt-get update
sudo apt-get install neovim
sudo apt-get install python-dev python-pip python3-dev python3-pip
sudo apt-get install silversearcher-ag

Quickstart

git clone git@github.com:josecoelho/vim-files.git ~/.vim
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
  https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Using NeoVim

  ln -s ~/.vim ~/.config/nvim

Bundle

Using Plug

For vim-instant-markdown

npm -g install instant-markdown-d

Usage

Fuzzy Search by files

The lovely fuzzy search of files is available using the plugin ctrlp

The shortcut is Ctrl+p

The "Project Switcher"

I'm using vim-ctrlp-session to keep only one instance of VI open and move between projects. It's like working with workspaces/projects on Sublime.

Usually, when working on a new project, I access the folder using the terminal and open vim there.

$ cd my-project
$ vim .

Then I create a new session for that project

:SGit

From now on, when I want to switch to this specific project I run the command :CtrlPSession, that allows me to fuzzy search for the desired session

To keep this faster, I've setup the shortcut Ctrl+Space to open this "Project Switcher"

About

My vim configurations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%