mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 22:00:14 +00:00
package and script updates
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user