This is a specially created plugin to be used in a standardized teamwork workflow that utilizes Vimwiki+Fugitive for collaborative management of MOM and technical note-taking.
- Vimwiki
If you're using pathogen, cd into the ~/.vim/bundle
directory, then clone
vim-peekaboo there.
If you're using pathogen, cd into the ~/.vim/bundle/vim-peekaboo
directory,
then run git pull
from inside there.
- Pressing
<leader>tt
either in Normal or Insert modes will print the textYYYY/MM/DD.N.$USER
- Pressing
<leader>td
or<F5>
in either Normal or Insert mode will print the day and date as follows: Sat Nov 18, 2023. - Pressing
<leader>nd
or<F6>
in either Normal or Insert mode will prompt for the next working day's date. Users are free to enter any date they wish, and it will print the day and date for the entered date with the same format as the<leader>td
keybinding mentioned above. - Pressing
<leader>ga
in normal mode will generate the standard MOM template at the current cursor position. This feature might be deleted since a newly created Agenda & MOM wiki file has been made to automatically loaded with its standardized template. - Specially defined to work with Fugitive's temporary files:
- Pressing
<leader>ebn
or<F7>
in normal mode will copy the current displayed buffer number to registerl
and display the number below the statusline. This is used to get the Fugitive commit log window buffer number and save it in the registerl
to be used later by the next keybinding below. - Pressing
<leader>lbn
or<F8>
in normal mode to jump back to the buffer number saved in registerl
-- to jump back to the Fugitive commit log window. - Pressing
<leader>bwd
or<F10>
in normal mode will wipe out the diff window's buffers. This is designed to close the side-by-side diff window created by Fugitive and wipe the buffers.
- Pressing
:PeekabooDiff
displays changes made side by side on an unsaved file.:help peekaboo
opens the vim-peekaboo help file in a split window.:tab h peekaboo
opens the vim-peekaboo help file in a new tab.
If there are any additional features added to this plugin in the future, they will not be included in this README file. Users are encouraged to check the help file instead. As of the time this information was written, two more keybindings have been added to this plugin.