Today I come up with three text editor every developer or penetration tester should use.
- Vi or Vim
First text editor we’re gonna discuss here is Vim. As a linux user, we have Vim which is easy to use Unix text editor with some simple commands.It is open source and freely distributable. Vim stands for Visual Improved which is improved version of Vi. In this text editor vim [filename] is required to open the specific filename and I command is used to switch it into an insert mode. ~ command denotes the empty line in the file. By default, Vim starts in command mode. Esc code is used to get back into command mode from insert mode. Although you can see all the commands of vim by simply typing vim -h. To perform operations like write and quit simply enter:wq and it will put your cursor in terminal mode and will save the file. -x command included with vim is used to edit the encrypted files. Ex-mode, silent mode, read only mode and many other modes are available in the help category of Vim.
2. Sublime Text
Sublime text is a cross-platform text editor cum source code editor with python API. It supports most of the programming languages and markup languages. You can download it from https://www.sublimetext.com/3. where different versions are available for OS X, Windows, and Linux. After installing the package just like vim enter subl [filename] to open the specific file. The main advantage is that it supports syntax definition of over 20 programming languages. With plugins option, the user can add their functions in the editor. The text editor comes with 22 different themes with the option to download additional themes.
Atom (A hackable text editor for the 21st century) is an Open source and free cross-platform text editor with various plugins support. The user can customize this editor without affecting the source code. This text editor can be used as an Integrated Development Environment (IDE). The user can download the editor from https://atom.io/ Above 20 programming languages are supported in the older version of the atom.After installing the package just like vim enter atom [filename] to open the specific file. Atom overcomes the limited extensibility of the sublime text and TextMate. Vim also offers extreme flexibility but aren’t very approachable and can only be customized with special purposed scripting language compare to atom.
By far above are the preferred text editors on which a developer or penetration tester can rely on.