Skip to content
ServerOK
  • Home
  • HowTo
    • Cpanel
    • Mail
    • MySQL
    • Nginx
    • Apache
    • CloudLinux
    • Ubuntu
    • WordPress
    • Magento
  • Tools
  • Hire Me

Vim

Show line number in vim

February 24, 2019 by Yujin Boby

To show line number in vim, use command :set number To hide numbers, type :set nonumber To always show line number, edit file vi ~/.vimrc Add set number

Categories Vim Tags vim Leave a comment
© 2025 ServerOK • Built with GeneratePress