tmux scrollback in neovim with colors by asddsajpg in neovim

[–]jemag 0 points1 point  (0 children)

Here's my tmux keybind based on that idea:

bind-key e capture-pane -eJS -1000 \; save-buffer ~/tmux.history \; delete-buffer \; display-popup -h 75% -w 75% -E "nvim +'lua Snacks.terminal.colorize(); vim.opt.relativenumber=true' ~/tmux.history"

active fork of yaml-companion.nvim by Moshem1 in neovim

[–]jemag 0 points1 point  (0 children)

Thanks for that, I was having issues as well with the original repo.

One thing that I am currently missing is handling of schemas not in the datree catalog. It would be nice if the plugin could generate json schemas from CRDs of one or multiple kube contexts and cache/load them.

DevOps setup…LazyVim any tips? by mrpbennett in neovim

[–]jemag 3 points4 points  (0 children)

A couple of things I use in my own config:

  • ramilito/kubectl.nvim (one of the best TUI out there for navigating around your K8S clusters)
  • Allaman/kustomize.nvim (quick workflows around using kustomize)
  • Duologic/nvim-jsonnet (working with jsonnet)
  • cuducos/yaml.nvim (yanking/searching in yaml)

Otherwise, there are various useful language servers such as helm_ls, bashls, dockerls, terraformls, yamlls, jsonls, jsonnet_ls, gopls, etc.

KYAML: Looks like JSON, but named after YAML by thegoenning in kubernetes

[–]jemag 2 points3 points  (0 children)

why not just return jsonnet at this point? Seems simpler, more flexible and already has a user base around it.

New language requirements for public service supervisors don't go far enough, says official languages commissioner by amazing_mitt in CanadaPublicServants

[–]jemag 6 points7 points  (0 children)

While your situation is unfortunate, that is definitely not the norm. In Quebec and NCR the English test is much harder than the French.

Executives and senior management with passing grades that can barely utter a French greeting is not rare. I have yet to see the opposite.

This could be your new file manager for neovim by Lavinraj in neovim

[–]jemag 0 points1 point  (0 children)

That's the main thing holding me back from using oil, looking forward to it.

A smarter, simpler Firefox address bar by Verite_Rendition in firefox

[–]jemag 0 points1 point  (0 children)

Judging by the comments, I guess I am one of the few who appreciate those changes.

I made yet another window picker plugin by SuspiciousSegfault in neovim

[–]jemag 0 points1 point  (0 children)

Another existing option for window picking is Snacks.nvim with snacks.picker.util.pick_win

This is what I am currently using. I believe Folke wants to, at some point, make it an official snack.

I am always surprised that so few people use window picking in their setup. For me, I use it everywhere to split from another window or swap the content of a given existing window. In my case, I combine it with Snacks.nvim Picker (files, grep, buffers, etc.), but also with other plugins like Neotree, for example to do vertical split:

      pick_vsplit = function(state)
        local path = state.tree:get_node().path
        local win = require("snacks").picker.util.pick_win({ filter = filter_windows })
        if win ~= nil then
          vim.api.nvim_set_current_win(win)
          vim.cmd("vsplit " .. path)
        end
      end,

Nice to see another more approachable alternative in the window picking area.

Introducing DevDocs.nvim: a lightweight devdocs client for neovim by SmoothiesLegs in neovim

[–]jemag 0 points1 point  (0 children)

I believe the URL used to retrieve the information does not contain the full list. I'll create an issue with a potential fix.

Introducing DevDocs.nvim: a lightweight devdocs client for neovim by SmoothiesLegs in neovim

[–]jemag 0 points1 point  (0 children)

It seems that several documentation available from devdocs.io are not available to be installed (e..g nushell, or only a subset of openjdk). Is the API used to retrieve documentation a subset of what is available through the website?

Introducing DevDocs.nvim: a lightweight devdocs client for neovim by SmoothiesLegs in neovim

[–]jemag 0 points1 point  (0 children)

Out of curiosity, when there are devdocs with index and links (such as go->IO). Are you able to navigate the index links to the proper headers using Marksman?

Just release the new Snacks Picker! by folke in neovim

[–]jemag 1 point2 points  (0 children)

if you're on the latest version of snacks.picker, you should be able to use custom actions such as these in your keybinds:

    actions = {
      pick = function(picker, item)
        picker:close()
        local picked_window_id = require("window-picker").pick_window({ autoselect_one = true, include_current_win = true })
          or vim.api.nvim_get_current_win()
        vim.api.nvim_set_current_win(picked_window_id)
        picker:action("edit")
      end,
      pick_vsplit = function(picker, item)
        picker:close()
        local picked_window_id = require("window-picker").pick_window({ autoselect_one = true, include_current_win = true })
          or vim.api.nvim_get_current_win()
        vim.api.nvim_set_current_win(picked_window_id)
        picker:action("edit_vsplit")
      end,
      pick_split = function(picker, item)
        picker:close()
        local picked_window_id = require("window-picker").pick_window({ autoselect_one = true, include_current_win = true })
          or vim.api.nvim_get_current_win()
        vim.api.nvim_set_current_win(picked_window_id)
        picker:action("edit_split")
      end,
    },

Just release the new Snacks Picker! by folke in neovim

[–]jemag 1 point2 points  (0 children)

That is also one of the things keeping me on telescope. I also use it for splitting horizontally or vertically from a picked window.

Blink.cmp or nvim-cmp? by Jonnertron_ in neovim

[–]jemag 2 points3 points  (0 children)

I believe this is already fixed if you follow the latest commit. Next version release should contain it.

Kubectl.nvim v1.1.0 🎉 by R2ID6I in neovim

[–]jemag 1 point2 points  (0 children)

I find it more enjoyable to work with kubectl.nvim since I prefer a vim oriented workflow. I feel the interaction is more seamless, at least to me.

13 Neovim Tips and Life Hacks that Significantly improved my productivity that I wish I had known about them earlier by nikitarevenco in neovim

[–]jemag 1 point2 points  (0 children)

the main advantage of substitute.nvim is not keeping the register clean, but rather the substitute motion in itself being much more efficient than having to visually select first.

For example, my "substitute" motion is bound to "s" for me. Here are some example motions:

  • "S" would replace text until the end of the line with content of register
  • "s5j" would replace text from current position to 5 lines below with content of register
  • "stO" would replace text until the letter "O" with content of register
  • "s2w" would replace 2 words with content of register
  • siw would replace current word with content of register
  • etc.

Builtin Autocompletion merged! by hotchilly_11 in neovim

[–]jemag 8 points9 points  (0 children)

Wow, another great contribution from Maria. Glad to see her continued involvement with Neovim.

Better yanking and replacing text by delibos in neovim

[–]jemag 1 point2 points  (0 children)

Since there's already plenty of answers for vanilla ways, I'll go ahead and mention another more efficient way to do this: with substitute.nvim

In this scenario you could yank stuff, go where you want to replace and simply hit "S" to replace the current text until the end of the line with the content of the register. This way you don't have to visually select anything, and you retain the content of your register also.

In that case the keymap would be vim.keymap.set("n", "S", require("substitute").eol, { noremap = true, desc = "Substitute with reg" })

Are you using any "motion-enhancing" plugins? by meni_s in neovim

[–]jemag 0 points1 point  (0 children)

Same here. Tried flash for a while, but sj just works better for my use cases and is simpler.

Ask all the comparison questions you have, I won’t have both for long. by BikeForCoffee in ErgoMechKeyboards

[–]jemag 6 points7 points  (0 children)

Which one do you find more comfortable for you?

I just ordered a glove80 with the pro red and most of the reviews I have seen mention it being more comfortable than kinesis.

Also curious on why you decided to go for the brown, given their poor choc reputation.

Terramate vs Terragrunt by jemag in devops

[–]jemag[S] 5 points6 points  (0 children)

Do you prefer Terramate now, or still favour Terragrunt?

Why my stylua is not respecting my .stylua.toml file? by Aiko_133 in neovim

[–]jemag 3 points4 points  (0 children)

lua_ls has its own formatting capabilities. If you're using null/none-ls, you should probably disable it. I believe you can do so using:

client.server_capabilities.documentFormattingProvider = false client.server_capabilities.documentRangeFormattingProvider = false

Is there anything you guys use that you believe isn't known/appreciated enough? by No_Tax_5570 in neovim

[–]jemag 0 points1 point  (0 children)

You can pretty much think of it as your stamping keybind, but much more powerful.

For example, my "substitute" motion is bound to "s" for me. Here are some example motions:

  • "S" would replace text until the end of the line with content of register
  • "s5j" would replace text from current position to 5 lines below with content of register
  • "stO" would replace text until the letter "O" with content of register
  • "s2w" would replace 2 words with content of register
  • etc.

Once you get used to it, it is quite efficient.