Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:sequenceGeek/MRU-Function
- Loading branch information
Showing
1 changed file
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |