Add more SnipRun keymaps
This commit is contained in:
parent
95bc3ffb4c
commit
345ff1e831
|
@ -13,10 +13,9 @@ end
|
||||||
vim.g.mapleader = ' '
|
vim.g.mapleader = ' '
|
||||||
-- Misc
|
-- Misc
|
||||||
imap('jk', '<Esc>')
|
imap('jk', '<Esc>')
|
||||||
nmap('<leader>sr', ':SnipRun<cr>')
|
nmap('<leader>gf', '<cmd>Git fetch<cr>')
|
||||||
nmap('<leader>gf', ':Git fetch<cr>')
|
nmap('<leader>gp', '<cmd>Git pull<cr>')
|
||||||
nmap('<leader>gp', ':Git pull<cr>')
|
nmap('<leader>gP', '<cmd>Git push<cr>')
|
||||||
nmap('<leader>gP', ':Git push<cr>')
|
|
||||||
|
|
||||||
-- Telescope
|
-- Telescope
|
||||||
nmap('<leader>;', '<cmd>Telescope builtin<cr>')
|
nmap('<leader>;', '<cmd>Telescope builtin<cr>')
|
||||||
|
@ -49,3 +48,7 @@ nmap('<leader>tt', '<cmd>TroubleToggle lsp_type_definitions<cr>')
|
||||||
nmap('<leader>ti', '<cmd>TroubleToggle lsp_implementations<cr>')
|
nmap('<leader>ti', '<cmd>TroubleToggle lsp_implementations<cr>')
|
||||||
nmap('<leader>tdd', '<cmd>TroubleToggle document_diagnostics<cr>')
|
nmap('<leader>tdd', '<cmd>TroubleToggle document_diagnostics<cr>')
|
||||||
nmap('<leader>twd', '<cmd>TroubleToggle workspace_diagnostics<cr>')
|
nmap('<leader>twd', '<cmd>TroubleToggle workspace_diagnostics<cr>')
|
||||||
|
|
||||||
|
-- SnipRun
|
||||||
|
nmap('<leader>srs', '<cmd>SnipRun<cr>')
|
||||||
|
nmap('<leader>srr', '<cmd>%SnipRun<cr>')
|
||||||
|
|
Loading…
Reference in a new issue