repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

nushell: update to new version

4bb4de3ab3a935b9fec9a36b538a31979f3f9c5a

Oliver Krylow <o.krylow@isp-insoft.de> ·

unsigned

Browse filesCompare with HEAD

Changed files (7)

git/gitconfig

Modified
21 21 symlinks = true
22 22 fscache = true
23 23 preloadIndex = true
24 + fsmonitor = true
25 + untrackedCache = true
25 27 [filter "lfs"]
26 28 clean = git-lfs clean -- %f
33 35 # try to automatically correct mispelled git commands
34 36 autocorrect = 1
37 38 [color]
38 39 interactive = true
39 40 ui = auto
41 42 [rebase]
42 - autosquash = true
43 + autoStash = true
44 + updateRefs = true
46 +[rerere]
47 + enabled = true
48 + autoupdate = true
44 50 [diff]
45 51 colorMoved = default
60 66 [merge]
61 67 tool = vim
68 + conflictstyle = zdiff3
63 70 [mergetool]
64 71 keepBackup = false
70 77 [mergetool "vim"]
71 78 cmd = "nvim -d \"$LOCAL\" \"$MERGED\" \"$REMOTE\" "
80 +[branch]
81 + sort = -committerdate
83 +[tag]
84 + sort = version:refname
86 +[fetch]
87 + prune = true
88 + pruneTags = true
89 + all = true
73 91 [push]
74 92 autoSetupRemote = true
75 93 default = "upstream"
94 + followTags = true
77 96 [pull]
78 - rebase = false
97 + rebase = true
80 99 [interactive]
81 100 diffFilter = delta --color-only
113 132 # Set difftastic as the default difftool, so we don't need to specify
114 133 # `-t difftastic` every time.
115 134 tool = difftastic
135 + algorithm = histogram
136 + colorMoved = plain
137 + mnemonicPrefix = true
138 + renames = true
117 140 # In order to have host-specific configuration, I include additional settings here.
118 141 # On each host a different file might be symlinked into '.gitconfig.include'.

neovim/lua/std/ignored.lua

Modified
1 1 local filetypes = {
2 + 'Glance',
2 3 'Outline',
3 4 'WhichKey',
4 5 '^git.*',
5 6 'bigfile',
7 + 'blink-cmp-menu',
6 8 'checkhealth',
9 + 'fidget',
7 10 'help',
8 11 'ivy',
9 12 'lazy',
10 - 'notify',
11 - 'Glance',
12 - 'nvim-docs-view',
13 13 'neo-tree',
14 14 'neo-tree-popup',
15 + 'notify',
16 + 'nvim-docs-view',
15 17 'oil',
16 18 'qf',
17 19 'svn',
18 - 'fidget',
21 22 local buftypes = {
25 26 'nofile',
28 -local as_kv = function(list)
29 +local as_kv = function ( list )
29 30 local tbl = {}
30 - for _, value in ipairs(list) do
31 + for _, value in ipairs( list ) do
31 32 vim.validate { value = { value, 'string' } }
32 33 tbl[value] = true
34 35 return tbl
37 -local filetypes_kv = as_kv(filetypes)
38 -local buftypes_kv = as_kv(buftypes)
38 +local filetypes_kv = as_kv( filetypes )
39 +local buftypes_kv = as_kv( buftypes )
40 41 return {
41 42 filetypes = filetypes,

neovim/puk.nu

Modified
1 1 #!/usr/bin/env nu
3 -# TODO: reimplement in lua?
5 3 # an out-of-band plugin manager for neovim.
6 4 # cannot do a lot, compared to "normal" neovim plugin managers, but:
7 5 # - it does not depend on git, only on tar and curl (and nushell right now, but that could change)
23 21 clean-plugins $plugins_path $plugin_specs
24 22 # plugins need to be packedded before helptagscan be generated
25 23 print 'Generating helptags.'
26 - nvim --headless -u NONE +'helptags ALL' +q
24 + nvim --headless +'helptags ALL' +q
29 27 # check online for fresh commits. Does not actually mutate or update anything.

neovim/puk.plugins.nuon

Modified
12 12 github,
13 13 neovim/nvim-lspconfig,
14 14 master,
15 +<<<<<<< HEAD
15 16 "040001d85e9190a904d0e35ef5774633e14d8475",
17 +=======
18 + "84e0cd5a3c58e88ef706fdf4a1eed59ded1d3ce2",
19 +>>>>>>> 00b5697 (nushell: update to new version)
20 24 github,
21 25 nvim-treesitter/nvim-treesitter,
22 26 main,
27 +<<<<<<< HEAD
23 28 "71bb6f603cd97674ac674e8c4e263ac0a1c50d6e",
29 +=======
30 + "7f3563d37ee2689c74970a8230a43d74dc6decb4",
31 +>>>>>>> 00b5697 (nushell: update to new version)
25 33 nvim,
26 34 --headless,
36 44 github,
37 45 nvim-treesitter/nvim-treesitter-textobjects,
38 46 main,
47 +<<<<<<< HEAD
39 48 "e0a7b5a6b7f18a5d508d05ca8853273db7bcbe50",
49 +=======
50 + "fa32a45fdbab9c9c3bda9ecec9b12dddb221b927",
51 +>>>>>>> 00b5697 (nushell: update to new version)
52 64 github,
53 65 "stevearc/oil.nvim",
54 66 master,
67 +<<<<<<< HEAD
55 68 "dba037598843973b8c54bc5ce0318db4a0da439d",
69 +=======
70 + "548587d68b55e632d8a69c92cefd981f360634fa",
71 +>>>>>>> 00b5697 (nushell: update to new version)
60 76 github,
61 77 "Saghen/blink.cmp",
62 78 main,
79 +<<<<<<< HEAD
63 80 "5a71e8e01f44084de9f7351f1e2bef74cdc0c450",
81 +=======
82 + "bf810ebe1251dfa756c7fa328e56b0c2e157d313",
83 +>>>>>>> 00b5697 (nushell: update to new version)
65 85 cargo,
66 86 build,
80 100 github,
81 101 "stevearc/conform.nvim",
82 102 master,
103 +<<<<<<< HEAD
83 104 "f4e8837878fc5712d053ba3091a73d27d96a09e2",
105 +=======
106 + "db8a4a9edb217067b1d7a2e0362c74bfe9cc944d",
107 +>>>>>>> 00b5697 (nushell: update to new version)
128 152 github,
129 153 "echasnovski/mini.clue",
155 +<<<<<<< HEAD
131 156 "983a6c2e6231e94016343ea58921001ab2b74183",
157 +=======
158 + "08901d2223797aa25611c33aaf9d8a1049a653bb",
159 +>>>>>>> 00b5697 (nushell: update to new version)
136 164 github,
137 165 "echasnovski/mini.bracketed",
167 +<<<<<<< HEAD
139 168 "daf2bff8172bc84bfb934f765275618f5e7844a8",
169 +=======
170 + "0ec65567ffde0ad4d94d794d55f3b627203b496a",
171 +>>>>>>> 00b5697 (nushell: update to new version)
248 280 github,
249 281 "DNLHC/glance.nvim",
250 282 master,
283 +<<<<<<< HEAD
251 284 "04f7325d46eb3b450f2e2ba96d13dbf0b00aba0b",
285 +=======
286 + "cb19b86349cbe634eec0ea768b9a27fdd6d24f34",
287 +>>>>>>> 00b5697 (nushell: update to new version)
312 348 github,
313 349 "rachartier/tiny-inline-diagnostic.nvim",
351 +<<<<<<< HEAD
315 352 "90610e55f438d833c052867d022ff11f27647210",
353 +=======
354 + "de01d4c9cd032d4dac69bf64d5a184fbe62e1fd1",
355 +>>>>>>> 00b5697 (nushell: update to new version)
320 360 github,
321 361 "MagicDuck/grug-far.nvim",
363 +<<<<<<< HEAD
323 364 "11d0fbd6fff6f4e394af95319deeaab4ef88ce97",
365 +=======
366 + "3d39dc8b31d4ab7aad1b9ffdba136eafc6c7c360",
367 +>>>>>>> 00b5697 (nushell: update to new version)

nushell/login.nu

Modified
27 27 # neovim configs
28 28 def mini [...rest] { NVIM_APPNAME=mini-nvim nvim ...$rest }
29 29 def rvim [...rest] { NVIM_APPNAME=rocks-nvim nvim ...$rest }
31 -todo commands
32 -print (char nl)
33 -todo

nushell/scripts/notes.nu

Modified
79 79 let title = if ($title | is-empty) { input "gimme title: " } else { $title }
80 80 let author = 'Oliver Jan Krylow'
81 - let now = date now | date to-record
82 - let date = $"($now.day)/($now.month)/($now.year)" # german dates. what can i say...
81 + # german dates. what can i say...
82 + let date = date now | format date "%d/%m%/%Y"
83 83 let tags = if ($tags == null) { [] } else { $tags }
85 85 let note_content = new_note $title $author $date $tags $context

wezterm/bugabinga/hosts/NB-00718.lua

Modified
1 1 local code_font = require 'bugabinga.code_font'
3 +local wezterm = require 'wezterm'
4 +local mux = wezterm.mux
6 +wezterm.on('gui-startup', function(cmd)
7 + local tab, pane, window = mux.spawn_window(cmd or {})
8 + window:gui_window():maximize()
9 + -- Create a split occupying the right 1/3 of the screen
10 + pane:split { size = 0.123 }
11 + pane:activate()
12 +end)
3 14 return function ( cfg )
4 15 cfg.font_size = 16
5 16 cfg.font = code_font.random();
7 18 cfg.window_decorations = 'RESIZE'
9 - cfg.unix_domains = {
10 - {
11 - name = 'win32',
12 - },
13 - }
14 - cfg.default_domain = 'win32'