made tab helper, relative movement
This commit is contained in:
@@ -36,11 +36,15 @@ function M.fzf()
|
||||
map("n", "<Leader>r", ":Rg <C-R><C-W><CR>")
|
||||
map("n", "<Leader>R", ":Rg<CR>")
|
||||
map("n", "<Leader>s", ":Lines<CR>")
|
||||
map("n", "<Leader>gf", ":GFiles<CR>")
|
||||
map("n", "<Leader>gn", ":GFiles?<CR>")
|
||||
map("n", "<Leader>gl", ":GFiles<CR>")
|
||||
map("n", "<Leader>gs", ":GFiles?<CR>")
|
||||
map("n", "<Leader>gc", ":Commits<CR>")
|
||||
end
|
||||
|
||||
function M.fzf_checkout()
|
||||
map("n", "<Leader>gb", ":GBranches<CR>")
|
||||
end
|
||||
|
||||
function M.rnvimr()
|
||||
map("n", "<Leader>f", [[:RnvimrToggle<CR>]])
|
||||
end
|
||||
@@ -72,10 +76,6 @@ function M.auto_session()
|
||||
})
|
||||
end
|
||||
|
||||
function M.fzf_checkout()
|
||||
map("n", "<Leader>gb", ":GBranches<CR>")
|
||||
end
|
||||
|
||||
function M.indent_blankline()
|
||||
vim.opt.list = true
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
require("plugins.install_packer")
|
||||
require("plugins.startup")
|
||||
|
||||
local config = require("plugins.config")
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
local fn = vim.fn
|
||||
local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
|
||||
|
||||
if fn.empty(fn.glob(install_path)) > 0 then
|
||||
fn.system({ "git", "clone", "--depth", "1", "https://github.com/wbthomason/packer.nvim", install_path })
|
||||
vim.cmd("packadd packer.nvim")
|
||||
vim.cmd(":PackerSync")
|
||||
end
|
||||
Reference in New Issue
Block a user