Move remaining mappings in vimrc to mappings.vim
This commit is contained in:
parent
ecd23ebb59
commit
197213b417
2 changed files with 18 additions and 28 deletions
|
|
@ -99,6 +99,12 @@ nnoremap <leader>V :vsp $MYVIMRC<cr>
|
|||
" source vimrc with keystroke combination
|
||||
nnoremap <leader>VV :source $MYVIMRC<cr>
|
||||
|
||||
" PLUGIN: vim-sneak
|
||||
map f <Plug>Sneak_f
|
||||
map F <Plug>Sneak_F
|
||||
map t <Plug>Sneak_t
|
||||
map T <Plug>Sneak_T
|
||||
|
||||
" SPELL CHECKING
|
||||
" Spell check set to <leader>O, 'o' for 'orthography':
|
||||
" Move to the prev/next spelling error with [S ]S
|
||||
|
|
@ -183,3 +189,15 @@ nnoremap <silent> <leader>Q vapJgqap
|
|||
|
||||
" Enter distraction free prose mode with F11
|
||||
noremap <F11> :Goyo<CR>
|
||||
|
||||
" PLUGIN: fzf-bibtex
|
||||
" map @@ to automatically insert citation reference at cursor
|
||||
inoremap <silent> @@ <c-g>u<c-o>:call fzf#run(fzf#wrap({
|
||||
\ 'source': <sid>bibtex_ls(),
|
||||
\ 'sink*': function('<sid>bibtex_cite_sink_insert'),
|
||||
\ 'up': '25%',
|
||||
\ 'options': '--ansi --multi --prompt "Cite> "'}))<CR>
|
||||
" map <leader>cc to insert a complete citation at cursor
|
||||
nnoremap <silent> <leader>cc :CiteRef<cr>
|
||||
" map <leader>cm to insert markdown prettified citation
|
||||
nnoremap <silent> <leader>cm :CiteMarkdown<cr>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue