chore: remove unused keymaps
This commit is contained in:
@@ -35,10 +35,8 @@ local close_invisible_buffers = function()
|
|||||||
end
|
end
|
||||||
|
|
||||||
nmap_leader('bd', vim.cmd.bdelete, 'Delete')
|
nmap_leader('bd', vim.cmd.bdelete, 'Delete')
|
||||||
nmap_leader('bD', function() vim.cmd('bdelete!') end, 'Delete!')
|
|
||||||
nmap_leader('bs', new_scratch_buffer, 'Scratch')
|
nmap_leader('bs', new_scratch_buffer, 'Scratch')
|
||||||
nmap_leader('bw', vim.cmd.bwipeout, 'Wipeout')
|
nmap_leader('bw', vim.cmd.bwipeout, 'Wipeout')
|
||||||
nmap_leader('bW', function() vim.cmd('bwipeout!') end, 'Wipeout!')
|
|
||||||
nmap_leader('bo', close_invisible_buffers, 'Close invisible buffers')
|
nmap_leader('bo', close_invisible_buffers, 'Close invisible buffers')
|
||||||
|
|
||||||
-- Debug
|
-- Debug
|
||||||
@@ -90,7 +88,6 @@ end
|
|||||||
|
|
||||||
nmap_leader('ga', function() vim.cmd('Git add %') end, 'Add current file')
|
nmap_leader('ga', function() vim.cmd('Git add %') end, 'Add current file')
|
||||||
nmap_leader('gd', diff_unstaged, 'Diff unstaged')
|
nmap_leader('gd', diff_unstaged, 'Diff unstaged')
|
||||||
nmap_leader('go', function() MiniDiff.toggle_overlay() end, 'Toggle overlay')
|
|
||||||
nmap_leader('gs', function() MiniGit.show_at_cursor() end, 'Show at cursor')
|
nmap_leader('gs', function() MiniGit.show_at_cursor() end, 'Show at cursor')
|
||||||
xmap_leader('gs', function() MiniGit.show_at_cursor() end, 'Show at selection')
|
xmap_leader('gs', function() MiniGit.show_at_cursor() end, 'Show at selection')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user