fix: Spellings and words

This commit is contained in:
Sayantan Santra 2025-03-19 23:19:27 -05:00
parent 0bcc15cb62
commit af4037dac1
Signed by: SinTan1729
GPG key ID: 0538DD402EA50898
4 changed files with 24 additions and 24 deletions

View file

@ -6,8 +6,8 @@ local g = vim.g
g.mapleader = ','
g.maplocalleader = ';'
-- Make a dot-repeatable keymaps
local function drmap(mode, motion, keycodes, opts)
-- Make a dot-repeatable keymap
local function dr_map(mode, motion, keycodes, opts)
local termcodes = vim.api.nvim_replace_termcodes(keycodes, true, true, true)
local function dot_repeatable()
_G.dot_repeat_callback = vim.api.nvim_feedkeys(termcodes, mode, false)
@ -24,11 +24,11 @@ map('n', '<c-h>', ":wincmd h<cr>", { silent = true })
map('n', '<c-l>', ":wincmd l<cr>", { silent = true })
-- Use ,dd for deleting without putting into buffer etc.
drmap('n', '<leader>d', '"_d', { remap = false })
dr_map('n', '<leader>d', '"_d', { remap = false })
map('v', '<leader>d', '"_d', { remap = false })
drmap('n', '<leader>D', '"_D', { remap = false })
drmap('n', '<leader>x', '"_x', { remap = false })
drmap('n', '<leader>r', '"_viwP', { remap = false })
dr_map('n', '<leader>D', '"_D', { remap = false })
dr_map('n', '<leader>x', '"_x', { remap = false })
dr_map('n', '<leader>r', '"_viwP', { remap = false })
-- Insert a newline in normal mode by ,o and ,O
map('n', '<leader>o', ":<c-u>call append(line('.'), repeat([''], v:count1))<cr>", { remap = false })

View file

@ -55,8 +55,8 @@ g.loaded_python_provider = 0
g.mapleader = ','
g.maplocalleader = ';'
-- Make a dot-repeatable keymaps
local function drmap(mode, motion, keycodes, opts)
-- Make a dot-repeatable keymap
local function dr_map(mode, motion, keycodes, opts)
local termcodes = vim.api.nvim_replace_termcodes(keycodes, true, true, true)
local function dot_repeatable()
_G.dot_repeat_callback = vim.api.nvim_feedkeys(termcodes, mode, false)
@ -73,11 +73,11 @@ map('n', '<c-h>', ":wincmd h<cr>", { silent = true })
map('n', '<c-l>', ":wincmd l<cr>", { silent = true })
-- Use ,dd for deleting without putting into buffer etc.
drmap('n', '<leader>d', '"_d', { remap = false })
dr_map('n', '<leader>d', '"_d', { remap = false })
map('v', '<leader>d', '"_d', { remap = false })
drmap('n', '<leader>D', '"_D', { remap = false })
drmap('n', '<leader>x', '"_x', { remap = false })
drmap('n', '<leader>r', '"_viwP', { remap = false })
dr_map('n', '<leader>D', '"_D', { remap = false })
dr_map('n', '<leader>x', '"_x', { remap = false })
dr_map('n', '<leader>r', '"_viwP', { remap = false })
-- Insert a newline in normal mode by ,o and ,O
map('n', '<leader>o', ":<c-u>call append(line('.'), repeat([''], v:count1))<cr>", { remap = false })

View file

@ -6,8 +6,8 @@ local g = vim.g
g.mapleader = ','
g.maplocalleader = ';'
-- Make a dot-repeatable keymaps
local function drmap(mode, motion, keycodes, opts)
-- Make a dot-repeatable keymap
local function dr_map(mode, motion, keycodes, opts)
local termcodes = vim.api.nvim_replace_termcodes(keycodes, true, true, true)
local function dot_repeatable()
_G.dot_repeat_callback = vim.api.nvim_feedkeys(termcodes, mode, false)
@ -18,11 +18,11 @@ local function drmap(mode, motion, keycodes, opts)
end
-- Use ,dd for deleting without putting into buffer etc.
drmap('n', '<leader>d', '"_d', { remap = false })
dr_map('n', '<leader>d', '"_d', { remap = false })
map('v', '<leader>d', '"_d', { remap = false })
drmap('n', '<leader>D', '"_D', { remap = false })
drmap('n', '<leader>x', '"_x', { remap = false })
drmap('n', '<leader>r', '"_viwP', { remap = false })
dr_map('n', '<leader>D', '"_D', { remap = false })
dr_map('n', '<leader>x', '"_x', { remap = false })
dr_map('n', '<leader>r', '"_viwP', { remap = false })
-- Insert a newline in normal mode by ,o and ,O
map('n', '<leader>o', ":<c-u>call append(line('.'), repeat([''], v:count1))<cr>", { remap = false })

View file

@ -6,8 +6,8 @@ local g = vim.g
g.mapleader = ','
g.maplocalleader = ';'
-- Make a dot-repeatable keymaps
local function drmap(mode, motion, keycodes, opts)
-- Make a dot-repeatable keymap
local function dr_map(mode, motion, keycodes, opts)
local termcodes = vim.api.nvim_replace_termcodes(keycodes, true, true, true)
local function dot_repeatable()
_G.dot_repeat_callback = vim.api.nvim_feedkeys(termcodes, mode, false)
@ -18,11 +18,11 @@ local function drmap(mode, motion, keycodes, opts)
end
-- Use ,dd for deleting without putting into buffer etc.
drmap('n', '<leader>d', '"_d', { remap = false })
dr_map('n', '<leader>d', '"_d', { remap = false })
map('v', '<leader>d', '"_d', { remap = false })
drmap('n', '<leader>D', '"_D', { remap = false })
drmap('n', '<leader>x', '"_x', { remap = false })
drmap('n', '<leader>r', '"_viwP', { remap = false })
dr_map('n', '<leader>D', '"_D', { remap = false })
dr_map('n', '<leader>x', '"_x', { remap = false })
dr_map('n', '<leader>r', '"_viwP', { remap = false })
-- Insert a newline in normal mode by ,o and ,O
map('n', '<leader>o', ":<c-u>call append(line('.'), repeat([''], v:count1))<cr>", { remap = false })