feat: add lazygit config

This commit is contained in:
max_richter 2022-10-24 15:24:11 +02:00
parent 77576e3bdf
commit 44ff742f4c
6 changed files with 50 additions and 32 deletions

View File

@ -0,0 +1,7 @@
customCommands:
- key: "C"
command: "git cz"
description: "commit with commitizen"
context: "files"
loadingText: "opening commitizen commit tool"
subprocess: true

11
configs/lazygit/state.yml Normal file
View File

@ -0,0 +1,11 @@
lastupdatecheck: 0
recentrepos:
- /home/max/.dotfiles
- /home/max/Projects/silvester
- /home/max/Projects/ruumio/main
- /home/max/Projects/ruumio/feat-3d-poi
- /home/max/Projects/ruumio
- /home/max/Projects/gainz
startuppopupversion: 5
customcommandshistory: []
hidecommandlog: false

View File

@ -13,19 +13,6 @@ local source_mapping = {
path = "[Path]", path = "[Path]",
} }
-- tabnine:setup({
-- max_lines = 1000,
-- max_num_results = 20,
-- sort = true,
-- run_on_every_keystroke = true,
-- snippet_placeholder = "..",
-- ignored_file_types = { -- default is not to ignore
-- -- uncomment to ignore in lua:
-- -- lua = true
-- },
-- show_prediction_strength = false,
-- })
cmp.setup({ cmp.setup({
window = { window = {
documentation = cmp.config.window.bordered(), documentation = cmp.config.window.bordered(),

View File

@ -12,6 +12,7 @@
-- filetype = "vert", -- filetype = "vert",
-- filetypes = {"vert", "frag"} -- filetypes = {"vert", "frag"}
-- } -- }
--
require "nvim-treesitter.configs".setup { require "nvim-treesitter.configs".setup {
indent = { indent = {
@ -26,10 +27,11 @@ require "nvim-treesitter.configs".setup {
"svelte", "svelte",
"typescript", "typescript",
"javascript", "javascript",
"tsx",
"go", "go",
"lua", "lua",
"yaml", "yaml",
"prisma" "prisma"
}, },
highlight = {enable = true} highlight = { enable = true, disable = { "tsx" } }
} }

View File

@ -5,6 +5,16 @@ local g = vim.g
local saga = require("lspsaga") local saga = require("lspsaga")
local truezen = require("true-zen") local truezen = require("true-zen")
truezen.setup({ truezen.setup({
ataraxis = {
minimum_writing_area = { -- minimum size of main window
width = 250,
height = 100,
},
padding = {
left = 10,
right = 10,
}
},
integrations = { integrations = {
tmux = true, -- hide tmux status bar in (minimalist, ataraxis) tmux = true, -- hide tmux status bar in (minimalist, ataraxis)
lualine = true, -- hide nvim-lualine (ataraxis) lualine = true, -- hide nvim-lualine (ataraxis)
@ -112,7 +122,7 @@ map("n", "<Up>", ":echo 'No Up for you'<CR><dw>", options)
map("n", "<Down>", ":echo 'No Down for you'<CR><dw>", options) map("n", "<Down>", ":echo 'No Down for you'<CR><dw>", options)
-- Run Requests -- Run Requests
map("n", "<Leader>r", "<cmd>lua require('rest-nvim').run()<CR>", options) map("n", "<Leader>r", ":SnipRun<CR>", options)
-- Close on q -- Close on q
map("n", "<Leader>q", "<Esc>:q<CR>", options) map("n", "<Leader>q", "<Esc>:q<CR>", options)

View File

@ -99,6 +99,7 @@ return packer.startup(function(use)
-- Dap Debugger -- Have not yet been able to set this up -- Dap Debugger -- Have not yet been able to set this up
-- use({ "mfussenegger/nvim-dap" }) -- use({ "mfussenegger/nvim-dap" })
-- use({ "rcarriga/nvim-dap-ui" }) -- use({ "rcarriga/nvim-dap-ui" })
use { 'michaelb/sniprun', run = 'bash ./install.sh' }
-- FIle Navigation -- FIle Navigation
use({ "ThePrimeagen/harpoon" }) use({ "ThePrimeagen/harpoon" })