nvim: simplify some mappings

This commit is contained in:
tastytea 2022-10-01 19:02:40 +02:00
parent 1198bc7871
commit 2cded93650
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
3 changed files with 3 additions and 3 deletions

View File

@ -92,5 +92,5 @@ map('n', '<Leader>du', require("dapui").toggle, 'Toggle UI')
require('nvim-dap-virtual-text').setup({}) require('nvim-dap-virtual-text').setup({})
require('femaco').setup({}) require('femaco').setup({})
map('n', '<Leader><S-E>', require('femaco.edit').edit_code_block, map('n', '<Leader>E', require('femaco.edit').edit_code_block,
'Edit inline code block') 'Edit inline code block')

View File

@ -60,7 +60,7 @@ map({ 'v', 'n' }, '<Leader>y', '"+y', 'Yank to system clipboard')
map({ 'v', 'n' }, '<Leader><C-y>', '"*y', 'Yank to system selection') map({ 'v', 'n' }, '<Leader><C-y>', '"*y', 'Yank to system selection')
map('n', '<Leader>p', '"+p', 'Paste from system clipboard') map('n', '<Leader>p', '"+p', 'Paste from system clipboard')
map('n', '<Leader><S-p>', '"+P', 'Paste from system clipboard') map('n', '<Leader>P', '"+P', 'Paste from system clipboard')
map('n', '<Leader><C-p>', '"*p', 'Paste from system selection (after)') map('n', '<Leader><C-p>', '"*p', 'Paste from system selection (after)')
map('n', '<Leader><C-M-p>', '"*P', 'Paste from system selection (before)') map('n', '<Leader><C-M-p>', '"*P', 'Paste from system selection (before)')

View File

@ -124,7 +124,7 @@ map('n', '<F21>', mind.open_project, 'Open project mind') -- <S-F9> = <F21>
require('nvim-surround').setup({}) require('nvim-surround').setup({})
vim.g.table_mode_map_prefix = '<Leader><S-T>' vim.g.table_mode_map_prefix = '<Leader>T'
require('dressing').setup({ require('dressing').setup({
input = { input = {