summaryrefslogtreecommitdiffstats
path: root/.config/nvim/plugins.vim
blob: 022ce47664a6daf246c54abe72a5dffbbcbba7fd (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
78
79
80
81
82
83
84
85
86
87
88
" 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 = [
			\ { 'b': '~/.config/bspwm/bspwmrc' },
			\ { 'fa': '~/.config/fish/alias.fish' },
			\ { 'fc': '~/.config/fish/config.fish' },
			\ { 'v': '~/.config/nvim/init.vim' },
			\ { 'z': '~/.config/zsh/.zshrc' },
			\ ]

" 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_default'
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']
let g:org_export_emacs = "/usr/local/bin/emacs"

" 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

" Quickscope
let g:qs_highlight_on_keys = ['f', 'F', 't', 'T']

highlight QuickScopePrimary guifg='#00C7DF' gui=underline ctermfg=155 cterm=underline
highlight QuickScopeSecondary guifg='#afff5f' gui=underline ctermfg=81 cterm=underline

let g:qs_max_chars=150