Created
May 11, 2023 18:28
-
-
Save cjmcgraw/00ec28195924f55084c59d81802adb30 to your computer and use it in GitHub Desktop.
My Current Vimrc File
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
" Plug configuration | |
call plug#begin() | |
Plug 'vim-airline/vim-airline' | |
Plug 'vim-airline/vim-airline-themes' | |
Plug 'luochen1990/rainbow' | |
Plug 'flazz/vim-colorschemes' | |
call plug#end() | |
" configure rainbow brackets globally | |
let g:rainbow_active = 1 | |
" airline configuration | |
let g:airline_powerline_fonts = 1 | |
let g:airline#extensions#tabline#enabled = 1 | |
" standard vim configuration | |
set clipboard+=unnamedplus | |
" General Settings | |
set t_Co=256 | |
set nocompatible | |
autocmd InsertEnter,InsertLeave * set cul! | |
set history=1000 | |
set noswapfile | |
set wildmenu | |
set lazyredraw | |
set ttimeout | |
set ttimeoutlen=1 | |
set ttyfast | |
set magic | |
set showmatch | |
syntax enable | |
set ffs=unix,dos,mac | |
" hidden characters | |
set list | |
set showbreak=↪\ | |
set listchars=tab:→\ ,eol:↲,nbsp:␣,space:·,trail:•,extends:⟩,precedes:⟨ | |
highlight NonText ctermfg=237 | |
" spacing | |
set autoindent | |
set expandtab | |
set shiftround | |
set smarttab | |
set shiftwidth=4 | |
set tabstop=4 | |
filetype indent on | |
filetype plugin on | |
" search | |
set hlsearch | |
set ignorecase | |
set incsearch | |
set smartcase | |
" views | |
set ruler | |
set number | |
set cursorline | |
highlight clear CursorLine | |
highlight clear CursorLineNR | |
highlight CursorLine ctermbg=0 | |
highlight CursorLineNR ctermbg=0 | |
" backups | |
set backupdir=~/.cache/nvim | |
set dir=~/.cache/nvim | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment