This commit is contained in:
jimrothstein 2023-10-02 15:46:44 -07:00
parent 6095ea2f5f
commit 7c8571ae9f
3 changed files with 14 additions and 17 deletions

View File

@ -1,13 +1,6 @@
--[[ --[[
TODO: TODO:
- enhance/fix/understand gza: 2023-09-25
- Problem seems to be OLD code in ~/.local/share ...
<https://github.com/folke/lazy.nvim#-uninstalling>
- gza is part of mini.surround (mini.nvim) ?
- OR, is lazy lazy.nvim loading a plugin?
- verbose nmap gza returns deep in kickstart ... lazy ... lazy.nvim .. core
- disable:vim.g.minisurround_disable: true
===================================================================== =====================================================================
==================== READ THIS BEFORE CONTINUING ==================== ==================== READ THIS BEFORE CONTINUING ====================
@ -329,8 +322,9 @@ vim.o.completeopt = 'menuone,noselect'
-- NOTE: You should make sure your terminal supports this (yes: 2023-09-03) -- NOTE: You should make sure your terminal supports this (yes: 2023-09-03)
vim.o.termguicolors = true vim.o.termguicolors = true
----------------------
-- [[ Basic Keymaps ]] -- [[ Basic Keymaps ]]
----------------------
-- Keymaps for better default experience -- Keymaps for better default experience
-- See `:help vim.keymap.set()` -- See `:help vim.keymap.set()`
vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true }) vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true })
@ -367,8 +361,10 @@ vim.api.nvim_create_autocmd('TextYankPost', {
pattern = '*', pattern = '*',
})-- }}} })-- }}}
------------------------------------------------------
-- experiment; add my keymaps to which-key -- experiment; add my keymaps to which-key
-- stolen: REF: https://github.com/hackorum/nfs/blob/master/lua/whichkey-config/init.lua -- stolen: REF: https://github.com/hackorum/nfs/blob/master/lua/whichkey-config/init.lua
------------------------------------------------------
--{{{ --{{{
local wk = require 'which-key' local wk = require 'which-key'
wk.setup { wk.setup {
@ -533,6 +529,7 @@ vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagn
-- [[ Configure LSP ]] -- [[ Configure LSP ]]
-- This function gets run when an LSP connects to a particular buffer. -- This function gets run when an LSP connects to a particular buffer.
local on_attach = function(_, bufnr) local on_attach = function(_, bufnr)
-- NOTE: Remember that lua is a real programming language, and as such it is possible -- NOTE: Remember that lua is a real programming language, and as such it is possible
-- to define small helper and utility functions so you don't have to repeat yourself -- to define small helper and utility functions so you don't have to repeat yourself
-- many times. -- many times.
@ -543,7 +540,6 @@ local on_attach = function(_, bufnr)
if desc then if desc then
desc = 'LSP: ' .. desc desc = 'LSP: ' .. desc
end end
vim.keymap.set('n', keys, func, { buffer = bufnr, desc = desc }) vim.keymap.set('n', keys, func, { buffer = bufnr, desc = desc })
end end

1
spell/en.utf-8.add Normal file
View File

@ -0,0 +1 @@
With

BIN
spell/en.utf-8.add.spl Normal file

Binary file not shown.