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:
@@ -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
|
||||||
|
|||||||
@@ -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]]']
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user