1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

feat: improve obsidian-vim

This commit is contained in:
2023-07-10 09:36:27 +02:00
parent 24f838370d
commit e9b4fb12c7
2 changed files with 12 additions and 2 deletions

View File

@@ -13,6 +13,8 @@ noremap <leader>c :bd<CR>
noremap <leader>b :Buffers<CR> noremap <leader>b :Buffers<CR>
noremap <leader>t :Tags<CR> noremap <leader>t :Tags<CR>
set nocompatible
syntax on
filetype plugin indent on filetype plugin indent on
set autoindent set autoindent
set smartcase ignorecase " you need these two set smartcase ignorecase " you need these two

View File

@@ -11,8 +11,16 @@ neovim.override {
cd ${obsidiantVaultDirectory} cd ${obsidiantVaultDirectory}
let g:vimwiki_list = [{'path': '${obsidiantVaultDirectory}', let g:vimwiki_auto_chdir = 1
\ 'syntax': 'markdown', 'ext': '.md'}] let g:vimwiki_listsyms = ' X'
let g:vimwiki_commentstring = '<!--%s-->'
let g:vimwiki_list = [{
\ 'path': '${obsidiantVaultDirectory}',
\ 'syntax': 'markdown',
\ 'ext': '.md',
\ 'diary_rel_path' '.',
\}]
let NERDTreeSortOrder = ['[[-timestamp]]'] let NERDTreeSortOrder = ['[[-timestamp]]']