mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
feat: Updates to nvim config and git config
This commit is contained in:
@@ -53,19 +53,19 @@ return {
|
||||
-- with the <Control> key.
|
||||
|
||||
-- Select buffer numbers.
|
||||
vim.keymap.set("n", "<C-y>",
|
||||
vim.keymap.set("n", "<C-S-Y>",
|
||||
function() harpoon:list():select(1) end,
|
||||
{ desc = "Select first harpoon buffer." }
|
||||
)
|
||||
vim.keymap.set("n", "<C-u>",
|
||||
vim.keymap.set("n", "<C-S-U>",
|
||||
function() harpoon:list():select(2) end,
|
||||
{ desc = "Select second harpoon buffer." }
|
||||
)
|
||||
vim.keymap.set("n", "<C-i>",
|
||||
vim.keymap.set("n", "<C-S-I>",
|
||||
function() harpoon:list():select(3) end,
|
||||
{ desc = "Select third harpoon buffer." }
|
||||
)
|
||||
vim.keymap.set("n", "<C-o>",
|
||||
vim.keymap.set("n", "<C-S-O>",
|
||||
function() harpoon:list():select(3) end,
|
||||
{ desc = "Select third harpoon buffer." }
|
||||
)
|
||||
|
||||
@@ -9,7 +9,7 @@ return {
|
||||
local default_options = { noremap = true, silent = true }
|
||||
local actions = require('swift.actions')
|
||||
|
||||
vim.keymap.set('n', '<c-b>', actions.build, default_options)
|
||||
vim.keymap.set('n', '<c-u>', actions.test, default_options)
|
||||
vim.keymap.set('n', '<C-b>', actions.build, default_options)
|
||||
vim.keymap.set('n', '<C-S-U>', actions.test, default_options)
|
||||
end
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ return {
|
||||
lazy = true,
|
||||
config = function()
|
||||
local actions = require('telescope.actions')
|
||||
local builtin = require('telescope.builtin')
|
||||
|
||||
require('telescope').setup({
|
||||
defaults = {
|
||||
@@ -68,5 +69,7 @@ return {
|
||||
buffer_previewer_maker = require'telescope.previewers'.buffer_previewer_maker
|
||||
}
|
||||
})
|
||||
|
||||
vim.keymap.set("n", "<C-A-j>", builtin.jumplist, { silent = true, noremap = true, desc = "Open [J]ump List."})
|
||||
end
|
||||
}
|
||||
|
||||
@@ -27,16 +27,6 @@ require("lazy").setup({
|
||||
-- Git --
|
||||
{ import = 'user.plugin.lazygit' },
|
||||
|
||||
-- LSP, formatting, etc. --
|
||||
{ 'folke/neodev.nvim', opts = {} },
|
||||
{ import = 'user.plugin.lsp' },
|
||||
{ import = 'user.plugin.lualine' },
|
||||
{ import = 'user.plugin.treesitter' },
|
||||
{ import = 'user.plugin.formatter' },
|
||||
{ import = 'user.plugin.go' },
|
||||
{ import = 'user.plugin.nvim-lint' },
|
||||
--{'fladson/vim-kitty', lazy=true, },
|
||||
|
||||
-- Navigation --
|
||||
{ import = 'user.plugin.neo-tree' },
|
||||
{ import = 'user.plugin.telescope' },
|
||||
@@ -71,4 +61,16 @@ require("lazy").setup({
|
||||
end
|
||||
},
|
||||
|
||||
-- LSP, formatting, etc. --
|
||||
{ 'folke/neodev.nvim', opts = {} },
|
||||
{ import = 'user.plugin.lsp' },
|
||||
{ import = 'user.plugin.lualine' },
|
||||
{ import = 'user.plugin.treesitter' },
|
||||
{ import = 'user.plugin.formatter' },
|
||||
{ import = 'user.plugin.go' },
|
||||
{ import = 'user.plugin.nvim-lint' },
|
||||
--{'fladson/vim-kitty', lazy=true, },
|
||||
|
||||
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user