Last active
July 14, 2019 22:06
-
-
Save LordShedy/2d8a0f1c78c18420367d7121ccc17eec to your computer and use it in GitHub Desktop.
Vim configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syn on " start using syntax highlighting | |
set termguicolors " using true colors in the reminal | |
colorscheme monokai " set custom colorscheme | |
set encoding=utf-8 " Encoding | |
set hidden " Allow hidden buffers | |
set ttyfast " Rendering | |
set cursorline " highlight current line | |
set cursorcolumn " highlight current collumn | |
syn sync fromstart " force the highlighting engine to start parsing from the top of the file | |
set number " enabling row numbers | |
set showcmd " show command in bottom bar | |
set showmode | |
nnoremap <leader><space> :nohlsearch<CR> | |
filetype indent on " load filetype-specific indent files | |
set wildmenu " visual autocomplete for command menu | |
set lazyredraw " redraw only when we need to. | |
set showmatch " highlight matching [{()}] | |
set list " show invisible characters | |
set incsearch " search as characters are entered | |
set visualbell " Blink cursor on error instead of beeping (grr) | |
set hlsearch " highlight matches | |
set autoindent " enabling autoindedntation | |
set tabstop=8 softtabstop=0 expandtab shiftwidth=2 smarttab " indents consisting of 2 spaces with tab key | |
set clipboard^=unnamed,unnamedplus " allowing Vim to use clipboard (unnamed is for Linux compatibility) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment