Git Product home page Git Product logo

vim-peekaboo's Introduction

Peekaboo

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.

Dependencies

  • Vimwiki

Configuration

If you're using pathogen, cd into the ~/.vim/bundle directory, then clone vim-peekaboo there.

Update

If you're using pathogen, cd into the ~/.vim/bundle/vim-peekaboo directory, then run git pull from inside there.

Usage

  • Pressing <leader>tt either in Normal or Insert modes will print the text YYYY/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 register l and display the number below the statusline. This is used to get the Fugitive commit log window buffer number and save it in the register l 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 register l -- 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.
  • :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.

Important Note

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.

vim-peekaboo's People

Contributors

vimfantpdvorak avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.