I used vim
for a long time, but switched to Sublime Text last year for most of my programming work.
Now, every time I have to make use of a console editor (mostly over ssh
), I feel extremely uncomfortable with vim
. The shortcuts and commands have slowly left my memory, my once carefully curated vimrc
is gathering dust, and I just can't use the editor effectively without re-learning everything.
On the other hand, nano
is just dumb. Great for opening a file, adding a flag and closing it, but way too primitive for anything else.
Is there something in between I can use? I can settle for not-as-easy-as-nano-nor-as-powerful-as-vim.
Vim is a mode-based editor. Nano is a WYSIWYG (What You See Is What You Get) command-line editor. Vim is not a WYSIWYG text editor. Nano is an improved version of the Pico text editor.
Emacs and Vi/Vim are complex and powerful text editors while Nano is a lightweight, simplified editor. While it's fun to have light-hearted debates about which command-line text editor is the best text editor to use, at the end of the day they are truly nothing more than different tools.
Emacs, Neovim, Atom, Notepad++, and Sublime Text are the most popular alternatives and competitors to Vim.
While aiming at simplicity and ease of use, gedit is a powerful general purpose text editor; Vim: Highly configurable text editor built to enable efficient text editing. Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set.
You can use mcedit
. It is much more user friendly than other editors - it even supports mouse over ssh (even in Putty console from Windows).
Simply install package Midnight Commander as follows:
Ubuntu/Debian:
sudo apt-get install mc
Fedora/Redhat:
sudo yum install mc
MacOS:
brew install mc
and it will make mcedit
available.
In local console it even supports Shift+Del
, Shift+Ins
, Ctrl+Ins
shortcuts that we use in Windows.
It also has nice ability to copy blocks into arbitrary files, effectively giving you unlimited number of clipboards.
You could try these, but you'll have to install them on the machines you SSH into:
But my opinion is that you should drop the seriously underpowered Sublime and go back to Vim.
$ vimtutor
is your friend.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With