Skip to content
ServerOK
  • Home
  • Services
  • Contact
Home » Vim

Category: Vim

Show line number in vim

Posted on February 24, 2019 (February 24, 2019) by ServerOk

To show line number in vim, use command

1
:set number

To hide numbers, type

1
:set nonumber

To always show line number, edit file

1
vi ~/.vimrc

Add

1
set number

[…]

Read More…

Posted in VimTagged vimLeave a comment

Categories

  • Apache
  • CentOS
  • Cloud
  • CloudLinux
  • Cpanel
  • Debian
  • Docker
  • Ecommerce
  • Exim
  • FreeBSD
  • Game
  • General
  • git
  • kubernetes
  • lighttpd
  • Linux
  • LiteSpeed
  • Magento
  • Mail
  • MySQL
  • Nginx
  • openSUSE
  • PHP
  • Plesk
  • Postfix
  • PostgreSQL
  • PowerMTA
  • Programming
  • Python
  • Ruby
  • Security
  • SSL
  • Ubuntu
  • Uncategorized
  • Vim
  • Virtualization
  • Windows
  • WordPress
Copyright 2021 ServerOk | All Rights Reserved