|
|
@ -147,6 +147,13 @@ map("n", "<Esc>", ":noh<CR>", opt)
|
|
|
|
-- get out of terminal with jk
|
|
|
|
-- get out of terminal with jk
|
|
|
|
map("t", "jk", "<C-\\><C-n>", opt)
|
|
|
|
map("t", "jk", "<C-\\><C-n>", opt)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Packer commands till because we are not loading it at startup
|
|
|
|
|
|
|
|
vim.cmd("silent! command PackerCompile lua require 'pluginList' require('packer').compile()")
|
|
|
|
|
|
|
|
vim.cmd("silent! command PackerInstall lua require 'pluginList' require('packer').install()")
|
|
|
|
|
|
|
|
vim.cmd("silent! command PackerStatus lua require 'pluginList' require('packer').status()")
|
|
|
|
|
|
|
|
vim.cmd("silent! command PackerSync lua require 'pluginList' require('packer').sync()")
|
|
|
|
|
|
|
|
vim.cmd("silent! command PackerUpdate lua require 'pluginList' require('packer').update()")
|
|
|
|
|
|
|
|
|
|
|
|
-- Vim Fugitive
|
|
|
|
-- Vim Fugitive
|
|
|
|
map("n", "<Leader>gs", ":Git<CR>", opt)
|
|
|
|
map("n", "<Leader>gs", ":Git<CR>", opt)
|
|
|
|
map("n", "<Leader>gh", ":diffget //2<CR>", opt)
|
|
|
|
map("n", "<Leader>gh", ":diffget //2<CR>", opt)
|
|
|
|