Compare commits

...

2 Commits

Author SHA1 Message Date
5374bcadee
nvim: add "+c clipboard bind 2023-07-08 21:23:08 -04:00
109c321c85
nvim: autopairs upgrades 2023-07-08 21:21:40 -04:00
4 changed files with 8 additions and 9 deletions

View File

@ -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'

View File

@ -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

View File

@ -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 = {"(": ")"}

View File

@ -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}]