Configure Neovide, completion, and terminal direction
- Disable Neovide animations (cursor, scroll, position) - Switch blink.cmp preset to super-tab for tab-based completion - Change toggleterm direction to vertical with 80 column width Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
43d7850368
commit
033e4b1600
10
init.lua
10
init.lua
|
|
@ -93,6 +93,14 @@ vim.g.maplocalleader = ' '
|
||||||
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
-- Set to true if you have a Nerd Font installed and selected in the terminal
|
||||||
vim.g.have_nerd_font = false
|
vim.g.have_nerd_font = false
|
||||||
|
|
||||||
|
-- Neovide configuration
|
||||||
|
if vim.g.neovide then
|
||||||
|
vim.g.neovide_cursor_animation_length = 0
|
||||||
|
vim.g.neovide_cursor_trail_size = 0
|
||||||
|
vim.g.neovide_scroll_animation_length = 0
|
||||||
|
vim.g.neovide_position_animation_length = 0
|
||||||
|
end
|
||||||
|
|
||||||
-- [[ Setting options ]]
|
-- [[ Setting options ]]
|
||||||
-- See `:help vim.o`
|
-- See `:help vim.o`
|
||||||
-- NOTE: You can change these options as you wish!
|
-- NOTE: You can change these options as you wish!
|
||||||
|
|
@ -763,7 +771,7 @@ require('lazy').setup({
|
||||||
-- <c-k>: Toggle signature help
|
-- <c-k>: Toggle signature help
|
||||||
--
|
--
|
||||||
-- See :h blink-cmp-config-keymap for defining your own keymap
|
-- See :h blink-cmp-config-keymap for defining your own keymap
|
||||||
preset = 'default',
|
preset = 'super-tab',
|
||||||
|
|
||||||
-- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see:
|
-- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see:
|
||||||
-- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps
|
-- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps
|
||||||
|
|
|
||||||
|
|
@ -18,8 +18,8 @@ return {
|
||||||
version = '*',
|
version = '*',
|
||||||
opts = {
|
opts = {
|
||||||
open_mapping = [[<C-\>]],
|
open_mapping = [[<C-\>]],
|
||||||
direction = 'horizontal',
|
direction = 'vertical',
|
||||||
size = 15,
|
size = 80,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue