Compare commits

..

No commits in common. "5374bcadee4ad19574b91713cdb26fdd69f5eca2" and "02ea6f66f6d451b8280f977aa06b9715ce2b70f3" have entirely different histories.

4 changed files with 9 additions and 8 deletions

View File

@ -23,7 +23,6 @@ source $XDG_CONFIG_HOME/nvim/vimspector.vim
" bracket closing " bracket closing
Plug 'jiangmiao/auto-pairs' Plug 'jiangmiao/auto-pairs'
let g:AutoPairsShortcutToggle = "@@" let g:AutoPairsShortcutToggle = "@@"
let g:AutoPairsFlyMode = 1
" improved error list " improved error list
Plug 'folke/trouble.nvim' Plug 'folke/trouble.nvim'

View File

@ -36,8 +36,6 @@ let mapleader = ","
" easier binds to use system clipboard with " easier binds to use system clipboard with
nmap <leader>y "+y nmap <leader>y "+y
vmap <leader>y "+y vmap <leader>y "+y
nmap <leader>c "+c
vmap <leader>c "+c
set shell=/bin/sh set shell=/bin/sh
@ -92,11 +90,11 @@ filetype plugin indent on
source $XDG_CONFIG_HOME/nvim/ultisnips.vim source $XDG_CONFIG_HOME/nvim/ultisnips.vim
if $SYSTEM_PROFILE == "DEFAULT" if $SYSTEM_PROFILE == "DEFAULT"
" plugins for IDE-like nvim
source $XDG_CONFIG_HOME/nvim/coding.vim
" notes and documents stuff " notes and documents stuff
source $XDG_CONFIG_HOME/nvim/typst.vim source $XDG_CONFIG_HOME/nvim/typst.vim
" plugins for IDE-like nvim
source $XDG_CONFIG_HOME/nvim/coding.vim
endif endif
" URL motions " URL motions

View File

@ -28,5 +28,3 @@ function TypstWatch()
exec "norm \<c-w>h" exec "norm \<c-w>h"
endfunc endfunc
nnoremap <silent><leader>fc :call TypstWatch()<cr> nnoremap <silent><leader>fc :call TypstWatch()<cr>
au Filetype FILETYPE let b:AutoPairs = {"(": ")"}

View File

@ -53,6 +53,12 @@ endsnippet
snippet ss "superscript" i snippet ss "superscript" i
^$1 ^$1
endsnippet endsnippet
snippet im "inline math" w
\$${1:${VISUAL}}\$
endsnippet
snippet mm "block math" w
\$ ${1:${VISUAL}} \$
endsnippet
snippet link "link" w snippet link "link" w
#link("${1}")[${2}] #link("${1}")[${2}]