diff options
Diffstat (limited to 'clang-tools-extra/clang-rename/tool/clang-rename.py')
-rw-r--r-- | clang-tools-extra/clang-rename/tool/clang-rename.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/clang-rename/tool/clang-rename.py b/clang-tools-extra/clang-rename/tool/clang-rename.py index 1c9082d99b0..20530c3db1f 100644 --- a/clang-tools-extra/clang-rename/tool/clang-rename.py +++ b/clang-tools-extra/clang-rename/tool/clang-rename.py @@ -9,13 +9,13 @@ Before installing make sure one of the following is satisfied: To install, simply put this into your ~/.vimrc - map ,cr :pyf <path-to>/clang-rename.py<cr> + noremap <leader>cr :pyf <path-to>/clang-rename.py<cr> IMPORTANT NOTE: Before running the tool, make sure you saved the file. All you have to do now is to place a cursor on a variable/function/class which -you would like to rename and press ',cr'. You will be prompted for a new name if -the cursor points to a valid symbol. +you would like to rename and press '<leader>cr'. You will be prompted for a new +name if the cursor points to a valid symbol. ''' import vim |