From 5e5b9e3b59162bf946a4f2268cbb8763704125b3 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Sun, 25 Sep 2022 01:41:30 -0700 Subject: [PATCH] :memo: Added vim-fugitive for git in nvim --- nvim/lua/keybindings.lua | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/nvim/lua/keybindings.lua b/nvim/lua/keybindings.lua index bc94e491..ca7edf65 100644 --- a/nvim/lua/keybindings.lua +++ b/nvim/lua/keybindings.lua @@ -36,7 +36,7 @@ keymap('n', '', ':DiffviewOpen', {}) vim.cmd[[:map NERDCommenterToggle]] -- redraws the screen and removes any search highlighting -keymap('n', '', ':nohl', {silent = true}) +keymap('n', '', ':nohl', {silent = true} ) -- brings up a preview of Markdown files keymap('n', '', ':MarkdownPreview', {}) @@ -51,15 +51,6 @@ keymap('i', 'ii', '', {}) -- Alias replace all to shift + S vim.cmd[[nnoremap S :%s///gI]] --- Alias jest unit testing for current file -vim.cmd[[nnoremap T :lua require"jester".run_file()]] --- Other jest commands you may need in the future: --- :lua require"jester".run() --- :lua require"jester".run_last() --- :lua require"jester".debug() --- :lua require"jester".debug_file() --- :lua require"jester".debug_last() - -- Format C and C++ Code using cp alias ( thus far preferable to Neoformat) vim.cmd[[nnoremap cp :silent :ClangFormat]]