Disable Vim Auto Visual Mode

centos

If you’re diving into the world of Vim on Linux, getting the hang of its different modes is crucial. One of these modes, Visual Mode, is handy for selecting and editing text.

But for many users, it can be a bit tricky and unnecessaries. And this is how you may disable it.


Few option to get your classical selecting text with mouse while in vim:

Option A

  1. :set mouse-=a
  2. If want to re-enable do, :set mouse=a
  3. Update your .vimrc with set mouse-=a to make any changes permanent.

Option B

  1. Hold shift while selecting with mouse

Configure New timezone Permanently in bash

centos

In the realm of Linux server administration, managing time settings is a critical aspect that directly impacts system synchronization and overall functionality.

Whether you’re a seasoned Ubuntu administrator or a novice looking to enhance your server configuration skills, this guide is tailored to help you efficiently and effectively set up and maintain the desired timezone on your Ubuntu server.

Configuration

$ timedatectl list-timezones
output omitted...
Asia/Kolkata
Asia/Krasnoyarsk
Asia/Kuala_Lumpur
Asia/Kuching
Asia/Kuwait
Asia/Macau
output omitted...
$ sudo timedatectl set-timezone Asia/Kuala_Lumpur

Explanation

  1. list-timezones is to list all supported time zone by timedatectl
  2. set-timezone Asia/Kuala_Lumpur is to make your system to follow Kuala Lumpur’s timezone