Auto cd into wiki
parent
ef1643b0e9
commit
32545b5cb0
|
@ -0,0 +1,5 @@
|
|||
" " Change local buffer to directory of current file after the plugin has loaded
|
||||
autocmd VimEnter * lcd %:p:h
|
||||
|
||||
" " Override wiki index mapping to also cd into the wiki
|
||||
nm <leader>ww <Plug>(wiki-index) \| :lcd %:p:h<cr>
|
Loading…
Reference in New Issue