change some mappings

This commit is contained in:
siduck76 2021-06-27 22:08:47 +05:30
parent da50d99462
commit 50321ad4a0
2 changed files with 8 additions and 15 deletions

View file

@ -105,8 +105,8 @@ map("n", "<Leader>fw", [[<Cmd> Telescope live_grep<CR>]], opt)
map("n", "<Leader>db", [[<Cmd> Dashboard<CR>]], opt)
map("n", "<Leader>fn", [[<Cmd> DashboardNewFile<CR>]], opt)
map("n", "<Leader>bm", [[<Cmd> DashboardJumpMarks<CR>]], opt)
map("n", "<Leader>sl", [[<Cmd> SessionLoad<CR>]], opt)
map("n", "<Leader>ss", [[<Cmd> SessionSave<CR>]], opt)
map("n", "<C-s>l", [[<Cmd> SessionLoad<CR>]], opt)
map("n", "<C-s>s", [[<Cmd> SessionSave<CR>]], opt)
-- Telescope
map("n", "<Leader>gt", [[<Cmd> Telescope git_status <CR>]], opt)

View file

@ -37,9 +37,7 @@ return packer.startup(
end
}
use {
"kabouzeid/nvim-lspinstall"
}
use "kabouzeid/nvim-lspinstall"
use {
"onsails/lspkind-nvim",
@ -70,10 +68,7 @@ return packer.startup(
}
}
use {
"sbdchd/neoformat",
cmd = "Neoformat"
}
use {"sbdchd/neoformat", cmd = "Neoformat"}
-- file managing , picker etc
use {
@ -85,7 +80,6 @@ return packer.startup(
}
use "kyazdani42/nvim-web-devicons"
use {
"nvim-telescope/telescope.nvim",
requires = {
@ -118,10 +112,7 @@ return packer.startup(
end
}
use {
"andymass/vim-matchup",
event = "CursorMoved"
}
use {"andymass/vim-matchup", event = "CursorMoved"}
use {
"terrortylor/nvim-comment",
@ -136,7 +127,9 @@ return packer.startup(
cmd = {
"Dashboard",
"DashboardNewFile",
"DashboardJumpMarks"
"DashboardJumpMarks",
"SessionLoad",
"SessionSave"
},
setup = function()
require("dashboard").config()