vim has an easy mode. You enable it by using -y flag, like this vim -y. Is kinda cool, it makes it behave like a regular "click-and-type" text editor. In this mode regular shortcuts work as expected, ctrl + s for save, ctrl + c for copy, ctrl + v paste, ctrl + z to undo, ctrl + y redo.
The downside (and the reason nobody makes a big deal about it) is that is was designed to be used inside a GUI, so no shortcut to quit. You need to close whatever graphical interface vim is in.
Not all is lost, I think it provides a nice base to use vim for quick edits. For the people who will never use vim on purpose, I will recommend creating a .vimrc on their home folder with this content.
" Enable 'easy mode'source $VIMRUNTIME/evim.vim" Ctrl + q to Quit vim
inoremap <c-q><c-o>:q<cr>
This will create a ctrl + q shortcut to quit. You could also replace (or add) <Esc> as a shortcut to quit.
This way even if you enter vim by accident it will behave somewhat like a "normal" text editor.
I'm a fan of Open Source and have a growing interest in serverless and edge computing. I'm not a big fan of spiders, but they're doing good work eating bugs. I also stream on Twitch.
vim
has an easy mode. You enable it by using-y
flag, like thisvim -y
. Is kinda cool, it makes it behave like a regular "click-and-type" text editor. In this mode regular shortcuts work as expected,ctrl + s
for save,ctrl + c
for copy,ctrl + v
paste,ctrl + z
to undo,ctrl + y
redo.The downside (and the reason nobody makes a big deal about it) is that is was designed to be used inside a GUI, so no shortcut to quit. You need to close whatever graphical interface vim is in.
Not all is lost, I think it provides a nice base to use vim for quick edits. For the people who will never use
vim
on purpose, I will recommend creating a.vimrc
on their home folder with this content.This will create a
ctrl + q
shortcut to quit. You could also replace (or add)<Esc>
as a shortcut to quit.This way even if you enter
vim
by accident it will behave somewhat like a "normal" text editor.Awesome!