~hedy/dotfiles

e53edef376cca721328b9b0545be91e0237d1fec — hedy 4 months ago ca4788b
misc (kitty & snippets for nvim)
2 files changed, 8 insertions(+), 2 deletions(-)

M .config/kitty/kitty.conf
M .config/nvim/snippets/cpp.snippets
M .config/kitty/kitty.conf => .config/kitty/kitty.conf +5 -0
@@ 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

M .config/nvim/snippets/cpp.snippets => .config/nvim/snippets/cpp.snippets +3 -2
@@ 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}
    }