Show function name in status line

后端 未结 7 584
感情败类
感情败类 2020-12-15 03:10

I edit a large C, C++, or Java file, say, about 15000 lines, with pretty long function definitions, say, about 400 lines. When the cursor is in middle of a function definiti

7条回答
  •  暖寄归人
    2020-12-15 03:28

    You can use ctags.vim for this, it will show the current function name in the title or status bar.

    SOURCE: https://superuser.com/questions/279651/how-can-i-make-vim-show-the-current-class-and-method-im-editing

提交回复
热议问题