Created
October 12, 2009 10:41
-
-
Save lukaszkorecki/208321 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
" List all functions in current file and open jump list | |
" put this in your .vimrc | |
" added 'j' modifier so that vimgrep doesn't jump to the first result | |
function! s:ListFunctions() | |
vimgrep /function/j % | |
copen | |
endfunction | |
command! -bar -narg=0 LS call s:ListFunctions() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment