From 888ebc2816e94644ca0a28295b56999e6dd36359 Mon Sep 17 00:00:00 2001 From: Anish L Date: Sun, 15 May 2022 00:25:21 +1000 Subject: [PATCH] some nvim shit probs --- users/profiles/nvim/default.nix | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/users/profiles/nvim/default.nix b/users/profiles/nvim/default.nix index 0674fd57..3e4935ec 100644 --- a/users/profiles/nvim/default.nix +++ b/users/profiles/nvim/default.nix @@ -225,6 +225,7 @@ in nnoremap gc :G commit -v -q %:p " kitaab + map cz :VimwikiIndex:ZettelNew map zs :ZettelSearch map zo :ZettelOpen map zn :ZettelNew @@ -237,14 +238,6 @@ in let g:zettel_format = "%y%m%d-%H%M" let g:mapleader="\" - let g:dashboard_default_executive = 'telescope' - nmap ss :SessionSave - nmap sl :SessionLoad - nnoremap fh :DashboardFindHistory - nnoremap ff :DashboardFindFile - nnoremap fm :DashboardJumpMark - nnoremap cn :DashboardNewFile - autocmd FileType dashboard set showtabline=0 | autocmd WinLeave set showtabline=2 " fzf " not sure we even use this @@ -298,7 +291,23 @@ in \'⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠿⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ', \'⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⠓⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ', \] + let g:dashboard_default_executive = 'telescope' + nmap ss :SessionSave + nmap sl :SessionLoad + nnoremap fh :DashboardFindHistory + nnoremap ff :DashboardFindFile + nnoremap fm :DashboardJumpMark + nnoremap cn :DashboardNewFile + autocmd FileType dashboard set showtabline=0 | autocmd WinLeave set showtabline=2 let g:dashboard_custom_footer = ["Run wild"] + let g:dashboard_custom_section={ + \ 'create_zettel': { + \ 'description': [' Create Zettel SPC c z'], + \ 'command': ':VimwikiIndex' }, + \ 'load_session': { + \ 'description': [' Load Session SPC s l'], + \ 'command': 'SessionLoad' } + \ } " lua config