diff --git a/configs/lazygit/config.yml b/configs/lazygit/config.yml new file mode 100644 index 0000000..0181afa --- /dev/null +++ b/configs/lazygit/config.yml @@ -0,0 +1,7 @@ +customCommands: + - key: "C" + command: "git cz" + description: "commit with commitizen" + context: "files" + loadingText: "opening commitizen commit tool" + subprocess: true diff --git a/configs/lazygit/state.yml b/configs/lazygit/state.yml new file mode 100644 index 0000000..f1166c0 --- /dev/null +++ b/configs/lazygit/state.yml @@ -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 diff --git a/configs/nvim/lua/configs/autocomplete.lua b/configs/nvim/lua/configs/autocomplete.lua index ef24800..6d5c7aa 100644 --- a/configs/nvim/lua/configs/autocomplete.lua +++ b/configs/nvim/lua/configs/autocomplete.lua @@ -13,19 +13,6 @@ local source_mapping = { 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({ window = { documentation = cmp.config.window.bordered(), diff --git a/configs/nvim/lua/configs/treesitter.lua b/configs/nvim/lua/configs/treesitter.lua index 425df13..5d09b70 100644 --- a/configs/nvim/lua/configs/treesitter.lua +++ b/configs/nvim/lua/configs/treesitter.lua @@ -12,24 +12,26 @@ -- filetype = "vert", -- filetypes = {"vert", "frag"} -- } +-- require "nvim-treesitter.configs".setup { - indent = { - enable = true - }, - ensure_installed = { - "bash", - "yaml", - "http", - "svelte", - "css", - "svelte", - "typescript", - "javascript", - "go", - "lua", - "yaml", - "prisma" - }, - highlight = {enable = true} + indent = { + enable = true + }, + ensure_installed = { + "bash", + "yaml", + "http", + "svelte", + "css", + "svelte", + "typescript", + "javascript", + "tsx", + "go", + "lua", + "yaml", + "prisma" + }, + highlight = { enable = true, disable = { "tsx" } } } diff --git a/configs/nvim/lua/core/keymappings.lua b/configs/nvim/lua/core/keymappings.lua index 2710a7c..5d0b96e 100644 --- a/configs/nvim/lua/core/keymappings.lua +++ b/configs/nvim/lua/core/keymappings.lua @@ -5,6 +5,16 @@ local g = vim.g local saga = require("lspsaga") local truezen = require("true-zen") truezen.setup({ + ataraxis = { + minimum_writing_area = { -- minimum size of main window + width = 250, + height = 100, + }, + padding = { + left = 10, + right = 10, + } + }, integrations = { tmux = true, -- hide tmux status bar in (minimalist, ataraxis) lualine = true, -- hide nvim-lualine (ataraxis) @@ -112,7 +122,7 @@ map("n", "", ":echo 'No Up for you'", options) map("n", "", ":echo 'No Down for you'", options) -- Run Requests -map("n", "r", "lua require('rest-nvim').run()", options) +map("n", "r", ":SnipRun", options) -- Close on q map("n", "q", ":q", options) diff --git a/configs/nvim/lua/core/plugins.lua b/configs/nvim/lua/core/plugins.lua index 806a8dc..0ca086c 100644 --- a/configs/nvim/lua/core/plugins.lua +++ b/configs/nvim/lua/core/plugins.lua @@ -99,6 +99,7 @@ return packer.startup(function(use) -- Dap Debugger -- Have not yet been able to set this up -- use({ "mfussenegger/nvim-dap" }) -- use({ "rcarriga/nvim-dap-ui" }) + use { 'michaelb/sniprun', run = 'bash ./install.sh' } -- FIle Navigation use({ "ThePrimeagen/harpoon" })