Timeline for Vimwiki open specific diary on vim startup with bash alias
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 9, 2019 at 14:26 | comment | added | Abayo | Working as hoped. Thanks. @fillbranden: also thanks for highlighting the code parts of my answer. Could not find the option while writing on my smartphone . | |
Aug 9, 2019 at 14:10 | comment | added | B Layer | @filbranden Thanks for the heads up, btw. | |
Aug 9, 2019 at 14:00 | history | edited | B Layer | CC BY-SA 4.0 |
damn bangs
|
Aug 9, 2019 at 14:00 | comment | added | B Layer |
Yeah, I know and that's how I tested it: vim -c 'e /tmp/b' -c 'norm G /1' -c 'wq' . Lord knows why in between there and here I decided subconsciously to add some bangs :P
|
|
Aug 9, 2019 at 13:53 | comment | added | filbranden |
You need to.use :normal and not :normal! here, since :normal! doesn't expand mappings. From :help :normal : "If the [!] is given, mappings will not be used." Otherwise, answer looks good.
|
|
Aug 9, 2019 at 13:33 | vote | accept | Abayo | ||
Aug 9, 2019 at 12:05 | history | answered | B Layer | CC BY-SA 4.0 |