Temporary note taking plugin for NeoVim
Plug 'voldikss/vim-fnote'
-
Floating window support
-
Allow to toggle/move/resize note window
- Default:
0.4*&columns
- Default:
0.4*&lines
This plugin doesn't supply any default mappings.
Open a new floating window that displays the text in register "
Also you can use :'<,'>FNoteNew
Toggle it
Move the window along {direction}
by size {interval}
Increase or decrease the note window by {interval}
Configuration Example:
nnoremap <silent> <Leader>fn :FNoteNew<CR>
nnoremap <silent> <Leader>ft :FNoteToggle<CR>
nnoremap <silent> <C-up> :FNoteMove y 1<CR> " move up by 1
nnoremap <silent> <C-down> :FNoteMove y -1<CR> " move down by 1
nnoremap <silent> <C-right> :FNoteMove x 5<CR> " move right by 5
nnoremap <silent> <C-left> :FNoteMove x -5<CR> " move left by 5
nnoremap <silent> <M-up> :FNoteResize y 1<CR> " increase window height by 1
nnoremap <silent> <M-down> :FNoteResize y -1<CR> " decrease window height by 1
nnoremap <silent> <M-right> :FNoteResize x 1<CR> " increase window width by 1
nnoremap <silent> <M-left> :FNoteResize x -1<CR> " decrease window width by 1
MIT