nvim: misc changes
- properly don't overwrite clipboard on s or c in visual mode - added template for typst - makefile now compiles with c++20
This commit is contained in:
parent
25b1d0fd0c
commit
e96610bacb
@ -23,7 +23,9 @@ set lazyredraw nocursorline ttyfast
|
||||
set clipboard=unnamedplus
|
||||
" when using c or s, do not overwrite clipboard
|
||||
nnoremap c "-c
|
||||
vnoremap c "-c
|
||||
nnoremap s "-s
|
||||
vnoremap s "-s
|
||||
|
||||
let mapleader = ","
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
~/.cache/termdebug/bin/%: %.cpp
|
||||
mkdir -p ~/.cache/termdebug/bin/
|
||||
$(LINK.cpp) -g -Wall -Wpedantic $^ $(LOADLIBES) $(LDLIBS) -o $@
|
||||
$(LINK.cpp) -g -Wall -Wpedantic -std=c++20 $^ $(LOADLIBES) $(LDLIBS) -o $@
|
||||
|
||||
~/.cache/termdebug/bin/%: %.c
|
||||
mkdir -p ~/.cache/termdebug/bin/
|
||||
|
@ -8,6 +8,15 @@ snippet problem "template for problem notes" bi
|
||||
|
||||
endsnippet
|
||||
|
||||
snippet contest "template for contest problems" bi
|
||||
#import "../../templates/contest.typ": template, source_code, status
|
||||
#show: template.with(
|
||||
title: "$1",
|
||||
stat: "${2:incomplete}",
|
||||
)
|
||||
|
||||
endsnippet
|
||||
|
||||
snippet algs "template for compsci notes" bi
|
||||
#import "../templates/algs.typ": template, source_code
|
||||
#show: template.with(
|
||||
|
Loading…
Reference in New Issue
Block a user