diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-20 20:53:19 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-20 20:53:19 +0200 |
commit | f40cb1bc702cfdb7f76d6a34fd7a679179ab9dd0 (patch) | |
tree | d97b87c6b05f8b759c9f4bd4f0a14d2529f767a9 /.config/nvim/plugins.vim | |
parent | fzf zsh (diff) | |
download | dotfiles-bsd-f40cb1bc702cfdb7f76d6a34fd7a679179ab9dd0.tar.gz dotfiles-bsd-f40cb1bc702cfdb7f76d6a34fd7a679179ab9dd0.tar.bz2 dotfiles-bsd-f40cb1bc702cfdb7f76d6a34fd7a679179ab9dd0.tar.xz dotfiles-bsd-f40cb1bc702cfdb7f76d6a34fd7a679179ab9dd0.tar.zst dotfiles-bsd-f40cb1bc702cfdb7f76d6a34fd7a679179ab9dd0.zip |
init.vim rework
Diffstat (limited to '.config/nvim/plugins.vim')
-rw-r--r-- | .config/nvim/plugins.vim | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/.config/nvim/plugins.vim b/.config/nvim/plugins.vim new file mode 100644 index 0000000..d597412 --- /dev/null +++ b/.config/nvim/plugins.vim @@ -0,0 +1,70 @@ +" 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'] |