nvim: Use mappings for copying entire buffer & drop textobj-entire
This commit is contained in:
parent
20b608ad08
commit
79183f7402
2 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,8 @@ remap('n', 'q', '<Nop>', { noremap = false })
|
|||
-- Use Q to execute default register.
|
||||
remap('n', 'Q', '<Nop>', opts)
|
||||
-- Copy to clipboard
|
||||
remap('n', '<Leader>y', ':%y+<CR>', opts)
|
||||
remap('n', '<Leader>Y', ':%y*<CR>', opts)
|
||||
remap('v', '<Leader>y', '"+y' , opts)
|
||||
remap('v', '<Leader>Y', '"*y' , opts)
|
||||
remap('n', '<Leader>p', '<ESC>"+p', opts)
|
||||
|
|
|
@ -43,7 +43,6 @@ local init = function ()
|
|||
'tommcdo/vim-exchange',
|
||||
'chaoren/vim-wordmotion',
|
||||
'kana/vim-textobj-user',
|
||||
'kana/vim-textobj-entire',
|
||||
'idbrii/textobj-word-column.vim',
|
||||
'glts/vim-textobj-comment'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue