Testing git keybinds with nvim

nvim
spinach 2 years ago
parent 74952b3b5b
commit 20f9d0ddb6

6
.gitmodules vendored

@ -107,3 +107,9 @@
[submodule "editors/nvim/site/pack/qol/start/vim-commentary"] [submodule "editors/nvim/site/pack/qol/start/vim-commentary"]
path = editors/nvim/site/pack/qol/start/vim-commentary path = editors/nvim/site/pack/qol/start/vim-commentary
url = https://github.com/tpope/vim-commentary.git url = https://github.com/tpope/vim-commentary.git
[submodule "editors/nvim/site/pack/qol/start/vim-surround"]
path = editors/nvim/site/pack/qol/start/vim-surround
url = https://github.com/tpope/vim-surround.git
[submodule "editors/nvim/site/pack/qol/start/vim-fugitive"]
path = editors/nvim/site/pack/qol/start/vim-fugitive
url = https://github.com/tpope/vim-fugitive.git

@ -8,3 +8,4 @@ require('telescope').setup({
local builtin = require('telescope.builtin') local builtin = require('telescope.builtin')
vim.keymap.set('n','<leader>f', builtin.find_files, {}) vim.keymap.set('n','<leader>f', builtin.find_files, {})
vim.keymap.set('n','<leader>s', builtin.spell_suggest, {})

@ -8,7 +8,7 @@ vim.keymap.set("n", "<leader>b", ":lua toggleTransparent()<CR>")
vim.keymap.set("n", "<leader>t", ":NvimTreeToggle<CR>") vim.keymap.set("n", "<leader>t", ":NvimTreeToggle<CR>")
vim.keymap.set("n", "<leader>s", ":lua spellToggle()<CR>") vim.keymap.set("n", "<leader>a", ":lua spellToggle()<CR>")
-- toggle spell check -- toggle spell check
function spellToggle() function spellToggle()
@ -31,3 +31,8 @@ vim.cmd([[
]]) ]])
vim.g.mkdp_browserfunc = 'OpenMarkdownPreview' vim.g.mkdp_browserfunc = 'OpenMarkdownPreview'
-- git actions
vim.keymap.set("n", "<leader>ga", ":Git add .<CR>")
vim.keymap.set("n", "<leader>gm", ":Git commit<CR>")

@ -0,0 +1 @@
Subproject commit 5b52a0f395065d6cb7b65a00a5e17eaf9ebd64d5

@ -0,0 +1 @@
Subproject commit 3d188ed2113431cf8dac77be61b842acb64433d9
Loading…
Cancel
Save