package and script updates

This commit is contained in:
Noah Masur
2021-04-28 08:58:14 -04:00
parent 5d04fad4c9
commit c81827ef95
13 changed files with 63 additions and 12 deletions

View File

@ -18,3 +18,13 @@ let g:vimwiki_auto_chdir = 1 " Set local dir to Wiki when open
let g:vimwiki_create_link = 0 " Don't automatically create new links
let g:vimwiki_listsyms = ' x' " Set checkbox symbol progression
let g:vimwiki_table_mappings = 0 " VimWiki table keybinds interfere with tab completion
" Insert from command-mode into buffer
function! PInsert(item)
let @z=a:item
norm "zpx
endfunction
command! AddTag call fzf#run({'source': 'rg "#[\w/]+[ |\$]" -o --no-filename --no-line-number | sort | uniq', 'sink': function('PInsert')})
autocmd FileType markdown inoremap ;tt <Esc>:AddTag<CR>