Skip to content

possiblywrong/vim-pad

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-pad

A quick notetaking plugin for vim.

This is an experimental repo for different storage backends.

.vimrc settings

The docs can be a bit terse and having any mappings in insert mode seems odd, particularly when the default mapping is \n for open a new pad. I hit that a lot so here are the mappings I use which only trigger in normal mode.

" vim-pad settings
let g:pad_dir = '/home/possiblywrong/.notes/'
let g:pad_use_default_mappings = 0
" vim-pad mappings
nmap <leader><esc> <Plug>ListPads
nmap <leader>n <Plug>OpenPad
nmap <leader>s <Plug>SearchPads

Note that to get the list buffer to behave correctly you'll also need

filetype on
filetype plugin indent on

About

a quick notetaking plugin

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 69.3%
  • Vim Script 30.7%