Skip to content

Instantly share code, notes, and snippets.

@Cipher7
Last active October 3, 2021 08:58
Show Gist options
  • Save Cipher7/9b27a13089ddf3a48b087f83e8f3f28d to your computer and use it in GitHub Desktop.
Save Cipher7/9b27a13089ddf3a48b087f83e8f3f28d to your computer and use it in GitHub Desktop.
vim config file
"Author : Cipher007
"Date : 16-05-2021
"
" _____ _ _ ___ ___ ______
" / ____(_) | | / _ \ / _ \____ |
"| | _ _ __ | |__ ___ _ __| | | | | | | / /
"| | | | '_ \| '_ \ / _ \ '__| | | | | | | / /
"| |____| | |_) | | | | __/ | | |_| | |_| |/ /
" \_____|_| .__/|_| |_|\___|_| \___/ \___//_/
" | |
" |_|
hi Normal ctermbg=NONE guibg=NONE
"wildmenu gives an autocomplete menu for a word
set wildmenu
set relativenumber
set listchars=eol:¬,tab:>·,trail:~,extends:>,precedes:<
set encoding=UTF-8
set list
"nocompatible is to ward of unexpected things the distro can make to a vim
"file and also to reset options while resourcing
set nocompatible
"Try to determine the type of file based on it's name and syntax and do
"intelligent autoindent and syntax highlighting
if has ('filetype')
filetype indent plugin on
endif
if has ('syntax')
syntax on
endif
autocmd InsertEnter * :set nornu nolist nu
autocmd InsertLeave * :set relativenumber list
let g:airline_theme = "dracula"
let g:airline_powerline_fonts = 1
call plug#begin('~/.vim/plugged')
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'dracula/vim',{'as': 'dracula'}
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
call plug#end()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment