Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sequenceGeek/MRU-Function
Browse files Browse the repository at this point in the history
  • Loading branch information
cgreer committed Oct 11, 2013
2 parents 1ea2e45 + 6ffd3a9 commit d44389f
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions README.md
@@ -1,15 +1,23 @@
# MRU Function

## Install
Install using Pathogen. Just clone this repo into your "bundle" directory.
1. Install Exuberant Ctags.

sudo apt-get install exuberant-ctags

2. Install [Pathogen](https://github.com/tpope/vim-pathogen) (Vim Plugin Manager).
3. Clone MRU-Function repo into your vim bundle directory.

cd ~/.vim/bundle
git clone git@github.com:sequenceGeek/MRU-Function.git

## Usage
- Press `<F3>` to open MRU Function Location window.
- Move cursor to line where function is and press `<Enter>` to go there.
- Pressing `<F3>` opens the MRU Function Browser.
- Select function/method and press `<Enter>`.

## Todo/Issues
- Check if function exists/was moved
- Write better function to find which function the cursor is in for Python. Current function is naive and a stand-in to see if an MRU Function plugin is useful
- Include class name next to function location display in MRU Function Window. If you have many \__init__'s or similar inherited function/object names it is hard to differentiate which one is which
- Update to work for js and other languages

- Check if function exists/was moved.
- Display in a way you can select the file and THEN pick the function/method under the file.
- Custom nearest tag function for python to handle nested functions/methods.
- Add gif to show usage.
- Fix "wrongly logged tag due to file being edited" bug.

0 comments on commit d44389f

Please sign in to comment.