From 345ff1e83148bfa7c01970993539849bff464cf8 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 8 Nov 2022 16:46:15 +0000 Subject: [PATCH] Add more SnipRun keymaps --- lua/keymaps.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lua/keymaps.lua b/lua/keymaps.lua index 32bffd3a..70776013 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -13,10 +13,9 @@ end vim.g.mapleader = ' ' -- Misc imap('jk', '') -nmap('sr', ':SnipRun') -nmap('gf', ':Git fetch') -nmap('gp', ':Git pull') -nmap('gP', ':Git push') +nmap('gf', 'Git fetch') +nmap('gp', 'Git pull') +nmap('gP', 'Git push') -- Telescope nmap(';', 'Telescope builtin') @@ -49,3 +48,7 @@ nmap('tt', 'TroubleToggle lsp_type_definitions') nmap('ti', 'TroubleToggle lsp_implementations') nmap('tdd', 'TroubleToggle document_diagnostics') nmap('twd', 'TroubleToggle workspace_diagnostics') + +-- SnipRun +nmap('srs', 'SnipRun') +nmap('srr', '%SnipRun')