-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.vim
51 lines (40 loc) · 1.17 KB
/
init.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
call plug#begin()
" The default plugin directory will be as follows:
" - Vim (Linux/macOS): '~/.vim/plugged'
" - Neovim (Linux/macOS/Windows): stdpath('data') . '/plugged'
" You can specify a custom plugin directory by passing it as the argument
" - e.g. `call plug#begin('~/.vim/plugged')`
" - Avoid using standard Vim directory names like 'plugin'
" The basics
Plug 'tpope/vim-sensible'
Plug 'ervandew/supertab'
Plug 'frazrepo/vim-rainbow'
Plug 'dense-analysis/ale'
Plug 'morhetz/gruvbox'
Plug 'vim-airline/vim-airline'
"Plug 'vim-airline/vim-airline-themes'
"Plug 'junegunn/vim-easy-align'
" Initialize plugin system
call plug#end()
" END PLUGINS
" Colors
colorscheme gruvbox
" Numbers
set number relativenumber
set termguicolors
" Tabs
set tabstop=4
set shiftwidth=4
set expandtab
" Esc key
imap asdf <Esc>
imap asd <Esc>
imap adsf <Esc>
" Tab to complete
set wildmode=longest,list
" VHD Library map
nmap vhd ilibrary IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.numeric_std.all; use std.textio.all; use ieee.std_logic_textio.all;<Esc>
" Rainbow Vim config
let g:rainbow_active = 1
" Spell Checking for VHD
au BufReadPost,BufNewFile,FileType *.tex set spell spelllang=en_us