From d7c0e1fefb9a857777f26e71994c3f3fa074f62d Mon Sep 17 00:00:00 2001 From: siduck76 Date: Tue, 1 Jun 2021 23:56:37 +0530 Subject: [PATCH] Update mappings.lua --- lua/mappings.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lua/mappings.lua b/lua/mappings.lua index 73c9156..5ec8766 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -1,4 +1,4 @@ -local function map(mode, lhs, rhs, opts) + local function map(mode, lhs, rhs, opts) local options = {noremap = true} if opts then options = vim.tbl_extend("force", options, opts) @@ -16,13 +16,12 @@ map("v", "dd", [=[ "_dd ]=], opt) map("v", "x", [=[ "_x ]=], opt) this line too ]] - -- OPEN TERMINALS -- -map("n", "", [[vnew term://bash]], opt) -- over right -map("n", "", [[ split term://bash| resize 10 ]], opt) -- bottom -map("n", "t", [[ tabnew | term ]], opt) -- newtab +map("n", "", [[vnew term://bash ]], opt) -- term over right +map("n", "", [[ split term://bash | resize 10 ]], opt) -- term bottom +map("n", "t", [[ tabnew | term ]], opt) -- term newtab --- COPY EVERYTHING in the file-- +-- COPY EVERYTHING -- map("n", "", [[ %y+]], opt) -- toggle numbers --- @@ -32,4 +31,5 @@ map("n", "n", [[ set nu!]], opt) map("n", "z", [[ TZAtaraxis]], opt) map("n", "m", [[ TZMinimalist]], opt) -map("n", "", [[ w ]], opt) -- save +map("n", "", [[ w ]], opt) +-- vim.cmd("inoremap jh ")