From c3f737e7c82ab06f8f545d8d7ae5f60702155525 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 21 Jul 2022 17:41:26 -0500 Subject: [PATCH] update keybindings --- home/executable_dot_xprofile | 2 -- home/private_dot_config/lvim/lua/keybindings.lua | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/home/executable_dot_xprofile b/home/executable_dot_xprofile index a854e09..7f6cd56 100644 --- a/home/executable_dot_xprofile +++ b/home/executable_dot_xprofile @@ -3,6 +3,4 @@ # enable touch on only laptop monitor xinput --map-to-output 'ELAN901C:00 04F3:2C29' eDP-1 -pactl load-module module-switch-on-connect - xss-lock -- ~/bin/lock & diff --git a/home/private_dot_config/lvim/lua/keybindings.lua b/home/private_dot_config/lvim/lua/keybindings.lua index 9a8be7a..c34b509 100644 --- a/home/private_dot_config/lvim/lua/keybindings.lua +++ b/home/private_dot_config/lvim/lua/keybindings.lua @@ -14,6 +14,8 @@ map('n', "H", "^", { noremap = true }) map('n', "L", "$", { noremap = true }) map('n', 'j', "v:count ? 'j' : 'gj'", { expr = true, noremap = true }) map('n', 'k', "v:count ? 'k' : 'gk'", { expr = true, noremap = true }) +map('n', "","}",{noremap = true}) +map('n', "","{",{noremap = true}) -- zettelkasten keybindings -- Create a new note after asking for its title. @@ -41,7 +43,6 @@ mappings["z"] = { } mappings["s"]["p"] = { "Telescope projects", "Recent Projects" } mappings["s"]["w"] = { "Telescope live_grep", "Find Word" } --- mappings[';'] = { "Alpha", "Dashboard" } -- Change Telescope navigation to use j and k for navigation and n and p for history in both input and normal mode.