aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-03-10 19:42:09 +0300
committereug-vs <eug-vs@keemail.me>2021-03-10 19:52:09 +0300
commitb030cf491b5abc540038d91dda9420ca0ef6ddf3 (patch)
tree1539c8dd16bbe4adfc5b4cac282509e277479657 /.vimrc
parent48a26c17bf23916c04f0e1e462ab36472c4fd892 (diff)
downloaddotfiles-b030cf491b5abc540038d91dda9420ca0ef6ddf3.tar.gz
feat(vim): configure startify plugin
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc24
1 files changed, 17 insertions, 7 deletions
diff --git a/.vimrc b/.vimrc
index de468b9..04f35f4 100644
--- a/.vimrc
+++ b/.vimrc
@@ -79,14 +79,25 @@ call defx#custom#option('_', {
\ })
" Startify
-let g:startify_custom_header = [
- \ ' ___ __ ______ _ _ _______',
- \ ' / _ \/ / / / __ `/____| | / / ___/',
- \ ' / __/ /_/ / /_/ /_____/ |/ (__ ) ',
- \ ' \___/\__,_/\__, / |___/____/ ',
- \ ' /____/ ',
+let g:startify_session_delete_buffers = 1
+let g:startify_session_persistence = 1
+let g:startify_change_to_vcs_root = 1
+let g:startify_padding_left = 4
+
+let g:startify_custom_header = startify#pad(startify#fortune#cowsay('', '═','║','╔','╗','╝','╚'))
+
+let g:startify_bookmarks = [
+ \ { 'r': '~/.vimrc' },
+ \ { 'z': '~/.zshrc' },
+\ ]
+
+let g:startify_lists = [
+ \ { 'type': 'bookmarks', 'header': [' Bookmarks:'] },
+ \ { 'type': 'dir', 'header': [' Recently edited files:'] },
+ \ { 'type': 'sessions', 'header': [' Sessions:'] },
\]
+
" startup screen
autocmd VimEnter *
\ if !argc()
@@ -140,4 +151,3 @@ function! VimwikiLinkHandler(link)
endfunction
" TODO: command to toggle comments https://www.chrisatmachine.com/Neovim/09-vim-commentary/
-" TODO: sessions https://www.chrisatmachine.com/Neovim/11-startify/