To comment block (with #) in Gedit (Ubuntu)
- Install Gedit Plugins from terminal:
sudo apt-get install gedit-plugins
In Gedit:
- Go to Edit->Preference->Plugins and enable Code Comment
- Ctl+m to comment block of codes
- Ctl+Shift+m to uncomment block of codes