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

Categories

  • AlmaLinux
  • Amazon AWS
  • Apache
  • CentOS
  • Cloud
  • CloudLinux
  • Cpanel
  • Debian
  • DevOps
  • Docker
  • Ecommerce
  • Exim
  • FreeBSD
  • Game
  • General
  • git
  • Google Cloud
  • IIS
  • kubernetes
  • lighttpd
  • Linux
  • LiteSpeed
  • LiteSpeed
  • Magento
  • Mail
  • MongoDB
  • MySQL
  • Nginx
  • Node.js
  • OpenLiteSpeed
  • openSUSE
  • Oracle Linux
  • PHP
  • Plesk
  • Postfix
  • PostgreSQL
  • PowerMTA
  • Programming
  • Python
  • RHEL
  • Rocky Linux
  • Ruby
  • Security
  • SEO
  • SSL
  • Ubuntu
  • Uncategorized
  • Vim
  • Virtualization
  • Web Server
  • Windows
  • WordPress
  • Zimbra
© 2025 ServerOK • Built with GeneratePress