yeet
This commit is contained in:
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# vimtoday
|
||||||
|
|
||||||
|
A funny little ter,inal command that lets you open the obsidian daily note in vim!
|
||||||
@@ -37,7 +37,7 @@ fn main() {
|
|||||||
let today_date_str = format!("{}-{:02}-{:02}", today.year(), today.month(), today.day());
|
let today_date_str = format!("{}-{:02}-{:02}", today.year(), today.month(), today.day());
|
||||||
|
|
||||||
|
|
||||||
let file_path = format!("{}/{}/{}", &DAILY_FILEPATH, today.year(), &today_date_str);
|
let file_path = format!("{}/{}/{}.md", &DAILY_FILEPATH, today.year(), &today_date_str);
|
||||||
|
|
||||||
println!("vim {}", file_path);
|
println!("vim {}", file_path);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user