misc (kitty & snippets for nvim)

This commit is contained in:
hedy 2023-12-27 13:39:40 +08:00
parent ca4788b866
commit e53edef376
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
2 changed files with 8 additions and 2 deletions

View File

@ -31,3 +31,8 @@ map ctrl+shift+r no_op
# Source this last so it can override any settings above
include local.conf
# windows (not the os)
map cmd+shift+down resize_window taller 3
map cmd+shift+up resize_window shorter 3
map f5 launch --location=hsplit --cwd=current

View File

@ -4,7 +4,7 @@ snippet for
}
snippet read2
int ${1:n}, ${2:m}; cin >> ${1:n} >> ${1:m};
int ${1:n}, ${2:m}; cin >> ${1:n} >> ${2:m};
snippet readvec
Vi ${1:A};
@ -35,7 +35,7 @@ snippet println2
cout << ${1} << ${2} << endl;
snippet func
${1:int} ${2:solve}(${3:Vi &A}) {
${1:int} ${2:solve}(Vi &${3:A}) {
${0:$VISUAL}
}
@ -46,3 +46,4 @@ snippet init
int main() {
${0:$VISUAL}
}