summaryrefslogtreecommitdiffstats
path: root/.config/nvim/plugins.vim
blob: 931d8c7217421ae2a503ad56131a198029a0f359 (plain)
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
72
73
74
75
76
77
" Startify
let g:startify_custom_header = startify#pad([
			\ '  _____________________________________ ',
			\ ' /                                     \',
			\ ' |    Hi, partner, welcome_back to     |',
			\ ' |  _ __   ___  _____   _(_)_ __ ___   |',
			\ ' | | ''_ \ / _ \/ _ \ \ / / | ''_ ` _ \  |',
			\ ' | | | | |  __/ (_) \ V /| | | | | | | |',
			\ ' | |_| |_|\___|\___/ \_/ |_|_| |_| |_| |',
			\ ' \                                     /',
			\ '  ------------------------------------- ',
			\ '         \   ^__^                       ',
			\ '          \  (oo)\_______               ',
			\ '             (__)\       )\/\           ',
			\ '                 ||----w |              ',
			\ '                 ||     ||              ',
			\ ])
let g:startify_lists = [
			\ { 'type': 'sessions',  'header': startify#pad(['Sessions'])	},
			\ { 'type': 'files',     'header': startify#pad(['Recent'])		},
			\ { 'type': 'bookmarks', 'header': startify#pad(['Bookmarks'])	},
			\ { 'type': 'commands',  'header': startify#pad(['Commands'])	},
			\ ]
let g:startify_bookmarks = [
			\ { 'v': '~/.config/nvim/init.vim' },
			\ { 'z': '~/.config/zsh/.zshrc' },
			\ { 'b': '~/.config/bspwm/bspwmrc' },
			\ ]

" Airline
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#fnamemod = ':t'
let g:airline_detect_modified = 1
let g:airline_detect_paste = 1
let g:airline_detect_crypt = 1
let g:airline_theme = 'base16_gruvbox_dark_hard'
let g:airline_powerline_fonts = 1
let g:airline_symbols_ascii = 1
let g:airline#parts#ffenc#skip_expected_string = 'utf-8[unix]'

" Rainbow
let g:rainbow_active = 1

" NERD Commenter
let g:NERDSpaceDelims = 1
let g:NERDCompactSexyComs = 1
let g:NERDDefaultAlign = 'left'
let g:NERDAltDelims_java = 1
let g:NERDCustomDelimiters = { 'c': { 'left': '/*','right': '*/' } }
let g:NERDCommentEmptyLines = 1
let g:NERDTrimTrailingWhitespace = 1
let g:NERDToggleCheckAllLines = 1

" Cursor mode
let g:airline#extensions#cursormode#enabled = 1
let g:cursormode_color_map = {
			\	"i": 		"#d79921",
			\	"n": 		"#d79921",
			\	"R": 		"#cc241d",
			\	"r": 		"#cc241d",
			\	"v": 		"#b06597",
			\	"V": 		"#b06597",
			\	"\<C-V>":	"#b06597",
			\}

" 10 buffers jump
let g:airline#extensions#tabline#buffer_idx_mode = 1

" Org-mode
let g:org_todo_keywords = ['TODO',  '|', 'DONE', 'CANCELED']

" Floaterm
let g:floaterm_autoinsert = 1
let g:floaterm_width = 0.85
let g:floaterm_height = 0.75
let g:floaterm_wintitle = 0
let g:floaterm_autoclose = 1