nvim: autopairs upgrades
This commit is contained in:
parent
02ea6f66f6
commit
109c321c85
@ -23,6 +23,7 @@ source $XDG_CONFIG_HOME/nvim/vimspector.vim
|
||||
" bracket closing
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
let g:AutoPairsShortcutToggle = "@@"
|
||||
let g:AutoPairsFlyMode = 1
|
||||
|
||||
" improved error list
|
||||
Plug 'folke/trouble.nvim'
|
||||
|
@ -90,11 +90,11 @@ filetype plugin indent on
|
||||
source $XDG_CONFIG_HOME/nvim/ultisnips.vim
|
||||
|
||||
if $SYSTEM_PROFILE == "DEFAULT"
|
||||
" notes and documents stuff
|
||||
source $XDG_CONFIG_HOME/nvim/typst.vim
|
||||
|
||||
" plugins for IDE-like nvim
|
||||
source $XDG_CONFIG_HOME/nvim/coding.vim
|
||||
|
||||
" notes and documents stuff
|
||||
source $XDG_CONFIG_HOME/nvim/typst.vim
|
||||
endif
|
||||
|
||||
" URL motions
|
||||
|
@ -28,3 +28,5 @@ function TypstWatch()
|
||||
exec "norm \<c-w>h"
|
||||
endfunc
|
||||
nnoremap <silent><leader>fc :call TypstWatch()<cr>
|
||||
|
||||
au Filetype FILETYPE let b:AutoPairs = {"(": ")"}
|
||||
|
@ -53,12 +53,6 @@ endsnippet
|
||||
snippet ss "superscript" i
|
||||
^$1
|
||||
endsnippet
|
||||
snippet im "inline math" w
|
||||
\$${1:${VISUAL}}\$
|
||||
endsnippet
|
||||
snippet mm "block math" w
|
||||
\$ ${1:${VISUAL}} \$
|
||||
endsnippet
|
||||
|
||||
snippet link "link" w
|
||||
#link("${1}")[${2}]
|
||||
|
Loading…
Reference in New Issue
Block a user