Gedit – the Gnome Text Editor

Kali comes with Leafpad as its default text editor. This is a very lightweight text editor. Kali's desktop is Gnome-based and the Gnome text editor Gedit is a much better editor. To install:

root@kalibook :~#  apt -y install gedit  

Once installed, you will find it under Usual applications | Accessories.