From bf4029aea354d0cc3684db41072e529c29c59168 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Tue, 19 Mar 2024 11:57:50 +0530 Subject: [PATCH] nvim: init: Disable Rust ftplugin mappings See https://github.com/neovim/neovim/commit/920ef1fd71482d078cd095f68fd5f58cb22b0f33. --- nvim/.config/nvim/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index 36d6846..b5e9d99 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -103,6 +103,9 @@ vim.g.tmux_navigator_no_mappings = 1 -- Write the current buffer, but only if changed before navigating from Vim to tmux pane vim.g.tmux_navigator_save_on_switch = 1 +-- Disable ]]/[[ style bindings +vim.g.no_rust_maps = 1 + -- We do this to prevent the loading of the system fzf.vim plugin. This is -- present at least on Arch/Manjaro vim.cmd.set{ args = { 'rtp-=/usr/share/vim/vimfiles' } }