-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
48 lines (42 loc) · 846 Bytes
/
.vimrc
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
" vimrc file
" ---------
"| default |
" ---------
so ~/.vim/defaults.vim
so ~/.vim/config.vim
so ~/.cache/calendar.vim/credentials.vim
so ~/.config/msmtp/iris.vim
so ~/.vim/plugins.vim
set rtp+=/usr/local/opt/fzf
syntax on
filetype plugin on
set termguicolors
colorscheme embark
set guifont=MesloLGSDZ_Nerd_Font:h11
set backupext=.bkp
set background=dark
set mouse=a
set noerrorbells
set novisualbell
set visualbell t_vb=
set encoding=UTF-8
set showmatch
set noswapfile
set hidden
set noruler
set number
set ignorecase smartcase
let mapleader=","
let g:airline_theme='embark'
" ----------
"| keymaps |
" ----------
noremap ; :
nmap <leader>w :w<CR>
map <leader>/ :Rg<CR>
noremap <C-q> :q<CR>
nmap <leader>rv :so ~/.vimrc<CR>
nmap <leader>ev :e ~/.vimrc<CR>
nmap <leader>q :bd<CR>
nmap <leader>b :bprev<CR>
nmap <leader>en :PlugInstall<CR>