Skip to content

darkrain/vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clone from Thomas Hunter's VIM Configuration

Features

  • File Browser on left side of screen
  • Functions, Variables, Classes on right
  • Move between buffers in center screen
  • View status of the current GIT repo (if applicable)
  • Special features when running under MacVIM
  • Autocomplimentation php,css,html,js

Switching between files (Buffers)

  • Use ,q to close the current file (a different file will appear in its place)
  • Use Ctrl h Ctrl l to move between open files
  • Ctrl Left Ctrl Right also works for switching between files
  • While in MacVim, you can swipe left and right to switch between open files

Viewports (Windows)

  • Use ,h ,j ,k ,l to navigate between viewports
  • Use ,Q to close the current window (you probably won't ever need to do this)
  • Use ,n to toggle the file browser
  • Use ,y to toggle the tag browser
  • Use ,t or Cmd+T to perform a recursive fuzzy filename search
  • Use ,a and type a phrase to search to search based on content within your files (quote and escape if needed)
  • Use ,A to close the open ack search results at the bottom of the screen (same going down, closing, going right, e.g. ,j ,Q ,l)

File Browser (NERDTree)

  • Use ,n to toggle the file browser
  • Use standard movement keys to move around
  • Use Ctrl j and Ctrl k to move between siblings (aka skip over children in expanded folders)
  • Use C to make the highlighted node the current working directory
  • Use :Bookmark BookmarkName to bookmark the current selection
  • Use B to toggle the bookmark menu
  • Use ? if you'd like some NERDTree documentation

Tag Browser (Tag List)

  • Use y to toggle the tag browser viewport
  • Use s to reorder the items by alpha or occurance

Requirements

Installation

Run these commands in your terminal to fully install this vim setup within OS X. It will probably require some tweaking to get it working under Linux.

cd ~
git clone https://github.com/darkrain/vim.git .vim
ln -s ~/.vim/vimrc ~/.vimrc
ln -s ~/.vim/gvimrc ~/.gvimrc

Screenshots

Screenshot