mirror of
				https://github.com/halfdan/dotfiles.git
				synced 2025-10-31 04:26:03 +00:00 
			
		
		
		
	Multiple updates across the board
This commit is contained in:
		| @@ -11,10 +11,10 @@ abbr -a -- gca 'git commit --amend' | ||||
| abbr -a -- gpf 'git push -f' | ||||
| abbr -a -- gp 'git push' | ||||
| abbr -a -- gl 'git pull' | ||||
| abbr -a -- gl 'git rebase develop' | ||||
| abbr -a -- gcd 'git checkout develop' | ||||
| abbr -a -- gcm 'git checkout main' | ||||
| abbr -a -- gc- 'git checkout -' | ||||
| abbr -a -- gc 'git checkout' | ||||
| abbr -a -- gau 'git add -u' | ||||
|  | ||||
| abbr -a -- api 'kubectl get pods -n backend | fzf | awk \'{print $1}\' | xargs -o -I {} kubectl exec -i -t -n backend {} --container api -- /opt/app/api/bin/api remote' | ||||
|  | ||||
|   | ||||
| @@ -9,6 +9,10 @@ map ctrl+4 goto_tab 4 | ||||
| map ctrl+t new_tab | ||||
| map ctrl+w close_tab | ||||
|  | ||||
| # --- Splits --- | ||||
| map ctrl+b,"   launch --location=hsplit   # Ctrl+b then " splits horizontally | ||||
| map ctrl+b,%   launch --location=vsplit   # Ctrl+b then % splits vertically | ||||
|  | ||||
| # Supper power keys | ||||
| map ctrl+; kitten toggle_term.py | ||||
|  | ||||
|   | ||||
| @@ -2,7 +2,7 @@ return { | ||||
|     { | ||||
|         "nvim-neorg/neorg", | ||||
|         lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default | ||||
|         version = "*", -- Pin Neorg to the latest stable release | ||||
|         version = "4da2159b3f3420d43613f43e159f4253b8544474", -- Pin Neorg to the latest stable release | ||||
|         config = function() | ||||
|             require('neorg').setup({ | ||||
|                 load = { | ||||
| @@ -26,6 +26,11 @@ return { | ||||
|                         }, | ||||
|                     }, | ||||
|                     ["core.integrations.telescope"] = {}, | ||||
|                     ["core.keybinds"] = { | ||||
|                         config = { | ||||
|                             default_keybinds = true, | ||||
|                         }, | ||||
|                     }, | ||||
|                     ["external.interim-ls"] = { | ||||
|                       config = { | ||||
|                           -- default config shown | ||||
|   | ||||
| @@ -9,7 +9,10 @@ return { | ||||
|         "m4xshen/hardtime.nvim", | ||||
|         lazy = false, | ||||
|         dependencies = { "MunifTanjim/nui.nvim" }, | ||||
|         opts = {}, | ||||
|         opts = { | ||||
|           disable_mouse = false, | ||||
|           max_count = 5 | ||||
|         }, | ||||
|     }, | ||||
|     { | ||||
|         "karb94/neoscroll.nvim", | ||||
|   | ||||
| @@ -40,69 +40,4 @@ return { | ||||
|             -- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information | ||||
|         } | ||||
|     }, | ||||
|     { | ||||
|         'akinsho/bufferline.nvim', | ||||
|         version = "*", | ||||
|         dependencies = 'nvim-tree/nvim-web-devicons', | ||||
|         keys = { | ||||
|             { "<C-1>",   "<Cmd>BufferLineGoToBuffer 1<CR>", desc = "Go to buffer 1" }, | ||||
|             { "<C-2>",   "<Cmd>BufferLineGoToBuffer 2<CR>", desc = "Go to buffer 2" }, | ||||
|             { "<C-3>",   "<Cmd>BufferLineGoToBuffer 3<CR>", desc = "Go to buffer 3" }, | ||||
|             { "<C-4>",   "<Cmd>BufferLineGoToBuffer 4<CR>", desc = "Go to buffer 4" }, | ||||
|             { "<C-5>",   "<Cmd>BufferLineGoToBuffer 5<CR>", desc = "Go to buffer 5" }, | ||||
|             { "<C-6>",   "<Cmd>BufferLineGoToBuffer 6<CR>", desc = "Go to buffer 6" }, | ||||
|             { "<C-7>",   "<Cmd>BufferLineGoToBuffer 7<CR>", desc = "Go to buffer 7" }, | ||||
|             { "<C-8>",   "<Cmd>BufferLineGoToBuffer 8<CR>", desc = "Go to buffer 8" }, | ||||
|             { "<C-9>",   "<Cmd>BufferLineGoToBuffer 9<CR>", desc = "Go to buffer 9" }, | ||||
|             { "<S-l>",   "<Cmd>BufferLineCycleNext<CR>",    desc = "Next buffer" }, | ||||
|             { "<S-h>",   "<Cmd>BufferLineCyclePrev<CR>",    desc = "Previous buffer" }, | ||||
|             { "<A-S-l>", "<Cmd>BufferLineMoveNext<CR>",     desc = "Move buffer right" }, | ||||
|             { "<A-S-h>", "<Cmd>BufferLineMovePrev<CR>",     desc = "Move buffer left" }, | ||||
|         }, | ||||
|         opts = function() | ||||
|             local monokai_opts = require("halfdan.util").opts("monokai-pro.nvim") | ||||
|             return { | ||||
|                 options = { | ||||
|                     diagnostics = "nvim_lsp",     -- | "nvim_lsp" | "coc", | ||||
|                     -- separator_style = "", -- | "thick" | "thin" | "slope" | { 'any', 'any' }, | ||||
|                     separator_style = { "", "" }, -- | "thick" | "thin" | { 'any', 'any' }, | ||||
|                     -- separator_style = "slant", -- | "thick" | "thin" | { 'any', 'any' }, | ||||
|                     indicator = { | ||||
|                         -- icon = " ", | ||||
|                         -- style = 'icon', | ||||
|                         style = "underline", | ||||
|                     }, | ||||
|                     close_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions" | ||||
|                     diagnostics_indicator = function(count, _, _, _) | ||||
|                         if count > 9 then | ||||
|                             return "9+" | ||||
|                         end | ||||
|                         return tostring(count) | ||||
|                     end, | ||||
|                     numbers = function(opts) | ||||
|                         return string.format('%s', opts.raise(opts.ordinal)) | ||||
|                     end, | ||||
|                     offsets = { | ||||
|                         { | ||||
|                             filetype = "neo-tree", | ||||
|                             text = "EXPLORER", | ||||
|                             text_align = "center", | ||||
|                             separator = vim.tbl_contains(monokai_opts.background_clear or {}, "neo-tree"), -- set to `true` if clear background of neo-tree | ||||
|                         }, | ||||
|                         { | ||||
|                             filetype = "NvimTree", | ||||
|                             text = "EXPLORER", | ||||
|                             text_align = "center", | ||||
|                             separator = vim.tbl_contains(monokai_opts.background_clear or {}, "nvim-tree"), -- set to `true` if clear background of neo-tree | ||||
|                         }, | ||||
|                     }, | ||||
|                     hover = { | ||||
|                         enabled = true, | ||||
|                         delay = 0, | ||||
|                         reveal = { "close" }, | ||||
|                     }, | ||||
|                 }, | ||||
|             } | ||||
|         end, | ||||
|     }, | ||||
| } | ||||
|   | ||||
| @@ -57,6 +57,7 @@ vim.b.did_ftplugin = 1 | ||||
| -- vim.g.gruvbox_baby_background_color = "dark" | ||||
|  | ||||
| vim.g.mapleader = ' ' | ||||
| vim.g.maplocalleader = ',' | ||||
|  | ||||
| vim.g.netrw_preview = 1 -- Split preview vertically | ||||
| vim.g.netrw_alo = 1 -- Show preview window to the right | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| elixir 1.18.2-otp-27 | ||||
| golang 1.24.0 | ||||
| golang 1.25.0 | ||||
| erlang 27.2.3 | ||||
| python 3.13.2 | ||||
| neovim 0.11.3 | ||||
| python 3.13.7 | ||||
| neovim 0.11.4 | ||||
| java   openjdk-19 | ||||
| awscli 2.24.7 | ||||
| nodejs 18.20.4 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user