You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,7 @@ Based on this, I created *Buffon* with the best of both plugins, perfectly adapt
65
65
return {
66
66
{
67
67
"francescarpi/buffon.nvim",
68
+
---@typeBuffonConfig
68
69
opts= {
69
70
--- Add your config here
70
71
},
@@ -84,6 +85,7 @@ Below you can see the default configuration, which you can adjust to your liking
84
85
return {
85
86
{
86
87
"francescarpi/buffon.nvim",
88
+
---@typeBuffonConfig
87
89
opts= {
88
90
cyclic_navigation=true,
89
91
},
@@ -148,6 +150,41 @@ Take a look at the default shortcuts for navigating between buffers, changing th
148
150
>vim.keymap.set("n", "c-l", vim.lsp.buf.hover)
149
151
>````
150
152
153
+
###Disablekeybindings
154
+
155
+
Thekeybindingsshowninthefollowinglistcanbedeactivated. Thereasonforthisisthatsomepeoplemaynotbeinterestedinusingthefunctionalitytoclosebuffers, movethem, etc.
156
+
157
+
```lua
158
+
{
159
+
move_buffer_up,
160
+
move_buffer_down,
161
+
move_buffer_top,
162
+
move_buffer_bottom,
163
+
switch_previous_used_buffer,
164
+
close_buffer,
165
+
close_buffers_above,
166
+
close_buffers_below,
167
+
close_all_buffers,
168
+
close_others,
169
+
reopen_recent_closed_buffer,
170
+
}
171
+
```
172
+
173
+
To do this, you only have to assign the string "false" in the configuration. For example:
0 commit comments