nvim: add gh-md-toc
This commit is contained in:
parent
8a6cdbb2e2
commit
32f984e25a
@ -37,6 +37,9 @@ let g:UltiSnipsListSnippets="<c-l>"
|
||||
" typing idate inserts the current date
|
||||
iab idate <c-r>=strftime("%Y-%m-%d")<cr>
|
||||
|
||||
" use Ctrl-M to insert a table of contents for markdown from the current line to EOF
|
||||
noremap <c-m> <cmd>.put =execute('.,$write !gh-md-toc --hide-header --hide-footer')<cr>
|
||||
|
||||
set lazyredraw " redraw only when req'd
|
||||
set wildmenu " visual auto-complete
|
||||
set showmatch
|
||||
@ -64,6 +67,7 @@ nnoremap <c-p> <cmd>lua require('fzf-lua').files()<CR>
|
||||
nnoremap <c-\> <cmd>lua require('fzf-lua').buffers()<CR>
|
||||
nnoremap <c-g> <cmd>lua require('fzf-lua').grep()<CR>
|
||||
|
||||
|
||||
"
|
||||
" GO stuff
|
||||
"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user