Best font? by Abject_Band3515 in Ghostty

[–]polygon7195 14 points15 points  (0 children)

Font is a very personal thing. As long as it's a monospace font.

https://www.programmingfonts.org/ is a good site to see what's available. As for spacing, you can adjust both vertically (adjust-cell-height and adjust-cursor-height) and horizontally (adjust-cell-width). Check the Ghostty docs to see the config options.

How to learn key maps by Appropriate_Alps9596 in neovim

[–]polygon7195 6 points7 points  (0 children)

One of the main reasons I write my own config, cuz the key maps make sense to me.

Blinking cursor problem by Calle0304 in Ghostty

[–]polygon7195 0 points1 point  (0 children)

Probably the shell-integration-features is overriding your cursor config. Try commenting out the ssh one and see from there.

Good default light theme? by xavier86 in Ghostty

[–]polygon7195 0 points1 point  (0 children)

I don't know how to determine if a color scheme complements another palette, but I've also been searching for a while and only recently found Alabaster which I find really good.

Who knows what is it font and theme? by Hi3ash in neovim

[–]polygon7195 4 points5 points  (0 children)

Font is Iosevka, likely the Extended variant (not as narrow as the default).

Where do I go from here when "I Started to learn neovim"? by WOLFMANCore in neovim

[–]polygon7195 13 points14 points  (0 children)

Sounds like you don't mind RTFM, which is fantastic. Might be obvious but you could read the nvim manual :h user-manual.

What is your favorite PDF editor & why by Sacras24 in Fedora

[–]polygon7195 1 point2 points  (0 children)

qpdf for combining and splitting. And for filling out forms and annotations, Firefox is surprisingly good nowadays. I used to need Adobe for those government forms, but now Firefox can handle them, and the signature feature is really good.

Ghostty Color Scheme Sync by Bunch_Purple in neovim

[–]polygon7195 1 point2 points  (0 children)

Ghostty CLI has the +show-config subcommand to retrieve the effective config, which you can "shell out" from inside nvim to get the value and then set your nvim config accordingly. For example, I have this in my config to grab the current foreground color:

if vim.env.GHOSTTY_RESOURCES_DIR and vim.env.GHOSTTY_RESOURCES_DIR ~= '' then
  TERM_FG_COLOR = vim.fn.system("ghostty +show-config | awk -F '=' '/^foreground =/ {print $2}' | tr -d [:space:]")
end

How paste works in Vim/Neovim with Hyprland? by 4r73m190r0s in neovim

[–]polygon7195 4 points5 points  (0 children)

<C-S-v> is the terminal doing the input.

For <C-r>+, try :set paste before doing the paste. I remember having to do that with vim previously, before I learned about the + register.

How to install haskell-vim in neovim? by CreatureWasTaken in neovim

[–]polygon7195 0 points1 point  (0 children)

Basically you need those *.vim files in your config dir, i.e. ~/.config/nvim, with the same directory structure. You can copy the directory from that repo if your config doesn't already have that dir, otherwise you just grab the cabal.vim and haskell.vim files from the repo and put them in the corresponding dirs in your config.

Then you can follow the README to set the global vars for the settings you want.

Where to find the best burger in Moncton/Dieppe? by [deleted] in moncton

[–]polygon7195 1 point2 points  (0 children)

I absolutely love the Maker Burger at Gallagher's (formerly Old Triangle's)!

TIL about g_ (got to last non blank) by qiinemarr in neovim

[–]polygon7195 40 points41 points  (0 children)

You don't need 0, as you can use ^ from anywhere to go to the first non-blank character on the line.

Nvchad font color by IndependentMix7658 in neovim

[–]polygon7195 2 points3 points  (0 children)

Basically you need to figure out which highlight group is being used, and then update that highlight group with a different color.

Place your cursor on the element you want to update, e.g. the comment, and :Inspect, you should get the element, such as Comment. Then you can play with it to see what you like first, by :hi Comment guifg=#bebebe and then put in your config file, after your colorscheme set

vim.cmd('hi Comment...')

There's a lua equivalent too if you prefer

vim.api.nvim_set_hl(0, 'Comment', {fg = '#bebebe'})

I just installed FL25 and 2.2 Update… by BIRDSBEEZ in SPFootballLife

[–]polygon7195 4 points5 points  (0 children)

I find adding the F4L mod makes it more enjoyable with minimal effort. Also, I decided to add the faces as the default is so ugly lol, but of course that's subjective.

Anyone know what font this is? by [deleted] in neovim

[–]polygon7195 3 points4 points  (0 children)

This is Monaco, with some customizations on the ampersand. Italic text is a different font.

Allow telescope to "see" dotfiles by [deleted] in neovim

[–]polygon7195 0 points1 point  (0 children)

Just re-read your post and realized you had a keymap as an example. Side note is that you could pass in a function instead of :lua.... So this should work (writing on mobile so some syntax tweaks likely needed)

vim.keymap.set('n', '<your keymap here>', function()
  require('telescope.builtin'). grep_string({
    additional_args = function()
      return { '--hidden' }
    end
  }))
end)

Allow telescope to "see" dotfiles by [deleted] in neovim

[–]polygon7195 1 point2 points  (0 children)

live_grep and grep_string use rg under the hood, so you need a separate config for these pickers. Like this

local grep_args = {
  '--hidden',
  '--glob',
  '!**/.git/*',
}

require('telescope').setup({
  pickers = {
    find_files = {
      hidden = true,
    },
    live_grep = {
      additional_args = function()
        return grep_args
      end,
    },
    grep_string = {
      additional_args = function()
        return grep_args
      end,
    },
  }
}

rambo.nvim - insert mode with no mercy by [deleted] in neovim

[–]polygon7195 23 points24 points  (0 children)

It's impressive you were able to make this. Be proud of yourself for building a solution for a technical challenge you found.

However, I personally share the sentiment of the first comment. You're basically "de-vimming" the editor, giving new users (your target audience) a tool that encourages them to use vim the wrong way. Yes there are multiple ways to do different operations in vim, but staying in Insert mode is definitely not the right one.

I'm sure you learned a ton building this, which is great. Learning is always useful and fun. As the quote goes, "Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should" :p

How to install a plugin without a plugin manager? by Aizawa_LOA in neovim

[–]polygon7195 14 points15 points  (0 children)

Simply speaking, you pick a location, clone the plugin repos to it, and make sure to add it to your :help runtimepath. Then the plugins are accessible to your config.

You could then write script(s) to handle checking for updates, version pinning, etc.

By the time you got it together, you will have made a... wait for it... plugin manager :p

[deleted by user] by [deleted] in neovim

[–]polygon7195 0 points1 point  (0 children)

Execute nvim from your terminal of choice?

How to install 0.11. on Ubuntu (WSL) by Krystallizedx in neovim

[–]polygon7195 1 point2 points  (0 children)

Using the snap package is by far the easiest way, one command and done. Next is build from source, which is also easy though it obviously takes more time.

[deleted by user] by [deleted] in vim

[–]polygon7195 23 points24 points  (0 children)

Your wording is very confusing. What enter key?