-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrcTemplate
More file actions
71 lines (56 loc) · 1.38 KB
/
vimrcTemplate
File metadata and controls
71 lines (56 loc) · 1.38 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
syntax on
set noerrorbells
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set nu
set nowrap
set smartcase
set nobackup
set noswapfile
set undodir=~/.vim/undodir
set undofile
set incsearch
set colorcolumn=80
highlight ColorColumn ctermbg=235 guibg=#2c2d27
call plug#begin('~/.vim/plugged')
Plug 'morhetz/gruvbox'
Plug 'jremmen/vim-ripgrep'
Plug 'tpope/vim-fugitive'
Plug 'vim-utils/vim-man'
Plug 'mbbill/undotree'
Plug 'vuciv/vim-bujo'
Plug 'tpope/vim-dispatch'
Plug 'leafgarland/typescript-vim'
call plug#end()
colorscheme gruvbox
set background=dark
if executable('rg')
let g:rg_derive_root='true'
endif
let loaded_matchparen = 1
let mapleader = " "
let g:netrw_browse_split = 2
let g:netrw_banner = 0
let g:netrw_winsize = 25
let g:fzf_layout = { 'window': { 'width': 0.8, 'height': 0.8 } }
let $FZF_DEFAULT_OPTS='--reverse'
let g:fzf_branch_actions = {
\ 'rebase': {
\ 'prompt': 'Rebase> ',
\ 'execute': 'echo system("{git} rebase {branch}")',
\ 'multiple': v:false,
\ 'keymap': 'ctrl-r',
\ 'required': ['branch'],
\ 'confirm': v:false,
\ },
\ 'track': {
\ 'prompt': 'Track> ',
\ 'execute': 'echo system("{git} checkout --track {branch}")',
\ 'multiple': v:false,
\ 'keymap': 'ctrl-t',
\ 'required': ['branch'],
\ 'confirm': v:false,
\ },
\}