summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-17 23:55:38 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-17 23:55:38 +0200
commitb8d51cf32437c0ecd712d884552d663de6162e7c (patch)
tree5c836a7f6c5a95e61b5f1df3ed6a41df0ca7890d /.config
parent76d0891ad52ef006eda38852a1a1beffb4ca4d97 (diff)
nvim: Remove binding from select mode
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/after/ftplugin/c.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/after/ftplugin/c.lua b/.config/nvim/after/ftplugin/c.lua
index 99659f7..c65969c 100644
--- a/.config/nvim/after/ftplugin/c.lua
+++ b/.config/nvim/after/ftplugin/c.lua
@@ -1,6 +1,6 @@
vim.bo.commentstring = '// %s'
-vim.keymap.set('v', '<localleader>=', ":'<'>!clang-format -style=file<CR>", {
+vim.keymap.set('x', '<LocalLeader>=', ":'<'>!clang-format -style=file<CR>", {
desc = 'Format the current selection with Clang Format',
})