|
|
@ -84,6 +84,9 @@ I hope you enjoy your Neovim journey,
|
|
|
|
P.S. You can delete this when you're done too. It's your config now! :)
|
|
|
|
P.S. You can delete this when you're done too. It's your config now! :)
|
|
|
|
--]]
|
|
|
|
--]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Custom config.
|
|
|
|
|
|
|
|
require 'custom.keybindings'
|
|
|
|
|
|
|
|
|
|
|
|
-- Set <space> as the leader key
|
|
|
|
-- Set <space> as the leader key
|
|
|
|
-- See `:help mapleader`
|
|
|
|
-- See `:help mapleader`
|
|
|
|
-- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used)
|
|
|
|
-- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used)
|
|
|
@ -197,10 +200,6 @@ vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right win
|
|
|
|
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
|
|
|
|
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
|
|
|
|
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
|
|
|
|
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
|
|
|
|
|
|
|
|
|
|
|
|
-- Custom Keybinds.
|
|
|
|
|
|
|
|
vim.keymap.set('i', 'jk', '<Esc>', { desc = 'escape' })
|
|
|
|
|
|
|
|
vim.keymap.set('i', 'kj', '<Esc>', { desc = 'escape' })
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- [[ Basic Autocommands ]]
|
|
|
|
-- [[ Basic Autocommands ]]
|
|
|
|
-- See `:help lua-guide-autocommands`
|
|
|
|
-- See `:help lua-guide-autocommands`
|
|
|
|
|
|
|
|
|
|
|
@ -918,7 +917,8 @@ require('lazy').setup({
|
|
|
|
-- Manually trigger a completion from nvim-cmp.
|
|
|
|
-- Manually trigger a completion from nvim-cmp.
|
|
|
|
-- Generally you don't need this, because nvim-cmp will display
|
|
|
|
-- Generally you don't need this, because nvim-cmp will display
|
|
|
|
-- completions whenever it has completion options available.
|
|
|
|
-- completions whenever it has completion options available.
|
|
|
|
['<C-Space>'] = cmp.mapping.complete {},
|
|
|
|
-- ['<C-Space>'] = cmp.mapping.complete {},
|
|
|
|
|
|
|
|
['<C-s>'] = cmp.mapping.complete {},
|
|
|
|
|
|
|
|
|
|
|
|
-- Think of <c-l> as moving to the right of your snippet expansion.
|
|
|
|
-- Think of <c-l> as moving to the right of your snippet expansion.
|
|
|
|
-- So if you have a snippet that's like:
|
|
|
|
-- So if you have a snippet that's like:
|
|
|
@ -1065,7 +1065,7 @@ require('lazy').setup({
|
|
|
|
-- This is the easiest way to modularize your config.
|
|
|
|
-- This is the easiest way to modularize your config.
|
|
|
|
--
|
|
|
|
--
|
|
|
|
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
|
|
|
|
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
|
|
|
|
-- { import = 'custom.plugins' },
|
|
|
|
{ import = 'custom.plugins' },
|
|
|
|
--
|
|
|
|
--
|
|
|
|
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
|
|
|
|
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
|
|
|
|
-- Or use telescope!
|
|
|
|
-- Or use telescope!
|
|
|
|