add cosmetic changes to comments and keybindings

This commit is contained in:
Michael Flossmann 2024-08-22 09:55:21 +02:00
parent aaf656431a
commit eb07e46c21
8 changed files with 56 additions and 10 deletions

View file

@ -8,7 +8,12 @@
enable = true;
# Enable treesitter based indentation (use '=' to auto-indent)
settings.indent.enable = true;
settings = {
indent.enable = true;
highlight = {
enable = true;
};
};
# Workaround to enable incremental selection without setting default keymaps (keymaps are set globally)
# This is needed in order to set custom descriptions and avoid to have multiple keymaps
@ -33,7 +38,7 @@
}
{
mode = [ "n" "x" "o" ];
key = ";";
key = "-";
action.__raw = "function() require('nvim-treesitter.textobjects.repeatable_move').repeat_last_move_opposite() end";
options.desc = "Repeat last move in the opposite direction";
}