add cosmetic changes to comments and keybindings

This commit is contained in:
Michael Flossmann 2024-08-22 09:55:21 +02:00 committed by prunebutt
parent 55008ce528
commit 7e67b345e9
8 changed files with 68 additions and 33 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
@ -35,7 +40,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";
}