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
|
|
@ -137,11 +137,6 @@ endif
|
|||
" PLUGIN CONFIGURATION {{{
|
||||
" ================================================================================
|
||||
|
||||
" PLUGIN: vim-sneak
|
||||
map f <Plug>Sneak_f
|
||||
map F <Plug>Sneak_F
|
||||
map t <Plug>Sneak_t
|
||||
map T <Plug>Sneak_T
|
||||
let g:sneak#s_next = 1
|
||||
let g:sneak#use_ic_scs = 1
|
||||
|
||||
|
|
@ -215,19 +210,6 @@ let g:pandoc#hypertext#ausosave_on_edit_open_link=1
|
|||
let g:pandoc#hypertext#create_if_no_alternates_exists=1
|
||||
let g:pandoc#syntax#conceal#use = 1
|
||||
let g:pandoc#syntax#conceal#urls = 1
|
||||
"
|
||||
" follow and open links with pandoc
|
||||
" open a file with either local means, or let the system decide
|
||||
nnoremap <silent> gX :<C-u>call pandoc#hypertext#OpenSystem()<cr>
|
||||
nnoremap <silent> gx :<C-u>call pandoc#hypertext#OpenLocal()<cr>
|
||||
" open a link in the editor (this buffer, or split)
|
||||
nnoremap <silent> gf :<C-u>call pandoc#hypertext#OpenLink( g:pandoc#hypertext#edit_open_cmd )<cr>
|
||||
nnoremap <silent> <CR> :<C-u>call pandoc#hypertext#OpenLink( g:pandoc#hypertext#edit_open_cmd )<cr>
|
||||
nnoremap <silent> gF :<C-u>call pandoc#hypertext#OpenLink( g:pandoc#hypertext#split_open_cmd )<cr>
|
||||
nnoremap <silent> gF :<C-u>call pandoc#hypertext#OpenLink( g:pandoc#hypertext#split_open_cmd )<cr>
|
||||
" go back a link
|
||||
nnoremap <silent> gb :<C-u>call pandoc#hypertext#BackFromLink()<cr>
|
||||
nnoremap <silent> <BS> :<C-u>call pandoc#hypertext#BackFromLink()<cr>
|
||||
|
||||
" PLUGIN: wiki.vim
|
||||
if $WIKIROOT ==? ""
|
||||
|
|
@ -359,16 +341,6 @@ command! -bang -nargs=* CiteMarkdown call fzf#run(fzf#wrap({
|
|||
\ 'up': '25%',
|
||||
\ 'options': '--ansi --multi --prompt "Markdown> "'
|
||||
\ }))
|
||||
" 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>
|
||||
|
||||
" PLUGIN: vim-go
|
||||
" change the tabstops for go to use tabs and a width of 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue