Compare commits
2 Commits
02ea6f66f6
...
5374bcadee
Author | SHA1 | Date | |
---|---|---|---|
5374bcadee | |||
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'
|
||||
|
@ -36,6 +36,8 @@ let mapleader = ","
|
||||
" easier binds to use system clipboard with
|
||||
nmap <leader>y "+y
|
||||
vmap <leader>y "+y
|
||||
nmap <leader>c "+c
|
||||
vmap <leader>c "+c
|
||||
|
||||
set shell=/bin/sh
|
||||
|
||||
@ -90,11 +92,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…
x
Reference in New Issue
Block a user