repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

Merge branch 'trunk' of github.com:bugabinga/dotfiles into trunk

7ff140a95d348dde5013caa1b6541e5342771571

Oliver Krylow <o.krylow@isp-insoft.de> ·

unsigned

Browse filesCompare with HEAD

Changed files (7)

+295 / −332 text lines

Diff layout

neovim/README.md

Modified

+7 / −11 text lines

3939# todo
4141* navic highlights do not fit winbar
42* does status bar fail to display if lsp fails to load?
42* neogen does not generate JavDoc
4343* pandoc with lua filters for diagrams for generating documents and previewing --> https://github.com/tex/vimpreviewpandoc
44* use gen.ai to generate docs
4544* command for toggling case conventions
46* Move to treesitter main branch
45* make highlights more visible when expanding snippets
46* cursor restore position on (session?) load jumps one location to somewhere after correct location
4747* check out `vim.snippet`
4848* use `vim.base64` in wezterm plugin
49* Bug:
50 LuaLS is getting crazy diagnosing non-stop...
49* LuaLS is getting crazy diagnosing non-stop...
5150* integrate language tool?
52* ]s [s to jump to spelling mistakes
53* learn marks and refactor mark.lua
54* try Termdebug with gdb
51* refactor mark.lua
5552* adapt config to respect `vim.g.nerdfont` (std.constants?)
53* Do I want multiple LSPs per buffer? In case of markdown and text it seems useful, for code it seems like a headache...
5654* use ltex-ls for markdown, code comments and commit messages
57* learn from
58 <https://github.com/stevearc/dotfiles/blob/master/.config/nvim/plugin/exrc.lua>
59 and maybe adapt `std.localrc`
6055* setup DAP
6156* nvim spell for camel case words
6257* add nu-check to nvim-lint
6661 on_attach)
6762* split parts of config into plugins
6863* add support for Java multi line string in autopairs
64* try Termdebug with gdb
6965* pandoc with lua filters for diagrams for generating documents and previewing
7066 --> https://github.com/tex/vimpreviewpandoc
7167 outside of vim?

neovim/ftplugin/lua.lua

Modified

+29 / −20 text lines

22vim.opt_local.include = [[\v<((do|load)file|require)[^''"]*[''"]\zs[^''"]+]]
33vim.opt_local.includeexpr = "substitute(v:fname,'\\.','/','g')"
44for _, path in pairs( vim.api.nvim_list_runtime_paths() ) do
5 vim.opt_local.path:append( path .. '/lua' )
5 vim.opt_local.path:append( path .. '/lua' )
66end
77vim.opt_local.suffixesadd:prepend '.lua'
88vim.opt_local.conceallevel = 1
1010local map = require 'std.map'
1212map.normal {
13 description = 'Wrap word under cursor with require call',
14 keys = '<leader>rq',
15 category = 'refactor',
16 -- surround word with '
17 -- insert `require`
18 -- move 3 words
19 command = "ebi'<esc>ea'<esc>bbirequire <esc>www",
20 buffer = true,
21 remap = true,
13 description = 'Wrap word under cursor with require call',
14 keys = '<leader>rq',
15 category = 'refactor',
16 -- surround word with '
17 -- insert `require`
18 -- move 3 words
19 command = "ebi'<esc>ea'<esc>bbirequire <esc>www",
20 buffer = true,
21 remap = true,
2424--TODO: add dbg.print, require, prequire
2525prequire 'nvim-surround'.buffer_setup {
26 surrounds = {
27 ['P'] = {
28 add = { 'vim.print(', ')', },
29 find = 'vim%.print%b()',
30 delete = '^(vim%.print%()().-(%))()$',
31 change = {
32 target = '^(vim%.print%()().-(%))()$',
33 },
34 },
35 },
26 surrounds = {
27 ['R'] = {
28 add = { "require '", "'", },
29 find = "require%b''",
30 --FIXME: find out how to craft these, those cannot be correct right now
31 delete = "^(require')().-(')()$",
32 change = {
33 target = "^(require')().-('()$",
34 },
35 },
36 ['P'] = {
37 add = { 'vim.print(', ')', },
38 find = 'vim%.print%b()',
39 delete = '^(vim%.print%()().-(%))()$',
40 change = {
41 target = '^(vim%.print%()().-(%))()$',
42 },
43 },
44 },

neovim/lazy-lock.json

Modified

+1 / −1 text lines

8484 "virt-column.nvim": { "branch": "master", "commit": "b62b4ef0774d19452d4ed18e473e824c7a756f2f" },
8585 "which-key.nvim": { "branch": "main", "commit": "ce741eb559c924d72e3a67d2189ad3771a231414" },
8686 "zen-mode.nvim": { "branch": "main", "commit": "78557d972b4bfbb7488e17b5703d25164ae64e6a" }
87}No final newline
87}

neovim/lua/bugabinga/plugins/cmp.lua

Modified

+119 / −130 text lines

1local map = require 'std.map'
2local user_command = require 'std.user_command'
31local icon = require 'std.icon'
53return {
6 'hrsh7th/nvim-cmp',
7 lazy = false,
8 dependencies = {
9 'hrsh7th/cmp-nvim-lsp',
10 'hrsh7th/cmp-buffer',
11 'hrsh7th/cmp-path',
12 'hrsh7th/cmp-nvim-lua',
13 'saadparwaiz1/cmp_luasnip',
14 'onsails/lspkind.nvim',
15 'L3MON4D3/LuaSnip',
16 },
17 config = function ()
18 local cmp = require 'cmp'
19 local luasnip = require 'luasnip'
20 local MAX_INDEX_FILE_SIZE = 4000
4 'hrsh7th/nvim-cmp',
5 lazy = false,
6 dependencies = {
7 'hrsh7th/cmp-nvim-lsp',
8 'hrsh7th/cmp-buffer',
9 'hrsh7th/cmp-path',
10 'hrsh7th/cmp-nvim-lua',
11 'saadparwaiz1/cmp_luasnip',
12 'onsails/lspkind.nvim',
13 'L3MON4D3/LuaSnip',
14 },
15 config = function ()
16 local cmp = require 'cmp'
17 local luasnip = require 'luasnip'
18 local MAX_INDEX_FILE_SIZE = 4000
22 local has_words_before = function ()
23 local line, col = unpack( vim.api.nvim_win_get_cursor( 0 ) )
24 return col ~= 0 and vim.api.nvim_buf_get_lines( 0, line - 1, line, true )[1]:sub( col, col ):match '%s' == nil
25 end
20 local snippet_next = function ( fallback )
21 if luasnip.expand_or_jumpable() then
22 luasnip.expand_or_jump()
23 elseif cmp.visible() then
24 cmp.select_next_item()
25 else
26 fallback()
27 end
28 end
27 local snippet_next = function ( fallback )
28 if luasnip.expand_or_jumpable() then
29 luasnip.expand_or_jump()
30 elseif cmp.visible() then
31 cmp.select_next_item()
32 elseif has_words_before() then
33 cmp.complete()
34 else
35 fallback()
36 end
37 end
30 local snippet_prev = function ( fallback )
31 if luasnip.jumpable( -1 ) then
32 luasnip.jump( -1 )
33 elseif cmp.visible() then
34 cmp.select_prev_item()
35 else
36 fallback()
37 end
38 end
39 local snippet_prev = function ( fallback )
40 if luasnip.jumpable( -1 ) then
41 luasnip.jump( -1 )
42 elseif cmp.visible() then
43 cmp.select_prev_item()
44 else
45 fallback()
46 end
47 end
40 local mapping = cmp.mapping.preset.insert {
41 ['<C-d>'] = cmp.mapping.scroll_docs( -4 ),
42 ['<C-f>'] = cmp.mapping.scroll_docs( 4 ),
43 ['<C-e>'] = cmp.mapping.close(),
44 ['<C-y>'] = cmp.mapping.confirm { behavior = cmp.ConfirmBehavior.Replace, select = true, },
45 ['<C-space>'] = cmp.mapping.complete(),
46 ['<Tab>'] = cmp.mapping( snippet_next, { 'i', 's', } ),
47 ['<S-Tab>'] = cmp.mapping( snippet_prev, { 'i', 's', } ),
48 }
49 local mapping = cmp.mapping.preset.insert {
50 ['<C-d>'] = cmp.mapping.scroll_docs( -4 ),
51 ['<C-f>'] = cmp.mapping.scroll_docs( 4 ),
52 ['<C-e>'] = cmp.mapping.close(),
53 ['<C-y>'] = cmp.mapping.confirm { behavior = cmp.ConfirmBehavior.Replace, select = true, },
54 ['<C-space>'] = cmp.mapping.complete(),
55 ['<Tab>'] = cmp.mapping( snippet_next, { 'i', 's', } ),
56 ['<S-Tab>'] = cmp.mapping( snippet_prev, { 'i', 's', } ),
57 }
50 local formatting = {}
51 local ok, lspkind = pcall( require, 'lspkind' )
52 if ok then
53 formatting.format = lspkind.cmp_format {
54 mode = 'symbol',
55 symbol_map = {
56 Copilot = icon.copilot,
57 Class = icon.class,
58 Color = icon.color,
59 Constant = icon.constant,
60 Constructor = icon.constructor,
61 Enum = icon.enum,
62 EnumMember = icon.enum_member,
63 Event = icon.event,
64 Field = icon.field,
65 File = icon.file,
66 Folder = icon.folder,
67 Function = icon['function'],
68 Interface = icon.interface,
69 Keyword = icon.keyword,
70 Method = icon.method,
71 Module = icon.module,
72 Operator = icon.operator,
73 Property = icon.property,
74 Reference = icon.reference,
75 Snippet = icon.snippet,
76 Struct = icon.struct,
77 Text = icon.text,
78 TypeParameter = icon.type_parameter,
79 Unit = icon.unit,
80 Value = icon.value,
81 Variable = icon.variable,
82 },
83 menu = {
84 buffer = '[buf]',
85 nvim_lsp = '[LSP]',
86 nvim_lua = '[nvim]',
87 path = '[path]',
88 luasnip = '[snip]',
89 },
90 }
91 end
59 --TODO: use custom icons
60 local formatting = {}
61 local ok, lspkind = pcall( require, 'lspkind' )
62 if ok then
63 formatting.format = lspkind.cmp_format {
64 mode = 'symbol',
65 symbol_map = {
66 Copilot = icon.copilot,
67 Class = icon.class,
68 Color = icon.color,
69 Constant = icon.constant,
70 Constructor = icon.constructor,
71 Enum = icon.enum,
72 EnumMember = icon.enum_member,
73 Event = icon.event,
74 Field = icon.field,
75 File = icon.file,
76 Folder = icon.folder,
77 Function = icon['function'],
78 Interface = icon.interface,
79 Keyword = icon.keyword,
80 Method = icon.method,
81 Module = icon.module,
82 Operator = icon.operator,
83 Property = icon.property,
84 Reference = icon.reference,
85 Snippet = icon.snippet,
86 Struct = icon.struct,
87 Text = icon.text,
88 TypeParameter = icon.type_parameter,
89 Unit = icon.unit,
90 Value = icon.value,
91 Variable = icon.variable,
92 },
93 menu = {
94 buffer = '[buf]',
95 nvim_lsp = '[LSP]',
96 nvim_lua = '[nvim]',
97 path = '[path]',
98 luasnip = '[snip]',
99 },
100 }
101 end
93 local sources = {
94 { name = 'neodev', },
95 { name = 'nvim_lua', },
96 { name = 'nvim_lsp', },
97 { name = 'path', },
98 { name = 'luasnip', },
99 { name = 'neorg', },
100 {
101 name = 'buffer',
102 keyword_length = 4,
103 options = {
104 get_bufnrs = function ()
105 local bufs = {}
106 for _, bufnr in ipairs( vim.api.nvim_list_bufs() ) do
107 -- Don't index giant files
108 if vim.api.nvim_buf_is_loaded( bufnr ) and vim.api.nvim_buf_line_count( bufnr ) < MAX_INDEX_FILE_SIZE then
109 table.insert( bufs, bufnr )
110 end
111 end
112 return bufs
113 end,
114 },
115 },
116 }
103 local sources = {
104 { name = 'nvim_lua', },
105 { name = 'nvim_lsp', },
106 { name = 'path', },
107 { name = 'luasnip', },
108 { name = 'neorg', },
109 {
110 name = 'buffer',
111 keyword_length = 4,
112 options = {
113 get_bufnrs = function ()
114 local bufs = {}
115 for _, bufnr in ipairs( vim.api.nvim_list_bufs() ) do
116 -- Don't index giant files
117 if vim.api.nvim_buf_is_loaded( bufnr ) and vim.api.nvim_buf_line_count( bufnr ) < MAX_INDEX_FILE_SIZE then
118 table.insert( bufs, bufnr )
119 end
120 end
121 return bufs
122 end,
123 },
124 },
125 }
118 cmp.setup {
119 mapping = mapping,
120 formatting = formatting,
121 sources = sources,
127 cmp.setup {
128 mapping = mapping,
129 formatting = formatting,
130 sources = sources,
123 completion = { autocomplete = false, },
124 snippet = {
125 expand = function ( args ) luasnip.lsp_expand( args.body ) end,
126 },
132 completion = { autocomplete = false, },
133 snippet = {
134 expand = function ( args )
135 luasnip.lsp_expand( args.body )
136 end,
137 },
139 -- experimental = { native_menu = false, },
140 }
141 end,
128 -- experimental = { native_menu = false, },
129 }
130 end,

neovim/lua/bugabinga/plugins/neoclip.lua

Deleted
deleted file mode 100644

+0 / −21 text lines

1local map = require 'std.map'
2
3map.normal {
4 description = 'Open clipboard history...',
5 category = 'history',
6 keys = '<c-p><c-h>',
7 command = function ()
8 local telescope = require 'telescope'
9 telescope.load_extension 'neoclip'
10 telescope.extensions.neoclip.default()
11 end,
12}
14return {
15 'AckslD/nvim-neoclip.lua',
16 event = 'TextYankPost',
17 dependencies = {
18 'nvim-telescope/telescope.nvim',
19 },
20 opts = {},
21}

neovim/lua/bugabinga/plugins/telescope.lua

Modified

+139 / −140 text lines

11require 'bugabinga.health'.add_dependency
22{
3 name = 'ripgrep',
4 name_of_executable = 'rg',
3 name = 'ripgrep',
4 name_of_executable = 'rg',
55}
6 {
7 name = 'find-fd',
8 name_of_executable = 'fd',
9 }
10 {
11 name = 'CMake',
12 name_of_executable = 'cmake',
13 }
6 {
7 name = 'find-fd',
8 name_of_executable = 'fd',
9 }
10 {
11 name = 'CMake',
12 name_of_executable = 'cmake',
13 }
1515local map = require 'std.map'
1616local icon = require 'std.icon'
1818map.normal {
19 description = 'Switch to recently used folders',
20 category = 'navigation',
21 keys = '<c-p><c-z>',
22 command = function () require 'telescope'.extensions.zoxide.list() end,
19 description = 'Switch to recently used folders',
20 category = 'navigation',
21 keys = '<c-p><c-z>',
22 command = function () require 'telescope'.extensions.zoxide.list() end,
2525map.normal.visual.terminal {
26 description = 'Search help files',
27 category = 'help',
28 keys = '<F1>',
29 command = function () require 'telescope.builtin'.help_tags() end,
26 description = 'Search help files',
27 category = 'help',
28 keys = '<F1>',
29 command = function () require 'telescope.builtin'.help_tags() end,
3232map.normal {
33 description = 'Open last search...',
34 category = 'plugins',
35 keys = '<c-p>',
36 command = function () require 'telescope.builtin'.resume() end,
33 description = 'Open last search...',
34 category = 'plugins',
35 keys = '<c-p>',
36 command = function () require 'telescope.builtin'.resume() end,
3939map.normal {
40 description = 'Open search for all files...',
41 category = 'search',
42 keys = '<c-p><c-p>',
43 command = function () require 'telescope.builtin'.find_files() end,
40 description = 'Open search for all files...',
41 category = 'search',
42 keys = '<c-p><c-p>',
43 command = function () require 'telescope.builtin'.find_files() end,
4646map.normal {
47 description = 'Open search for keymaps...',
48 category = 'search',
49 keys = '<c-p><c-k>',
50 command = function () require 'telescope.builtin'.keymaps() end,
47 description = 'Open search for keymaps...',
48 category = 'search',
49 keys = '<c-p><c-k>',
50 command = function () require 'telescope.builtin'.keymaps() end,
5353map.normal {
54 description = 'Open search for symbols...',
55 category = 'search',
56 keys = '<c-p><c-s>',
57 command = function () require 'telescope.builtin'.symbols() end,
54 description = 'Open search for symbols...',
55 category = 'search',
56 keys = '<c-p><c-s>',
57 command = function () require 'telescope.builtin'.symbols() end,
6060map.normal {
61 description = 'Open search for all file contents...',
62 category = 'search',
63 keys = '<c-p><c-g>',
64 command = function () require 'telescope.builtin'.live_grep() end,
61 description = 'Open search for all file contents...',
62 category = 'search',
63 keys = '<c-p><c-g>',
64 command = function () require 'telescope.builtin'.live_grep() end,
6767map.normal {
68 description = 'Open search for current buffer content...',
69 category = 'search',
70 keys = '<c-p><c-/>',
71 command = function () require 'telescope.builtin'.current_buffer_fuzzy_find() end,
68 description = 'Open search for current buffer content...',
69 category = 'search',
70 keys = '<c-p><c-/>',
71 command = function () require 'telescope.builtin'.current_buffer_fuzzy_find() end,
7474map.normal {
75 description = 'Open search for buffers...',
76 category = 'search',
77 keys = '<c-e>',
78 command = function () require 'telescope.builtin'.buffers() end,
75 description = 'Open search for buffers...',
76 category = 'search',
77 keys = '<c-e>',
78 command = function () require 'telescope.builtin'.buffers() end,
79}
81map.normal {
82 description = 'Open clipboard history...',
83 category = 'history',
84 keys = '<c-p><c-v>',
85 command = function ()
86 require 'telescope'.extensions.neoclip.default()
87 end,
8190return {
82 'nvim-telescope/telescope.nvim',
83 version = '0.*',
84 cmd = 'Telescope',
85 event = 'VeryLazy',
86 dependencies = {
87 {
88 'nvim-telescope/telescope-fzf-native.nvim',
89 build =
90 function ( plugin_spec )
91 local result
92 result = vim.system( { 'cmake', '-S.', '-Bbuild', '-DCMAKE_BUILD_TYPE=Release', },
93 { text = true, cwd = plugin_spec.dir, } ):wait()
94 if result.code ~= 0 then error( result.stderr ) end
95 result = vim.system( { 'cmake', '--build', 'build', '--config', 'Release', },
96 { text = true, cwd = plugin_spec.dir, } ):wait()
97 if result.code ~= 0 then error( result.stderr ) end
98 result = vim.system( { 'cmake', '--install', 'build', '--prefix', 'build', },
99 { text = true, cwd = plugin_spec.dir, } ):wait()
100 if result.code ~= 0 then error( result.stderr ) end
101 end,
102 },
103 'nvim-lua/plenary.nvim',
104 'nvim-tree/nvim-web-devicons',
105 'nvim-telescope/telescope-symbols.nvim',
106 'jvgrootveld/telescope-zoxide',
107 },
108 config = function ()
109 local telescope = require 'telescope'
110 local actions = require 'telescope.actions'
111 local themes = require 'telescope.themes'
91 'nvim-telescope/telescope.nvim',
92 version = '0.*',
93 cmd = 'Telescope',
94 event = 'VeryLazy',
95 dependencies = {
96 {
97 'nvim-telescope/telescope-fzf-native.nvim',
98 build =
99 function ( plugin_spec )
100 local result
101 result = vim.system( { 'cmake', '-S.', '-Bbuild', '-DCMAKE_BUILD_TYPE=Release', },
102 { text = true, cwd = plugin_spec.dir, } ):wait()
103 if result.code ~= 0 then error( result.stderr ) end
104 result = vim.system( { 'cmake', '--build', 'build', '--config', 'Release', },
105 { text = true, cwd = plugin_spec.dir, } ):wait()
106 if result.code ~= 0 then error( result.stderr ) end
107 result = vim.system( { 'cmake', '--install', 'build', '--prefix', 'build', },
108 { text = true, cwd = plugin_spec.dir, } ):wait()
109 if result.code ~= 0 then error( result.stderr ) end
110 end,
111 },
112 'nvim-lua/plenary.nvim',
113 'nvim-tree/nvim-web-devicons',
114 'nvim-telescope/telescope-symbols.nvim',
115 'jvgrootveld/telescope-zoxide',
116 'AckslD/nvim-neoclip.lua',
117 },
118 config = function ()
119 local telescope = require 'telescope'
120 local actions = require 'telescope.actions'
121 local themes = require 'telescope.themes'
113 local ivy = themes.get_ivy { hidden = true, layout_config = { preview_width = 0.69, }, }
114 local dropdown = themes.get_dropdown { layout_config = { width = 0.69, }, }
115 local cursor = themes.get_cursor { layout_config = { preview_width = 0.42, width = 0.69, }, }
123 local ivy = themes.get_ivy { hidden = true, layout_config = { preview_width = 0.69, }, }
117 telescope.setup {
118 defaults = {
119 selection_strategy = 'reset',
120 hidden = true,
121 scroll_strategy = 'limit',
122 wrap_results = true,
123 layout_config = {
124 horizontal = { prompt_position = 'bottom', preview_width = 0.69, },
125 vertical = { mirror = false, },
126 width = 0.69,
127 height = 0.42,
128 preview_cutoff = 124,
129 },
130 prompt_prefix = icon.telescope .. ' ',
131 selection_caret = icon.arrow_right .. ' ',
132 file_ignore_patterns = {
133 '.git/',
134 '.svn/',
135 '.cache',
136 '%.o',
137 '%.a',
138 '%.out',
139 '%.class',
140 '%.pdf',
141 '%.mkv',
142 '%.mp4',
143 '%.zip',
144 '%.spl',
145 },
146 mappings = {
147 i = {
148 ['<c-j>'] = actions.cycle_history_next,
149 ['<c-k>'] = actions.cycle_history_prev,
150 ['<c-n>'] = actions.move_selection_next,
151 ['<c-p>'] = actions.move_selection_previous,
152 ['<c-s>'] = actions.file_split,
153 ['g?'] = actions.which_key,
154 },
155 n = { q = actions.close, },
156 },
157 },
158 -- FIXME: some themes have an issue, where filtered results do not get
159 -- selected and are not in view
160 pickers = {
161 find_files = ivy,
162 fd = ivy,
163 keymaps = dropdown,
164 diagnostics = dropdown,
165 symbols = cursor,
166 live_grep = ivy,
167 current_buffer_fuzzy_find = cursor,
168 buffers = cursor,
169 help_tags = dropdown,
170 },
171 extensions = {
172 zoxide = { prompt_title = 'Navigate deez nuts!', },
173 },
174 }
125 telescope.setup {
126 defaults = {
127 hidden = true,
128 prompt_prefix = icon.telescope .. ' ',
129 selection_caret = icon.arrow_right .. ' ',
130 file_ignore_patterns = {
131 '.git/',
132 '.svn/',
133 '.cache',
134 '%.o',
135 '%.a',
136 '%.out',
137 '%.class',
138 '%.pdf',
139 '%.mkv',
140 '%.mp4',
141 '%.zip',
142 '%.spl',
143 },
144 mappings = {
145 i = {
146 ['<c-j>'] = actions.cycle_history_next,
147 ['<c-k>'] = actions.cycle_history_prev,
148 ['<c-n>'] = actions.move_selection_next,
149 ['<c-p>'] = actions.move_selection_previous,
150 ['<c-s>'] = actions.file_split,
151 ['g?'] = actions.which_key,
152 },
153 n = { q = actions.close, },
154 },
155 },
156 pickers = {
157 find_files = ivy,
158 fd = ivy,
159 keymaps = ivy,
160 diagnostics = ivy,
161 symbols = ivy,
162 live_grep = ivy,
163 current_buffer_fuzzy_find = ivy,
164 buffers = ivy,
165 help_tags = ivy,
166 },
167 extensions = {
168 zoxide = { prompt_title = 'Navigate deez nuts!', },
169 },
170 }
176 telescope.load_extension 'fzf'
177 telescope.load_extension 'zoxide'
178 end,
172 require 'neoclip'.setup()
174 telescope.load_extension 'fzf'
175 telescope.load_extension 'zoxide'
176 telescope.load_extension 'neoclip'
177 end,

neovim/lua/bugabinga/terminal.lua

Modified

+0 / −9 text lines

2323 command = [[ <C-\><C-n> ]],
2424 }
26 map.terminal.normal {
27 description = 'Close current terminal',
28 category = 'terminal',
29 keys = '<F7>',
30 buffer = true,
31 command = [[ <C-\><C-n><cmd>q<cr> ]],
32 }
3426 vim.opt_local.spell = false
3627 vim.cmd.startinsert()
3728end