Files
dotfiles/.vimrc
Sravan Balaji 8688db153f Pop!_OS Dotfiles Cleanup
- Add dracula themes as submodules in ~/.themes folder
- Add dracula pro vim theme to dotfiles
- Move steam dracula theme to ~/.themes folder
- Update bashrc to launch fish shell and set Qt Style
- Replace colorscripts with neofetch in fish shell greeting
- Fix syntax issue in kitty config
- Update neofetch config to print out less
2021-03-31 14:57:27 -04:00

92 lines
1.3 KiB
VimL

" Sravan's Vimrc
" Don't try to be vi compatible
set nocompatible
" Syntax Highlighting
syntax on
" Pick a leader key
let mapleader = "\\"
" Security
set modelines=0
" Show line numbers
set number relativenumber
" Show file stats
set ruler
" Blink cursors on error instead of beeping
set visualbell
" Encoding
set encoding=utf-8
" Whitespace
set wrap
set textwidth=110
set formatoptions=tcqrn1
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
set noshiftround
set smarttab
set autoindent
" Cursor Motion
set scrolloff=3
set backspace=indent,eol,start
set matchpairs+=<:> " use % to jumb between pairs
" Allow hidden buffers
set hidden
" Rendering
set ttyfast
" Status bar
set laststatus=2
" Last line
set showmode
set showcmd
" Searching
nnoremap / /\v
vnoremap / /\v
set hlsearch
set incsearch
set ignorecase
set smartcase
set showmatch
map <leader><space> :let @/=''<cr> " clear search
" Formatting
map <leader>q gqip
" Visualize tabs and newlines
set listchars=tab:▸\ ,eol
map <leader>l :set list!<CR> " Toggle tabs and EOL
" Exit Inser Mode Easily
:inoremap jk <esc>
" UI Config
set cursorline
filetype indent on
set wildmenu
set lazyredraw
set showmatch
" Add Dracula Themes
packadd! dracula
packadd! dracula_pro
" Enable Dracula Pro Theme
syntax enable
let g:dracula_colorterm = 0
colorscheme dracula_pro