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

Check Also

Enabling AMD GPU for Hashcat on Kali Linux: A Quick Guide

Enabling AMD GPU for Hashcat on Kali Linux: A Quick Guide

If you’ve encountered an issue where Hashcat initially only recognizes your CPU and not the …

Identifying harmful activity on your captured traffic

This Python script utilises Wireshark or TCPdump to analyse network traffic stored in a specified …

Leave your solution or comment to help others.

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

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.