mirror of
https://github.com/nmasur/dotfiles
synced 2026-11-08 02:55:02 +00:00
variabilize notes path for maintainability
This commit is contained in:
1 parent
cc8007b01c
commit
8c4e802f7d
2 files changed
+2
-2
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
function notes --description "Notes functions"
|
||||
|
||||
set -g NOTES_PATH $HOME/Documents/notes
|
||||
set -gx NOTES_PATH $HOME/Documents/notes
|
||||
|
||||
function note_dates
|
||||
set -g TODAY_NOTE (date +"%Y-%m-%d_%a")
|
||||
|
||||
@@ -226,7 +226,7 @@ let g:rustfmt_autosave = 1 " Formats with rust plugin
|
||||
" VimWiki plugin
|
||||
let g:vimwiki_list = [
|
||||
\ {
|
||||
\ 'path': '~/Documents/notes/',
|
||||
\ 'path': $NOTES_PATH,
|
||||
\ 'syntax': 'markdown',
|
||||
\ 'index': 'home',
|
||||
\ 'ext': '.md'
|
||||
|
||||
Reference in new issue
Block a user