fix: Spellings and words
This commit is contained in:
parent
0bcc15cb62
commit
af4037dac1
4 changed files with 24 additions and 24 deletions
|
@ -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 })
|
||||
|
|
|
@ -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 })
|
||||
|
|
|
@ -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 })
|
||||
|
|
|
@ -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 })
|
||||
|
|
Loading…
Reference in a new issue