From e54aca98ee08db33345356e1f6e55e15457d3f37 Mon Sep 17 00:00:00 2001 From: siduck76 Date: Sun, 9 May 2021 13:52:38 +0530 Subject: [PATCH] added some mappings --- lua/mappings.lua | 13 ++++++++----- lua/zenmode.lua | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/lua/mappings.lua b/lua/mappings.lua index 5afeb33..70fde6a 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -9,19 +9,20 @@ end local opt = {} -- dont copy any deleted text , this is disabled by default so uncomment the below mappings if you want them! ---[[ +--[[ remove this line map("n", "dd", [=[ "_dd ]=], opt) map("v", "dd", [=[ "_dd ]=], opt) map("v", "x", [=[ "_x ]=], opt) -]] + this line too ]] -- OPEN TERMINALS -- -map("n", "", [[vnew term://bash ]], opt) -- open term over right -map("n", "", [[ split term://bash | resize 10 ]], opt) -- open term bottom +map("n", "", [[vnew term://bash ]], opt) -- over right +map("n", "", [[ split term://bash | resize 10 ]], opt) -- bottom +map("n", "t", [[ tabnew | term ]], opt) -- newtab --- COPY EVERYTHING -- +-- COPY EVERYTHING in the file-- map("n", "", [[ %y+]], opt) -- toggle numbers --- @@ -30,3 +31,5 @@ map("n", "n", [[ set nu!]], opt) -- toggle truezen.nvim's ataraxis and minimalist mode map("n", "z", [[ TZAtaraxis]], opt) map("n", "m", [[ TZMinimalist]], opt) + +map("n", "", [[ w ]], opt) -- save diff --git a/lua/zenmode.lua b/lua/zenmode.lua index 6f985db..b9d49ff 100644 --- a/lua/zenmode.lua +++ b/lua/zenmode.lua @@ -30,7 +30,7 @@ true_zen.setup( hidden_signcolumn = "no", shown_number = true, shown_relativenumber = false, - shown_signcolumn = "no" + shown_signcolumn = "yes" }, ataraxis = { just_do_it_for_me = false,