UPDATES

VIM setup – DEV Group


I’m VS-Code person, however time-to-time I have to work with terminal, even on home windows the place I exploit gitbash as a result of that’s near linux shell, which is essential when you end up some ssh scenario for instance.
By the best way every of these surroundings vim was put in.
At first time vim appears a really bizarre. However few spherical later this editor appears very useful gizmo for us.

I exploit this fundamental setup for vim:

syntax on
set tabstop=2
set shiftwidth=2
set softtabstop=2
set autoindent
set smartindent
set termguicolors
set quantity
set mouse=a
set cursorline
set encoding=utf-8
set hlsearch
set incsearch
set ignorecase
colorscheme slate
Enter fullscreen mode

Exit fullscreen mode

copy this code and:

vim ~/.vimrc
Enter fullscreen mode

Exit fullscreen mode

press: p – paste
press: : – change to command mode
write: wq – stop with write.

Few helpful vim shortkey:

:q – stop
:q! – stop with out save
:e filename – open file
:Ex – open chosen file
:assist – self doc

Wonderful coding!

Leave a Reply

Your email address will not be published. Required fields are marked *