change some mappings
This commit is contained in:
parent
da50d99462
commit
50321ad4a0
|
@ -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>db", [[<Cmd> Dashboard<CR>]], opt)
|
||||||
map("n", "<Leader>fn", [[<Cmd> DashboardNewFile<CR>]], opt)
|
map("n", "<Leader>fn", [[<Cmd> DashboardNewFile<CR>]], opt)
|
||||||
map("n", "<Leader>bm", [[<Cmd> DashboardJumpMarks<CR>]], opt)
|
map("n", "<Leader>bm", [[<Cmd> DashboardJumpMarks<CR>]], opt)
|
||||||
map("n", "<Leader>sl", [[<Cmd> SessionLoad<CR>]], opt)
|
map("n", "<C-s>l", [[<Cmd> SessionLoad<CR>]], opt)
|
||||||
map("n", "<Leader>ss", [[<Cmd> SessionSave<CR>]], opt)
|
map("n", "<C-s>s", [[<Cmd> SessionSave<CR>]], opt)
|
||||||
|
|
||||||
-- Telescope
|
-- Telescope
|
||||||
map("n", "<Leader>gt", [[<Cmd> Telescope git_status <CR>]], opt)
|
map("n", "<Leader>gt", [[<Cmd> Telescope git_status <CR>]], opt)
|
||||||
|
|
|
@ -37,9 +37,7 @@ return packer.startup(
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
use {
|
use "kabouzeid/nvim-lspinstall"
|
||||||
"kabouzeid/nvim-lspinstall"
|
|
||||||
}
|
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"onsails/lspkind-nvim",
|
"onsails/lspkind-nvim",
|
||||||
|
@ -70,10 +68,7 @@ return packer.startup(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
use {
|
use {"sbdchd/neoformat", cmd = "Neoformat"}
|
||||||
"sbdchd/neoformat",
|
|
||||||
cmd = "Neoformat"
|
|
||||||
}
|
|
||||||
|
|
||||||
-- file managing , picker etc
|
-- file managing , picker etc
|
||||||
use {
|
use {
|
||||||
|
@ -85,7 +80,6 @@ return packer.startup(
|
||||||
}
|
}
|
||||||
|
|
||||||
use "kyazdani42/nvim-web-devicons"
|
use "kyazdani42/nvim-web-devicons"
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"nvim-telescope/telescope.nvim",
|
"nvim-telescope/telescope.nvim",
|
||||||
requires = {
|
requires = {
|
||||||
|
@ -118,10 +112,7 @@ return packer.startup(
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
use {
|
use {"andymass/vim-matchup", event = "CursorMoved"}
|
||||||
"andymass/vim-matchup",
|
|
||||||
event = "CursorMoved"
|
|
||||||
}
|
|
||||||
|
|
||||||
use {
|
use {
|
||||||
"terrortylor/nvim-comment",
|
"terrortylor/nvim-comment",
|
||||||
|
@ -136,7 +127,9 @@ return packer.startup(
|
||||||
cmd = {
|
cmd = {
|
||||||
"Dashboard",
|
"Dashboard",
|
||||||
"DashboardNewFile",
|
"DashboardNewFile",
|
||||||
"DashboardJumpMarks"
|
"DashboardJumpMarks",
|
||||||
|
"SessionLoad",
|
||||||
|
"SessionSave"
|
||||||
},
|
},
|
||||||
setup = function()
|
setup = function()
|
||||||
require("dashboard").config()
|
require("dashboard").config()
|
||||||
|
|
Loading…
Reference in New Issue