Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 17: | Line 17: | ||
Put these lines in your [[vimrc]] and you can press Alt-Shift-J (or Alt-Shift-K) to jump to the next (or previous) method in a C++ file: |
Put these lines in your [[vimrc]] and you can press Alt-Shift-J (or Alt-Shift-K) to jump to the next (or previous) method in a C++ file: |
||
<pre> |
<pre> |
||
β | nnoremap <M-J> /\v^(\w+\s+)?\w+::\w+\(.*\) |
+ | nnoremap <M-J> /\v^(\w+\s+)?\w+::\w+\(.*\) |
nnoremap <M-K> ?\v^(\w+\s+)?\w+::\w+\(.*\) |
nnoremap <M-K> ?\v^(\w+\s+)?\w+::\w+\(.*\) |
||
</pre> |
</pre> |
||
Line 29: | Line 29: | ||
==See also== |
==See also== |
||
β | *[[Highlighting of method names in the definition]] for a syntax-file addition to emphasize method names |
+ | * [[Highlighting of method names in the definition]] for a syntax-file addition to emphasize method names |
==Comments== |
==Comments== |