Skip to content

Commit

Permalink
Plugin ctrlp
Browse files Browse the repository at this point in the history
ctrlp is a magical Vim plugin for finding files quickly. It lets you
"fuzzy find" files, which you'll be familiar with if you use Sublime a
lot. Basically, you can type a subset of the letters in a file's name,
and the plugin will be smart enough to figure it out.

- From within normal mode, press Ctrl + P, and start typing.
    - You'll see that a list of all files in this subdirectory are
      getting filtered as you type,
    - you only have to type a few characters to bring up the file that
      you need.
- Press Enter to open the file, or Ctrl + T to open in a new tab.
  • Loading branch information
jez committed Nov 12, 2016
1 parent 0706f73 commit e7b27d1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vimrc.vim
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Plugin 'vim-syntastic/syntastic'
Plugin 'xolox/vim-misc'
Plugin 'xolox/vim-easytags'
Plugin 'majutsushi/tagbar'
Plugin 'ctrlpvim/ctrlp.vim'

call vundle#end()

Expand Down

4 comments on commit e7b27d1

@jez
Copy link
Owner Author

@jez jez commented on e7b27d1 Nov 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamesfwei
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you switch between tabs in Vim?

@AlexandreGLopes
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ctrl + w twice to switch between tabs

@AlexandreGLopes
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you switch between tabs in Vim?

Or, if you'ire calling "tabs" the different buffers opened by ctrlp, then:
After init ctrlp by pressing ctrl+p and opening a new buffer you can press ctrl+f to swtich modes. The buffer mode will show you the "tabs" (or buffers) that were opened a you can switch between them.

Please sign in to comment.