misc (kitty & snippets for nvim)
This commit is contained in:
parent
ca4788b866
commit
e53edef376
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue