1.8 C
New York
Sunday, February 23, 2025

Buy now

spot_img

A .vimrc config file everyone should use

Ever had that issue when you login to a Linux terminal, editing a file and the texts are just blue and you can’t read? I’ve had way too many cause default vim/vi config is just bad. I created a good .vimrc config file. Simply create a file with .vimrc name in home directory a paste following config. Open a new SSH/terminal and you’re gonna love the color schemes, colorline, line numbering, auto tab and indentation. I use it in my every server and every virtual machines.

" vim
" .vimrc
" by blackMOREOps
" ~v1.0
"
" C: 2018-11-28 02:25 UTC
" M: 2019-01-09 10:40 UTC

" Readable colorscheme instead of default.
colorscheme elflord
" Mark column for comments (80), laptop edge of screen (195).
" set colorcolumn=80,195
" Mark the current line with an underline.
set cursorline
" Start scrolling text when near top/bottom of screen.
set so=5
" Absolute and relative line numbering.
set nu

" Shrink tabstops down to something more readable.
set tabstop=2

" Turn on auto-indentation based on file type if available.
if has("autocmd")
filetype plugin indent on
endif
blackMORE
blackMOREhttp://www.blackmoreops.com
blackMORE Ops is dedicated to How to, Guides, Security features and Tips and Tricks for Linux OS. Thank you for visiting us and follow us here www.blackmoreops.com.

Related Articles

Leave your solution or comment to help others.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Stay Connected

0FansLike
0FollowersFollow
0SubscribersSubscribe
- Advertisement -spot_img

Latest Articles

Discover more from blackMORE Ops

Subscribe now to keep reading and get access to the full archive.

Continue reading

Privacy Policy on Cookies Usage

Some services used in this site uses cookies to tailor user experience or to show ads.