+/config
my dotfiles and nix configuration
git clone https://git.julia.blue/+/config
21e74a3
main
1theme = "catppuccin_mocha" 2 3[ editor ] 4cursorline = true 5true-color = true 6color-modes = true 7clipboard-provider = "termcode" 8 9[ editor . soft-wrap ] 10enable = true 11 12[ editor . file-picker ] 13hidden = false 14 15[ editor . gutters ] 16layout = [ "diff" , "diagnostics" ] 17 18[ editor . cursor-shape ] 19insert = "bar" 20normal = "block" 21select = "underline" 22 23[ keys . insert ] 24"C-space" = "completion" 25 26[ keys . normal ] 27"C-/" = "@%s" 28"C-." = "@<A-.>" 29tab = "expand_selection" 30"S-tab" = "shrink_selection" 31H = "select_prev_sibling" 32L = "select_next_sibling" 33"C-y" = "@\"+y" 34"S-c" = "@t<ret>c" 35"A-c" = "copy_selection_on_next_line" 36"S-d" = "@t<ret>d" 37"S-y" = "@t<ret>y" 38 39[ keys . normal . space ] 40space = "command_palette" 41tab = "goto_last_accessed_file" 42d = ":buffer-close" 43w = { d = "wclose" } 44"=" = ":format" 45q = ":wqa" 46B = ":echo %sh{git lineblame %{buffer_name} %{cursor_line}}" 47l = ":echo %sh{git permalink %{buffer_name} %{selection_line_start} %{selection_line_end} | osc copy}copied permalink to clipboard" 48y = ":echo %sh{echo %{buffer_name} | osc copy}copied path to clipboard" 49Y = ":echo %sh{realpath %{buffer_name} | osc copy}copied abspath to clipboard" 50 51[ keys . select ] 52"C-y" = "@\"+y" 53# o = "flip_selections" # maybe just get used to the alt-; binding since it works in normal mode too