r_vim – Telegram
r_vim
71 subscribers
1.24K photos
52 videos
1 file
19.5K links
Download Telegram
I created my first colorscheme
https://redd.it/1oxywvy
@r_vim
I just want to use this old (bitmap?) font

I have this struggle with every modern IDE, text editor, etc. I'm in love with the old Courier font and how it was displayed on Windows 95/98/2k/XP, but I haven't been able to reproduce this style. It's not the font per se, it's not a Courier vs Courier New thing. I think it's because Courier in modern systems is rendered in a a different way.

Any one knows how to render it like in the old times? I'm using linux. Maybe some terminal emulator different than the ones provided in Mate or XFCE?

I'm talking about this:

Best programming font ever.

Nedit does font rendering the way I want. But it hasn't the Vim or Emacs movement so I feel like stuck in notepad.



https://redd.it/1oycbjo
@r_vim
How to display images in Vim while note-taking with vimwiki?

I'm currently trying to migrate from Obsidian to vimwiki in Vim (not Neovim) for note-taking. I'd prefer to stick with Vim rather than switching to Neovim if possible. I'd like to display images when navigating through links, but the markdown viewers I've tried don't seem well-suited for link navigation in vimwiki. Does anyone have suggestions for displaying images inline or alongside Vim while maintaining smooth wiki link navigation? I'm looking for something that works well with vimwiki's link-following workflow. Coming from Obsidian, I'm used to seeing images embedded in my notes, so I'm hoping to replicate some of that experience in Vim.

https://redd.it/1ozhw3y
@r_vim
github-actions.vim

Howdy r/vim

Wanted to share another pure vim9noscript plugin I'm working on to help with a regular part of my daily work: github-actions.vim

The plugin leverages `gh cli` to let you list Workflows, workflow run details, open workflow files / view the details on GitHub.

# Why I built it

I've been pairing with DevOps folks in my org and was pretty impressed by the VSCode GitHub Actions extension. Rather than opening the IDE I decided it would be easy enough to port the functionality into vim and save my sanity

# Screenshot + Quick Demo

(https://preview.redd.it/pp8uwdad3r1g1.png?width=1283&format=png&auto=webp&s=5b4f2f4dbae0c1645f82566eb42b60d7d8388330)

https://preview.redd.it/gzyz2g136r1g1.png?width=1291&format=png&auto=webp&s=3641192ec7bfc58dd824d7bed23ae19c78c5d058

# Current Status

v1.0.0 release is in a good place but there are a few more features I'd like to add here soon (last actions in current branch, delete workflow definitions).

I'd love any feedback / questions / feature suggestions you might have.

Repo: https://github.com/DanBradbury/github-actions.vim

https://redd.it/1oz81oh
@r_vim
Repeat last command in terminal buffer

Hey!

I have been using terminal buffers for a while now to mostly compile and execute applications. I have been told Im a disgrace to the Unix world for not using Ctrl-Z and fg, but I prefer seeing what tests failed/where my compile time errors are.

Since I'm usually using multiple buffers at once, navigating to the terminal is often slow. My solution was using tabs for a while but in all honesty, I do not think that this is the real solution for that. So I wonder how one could execute the last command entered in the terminal or even better, even search the last commands of the terminal. I usually have one terminal buffer open, but one could make it more generic and say that execute the last command in the last used terminal buffer.

Is there a native way of doing this? Or do I have to do some trickery with Lua/Vimnoscript?

Cheers

https://redd.it/1p06i05
@r_vim
Section movement ( ]] & [ ) does not count

I open a markdown file that looks like this:

> # HEADING 1
body text
# HEADING 2
body text
body text
# HEADING 3
body text
# HEADING 4
body text
body text

My cursor is at HEADING 1, and i enter `3]. Now my cursor is at HEADING 2. Shouldn't it be at HEADING 4? Similarly, if my cursor is at HEADING 4 and i enter 2[`, i expect it to be at HEADING 2, but it ends up at HEADING 3. Do `] and [` only count under certain conditions?

I don't totally understand exclusive or exclusive-linewise motion but it doesn't seem to have anything to do with what I'm asking. I'm thinking this is something i have to configure myself but i feel like i'm missing something obvious.

[https://redd.it/1p0aqyz

@r_vim
Is vim really good for writing though?

I've been wanting to ditch Obsidian and VsCode in favor of an in-terminal editor for ages and I keep hearing about how great Vim is great for writing.

And I gotta say, after having used it on and off for about two months - I don't get it. I just don't.

I feel like I'm living some crazy alternate reality or something. Almost everything people say Vim does better than GUI editors, I find to be cumbersome and counterintuitive.

Also really not trying to dismissive or anything here. These are my genuine impressions. I WANT to love Vim so please tell me if I just need to push on and wait for it to click.

# I actually feel that Vim is slow for most writing relating actions

Okay, super quick example. Let's say I misspelled a word on the line above. To fix it in Vim, I'd have to:

`<esp>` to exit editing mode (or jk in my case, but whatever)
gk \- jump up one visual line
`b` \- to jump to the beginning of the word
daw \- to delete it
retype word
gj to go back down
`i` to re-enter insert mode

That’s six separate actions and nine physical keystrokes, all while remembering which mode you’re in. Meanwhile, in any GUI editor it's gonna be four strokes at most: up, ctrl-shift-left to mark the word, type, down again.

And the difference matters because when you’re writing prose, losing your flow to perform a ritual of motions and jumping between modes really breaks your concentration. At least to me.

# what do you mean ergonomic? What do you mean homerow?

Sitting on my TLK keyboard, I literally have my left hand resting on the modifier keys (ctrl, shift) and my other on the arrow keys. I find that I can usually hit ctrl-shift which are the two most common modifiers without moving my fingers.

Reaching all the arrow keys is a bit more difficult, but writing prose, most of the time you're just going to back-navigate with the left arrow key (your right hand is already gonna be resting on it on most keyboards) and then hit home to get yourself back. Plus, must keyboards these days have programmable layers making it even easier.

The biggest problem I have Vim is that I often have to reach for shift with my pinky and use the number row to perform very basic forms of navigation ($, 0, (, ). etc).

# a lot of the reasons for using vim has nothing to do with vim

When people tell me how great Vim is for writing, they rarely talk about Vim’s modal editing. Instead, they praise:

distraction-free full-screen writing
Markdown support
the plugin ecosystem
how easy it is to pipe things to the terminal
fuzzy searching
Lua config
no mouse required

And yes — all of that is great. But none of that is uniquely Vim.

You can get all of this in Helix, Zed, Sublime, VS Code, even Obsidian with the right plugins.

So why are these arguments for Vim when you can get it in most editors? I don't get it.

# Also, are any of you Vim writers actually using vim to write. Be honest?

I'm not talking about coding. I'm talking about taking notes. Writing prose. Writing docs.

Because I follow a lot of streamers and youtubers who talk about how great Vim is for productivity, and I see most of them switching to Obsidian or even freaking LibreOffice to write their youtube noscripts on stream.

Won't call out any names. just saying. If it's so clearly superior - why not use it?

# Finally...

Don't get me wrong. I love the idea of Vim. Distraction-free terminal writing. I really wish I could love it. But I almost feel that people aren't being honest with themselves when they talk about how much better it is than GUI editors.

Look, if you just like Vim and think it's fun. That's great. In fact, it is fun. I just don't see how it's necessarily better.

Also, I actually really like Vim for coding. So that's why I specifically talked about writing in this post.

https://redd.it/1p0s86r
@r_vim
How to learn vim bindings

I know the basic vim bindings but I want to be better at the motions.

I know about the manual but is there a book you recommend to learn the motions

Edit : finished vimtutor

https://redd.it/1p1dagl
@r_vim
:set paste brings me joy every single time

Less than a month ago I found myself, yet again, google searching for the vim config setting that I used on one computer or another to prevent the auto commenting of all my pasted lines. On this search I found :set paste. Literally every single time I’ve needed it, several times in the last month, I’ve felt a jolt of joy; no more commented lines, no more crazy formatting.

Anyone else have any simple and joyful vim jewels of wisdom that have paid dividends once discovered?

https://redd.it/1p29qz8
@r_vim
Recognise pattern as keyword / more specific conditions for iskeyword

I want vim to recognise the pattern @[[:digit]\.]\+ as a keyword so that gding or CTRL-]ing over, e.g., @2.1.1 will highlight/recognise the whole thing instead of just 2 or 1. I'm aware of set iskeyword and I know i can set iskeyword+=@-@,. to recognise the above pattern but this is too wide-reaching. Any word next to a period [word.] will be recognised as a keyword instead of just the [word]. which i don't want. I'm not sure if i've articulated this as well as i could so i can elaborate if needed. Is what i want possible with vimnoscript?

https://redd.it/1p2s6mb
@r_vim
Recent contributions to the awesome-vim9 list

The awesome-vim9 list is growing. Thank you to everyone who's contributed. Here's what's new.

# New Plugins Added

`DanBradbury/github-actions.vim` \- Interact with GitHub Actions in vim
nda-cunh/SupraPacman \- vim9.1 plugin for playing to pacman in vim
`Coacher/vim9-cutlass` \- Vim9 plugin that adds a 'cut' operation separate from 'delete'
Coacher/vim9-buckler \- Vim9 plugin that maintains a consistent yank history through registers
`DanielViberg/lsp` \- A lightweight, pure vim9noscript lsp client
ShayHill/article_install_vim_in_windows \- This guide will start from a stock Windows 11 install and take you all the way to a Python development environment with completion, snippets, LSPs, debugging, AI, etc.
`nda-cunh/indent_rainbow_vim` \- vim9 plugin for indent\_rainbow from supravim
sevehub/vim9lua This - Vim9Script plugin allows users to execute the contents of the current buffer as a Lua noscript using Windows PowerShell. It provides a way to test and run Lua code directly from Vim, enhancing the development workflow for Lua programmers.
`sevehub/vim9psgrep` \- vim9psgrep is a Vim9noscript plugin that integrates the power of ripgrep with Vim, utilizing PowerShell noscripts and Visual Basic popups
nda-cunh/SupraTree \- a Vim9noscript plugin File-Manager
`nda-cunh/SupraIcons` \- Vim9Script plugin, rewrite of vim-devicons but better (beta)
ubaldot/vim-calendar \- Calendar in Vim9
`ShayHill/vim9-limelight` \- Shade unfocused windows. Give a bright statusline color for active windows when splits are open.
ubaldot/vim-op-surround \- Vim9 surround!
`nonoscript/taberian.vim` \- Clickable tabs per VIM window
nonoscript/elevator.vim \- Scrollbar for VIM
`girishji/fFtT.vim` \- More accurate f, F, t, T navigation in Vim.
lacygoill/vim9asm \- No denoscription provided.
`Bakudankun/qline.vim` \- The quick, fully-customizable status line plugin written in cutting-edge Vim9 noscript.
ubalot/vim-markdown-extras \- Taking notes and editing markdown files: make it easy!
`shayhill/vim9-scratchterm` \- Define a command, ScratchTerm, that creates a new terminal buffer and marks it as a scratch buffer. This allows us to kill all scratch terminals in the current view with a single function.

# Star Milestones Crossed

girishji/vimsuggest reached 50 stars.
`ubaldot/vim-calendar` got its first star.
nda-cunh/SupraSnake got its first star.
`ShayHill/vim9-scratchterm` reached 10 stars.
yegappan/lsp reached 600 stars.
`DanielViberg/lsp` got its first star.
nda-cunh/indent_rainbow_vim got its first star.
`nda-cunh/SupraPacman` got its first star.
ShayHill/vim9-scratchterm reached 10 stars.

https://redd.it/1p2zow9
@r_vim
How can I integrate these 2 commands: alias + -N -u <this alt_vimrc>

**Hi**, I use vim 8 with its .vimrc but for test Vim 9 I need to use another .vimrc with anothers plugins for vim 9, so I have vim 9 from an appimages in my Desktop dir (in cmd below is named Escritorio/).
I use an alias to open Vim 9 : `alias Vim="/home/jazei/Escritorio/vim.appimage"
`
**I need to add to that alias this: ` -N -u <.another.vimrc_for vim_9>`**
*How can I integrate those 2 things?*
*Thank you and Regards*

https://redd.it/1p3rliy
@r_vim
I have installed font noto emoji but I can't see them in vim

(edited) Hi, I have installed noto emoji font but I can't see them in Vim (and FeatherPad too)..
added before: it is related to some emojis use 1 cell (or column) and yes they are shown cat yes, but another emojis use 2 cells like dog or smile and they are not shown... Why?
cat yes dog not (a rectangle is shown instead)
Screenshot of Charmap
Thank you and Regards!

https://redd.it/1p3xx3a
@r_vim
Is pasting from clipboard broken on Wayland or smth?

I'm currently on KDE Plasma Wayland. Previously, when I used X11, setting

set clipboard=unnamedplus

was only needed to yank and paste to and from the clipboard. But rn, yanking works, but pasting uses the Vim register rather than the clipboard. I'm on Vim 9.1.

https://redd.it/1p40k6u
@r_vim
Vim desktop calendar for 2026 available

It prints on one sheet of paper and, after folding and applying a bit of glue, stands on your desk.

It is available in English. You can find the PDF files on hotoo's website https://hotoo.github.io/project/vim-desktop-calendar

https://preview.redd.it/lz2j1rkq7t2g1.png?width=4032&format=png&auto=webp&s=1457e0ee90f64c2fef877250106df78e8395ba6b



https://redd.it/1p3t5xz
@r_vim
if anyone use vim9-stargate: where is the Human-abc? I don't understand nothing about it

Hi, I installed vim9-stargate read its help file, added this line in vimrc noremap <leader>f <Cmd>call stargate#OKvim(1)<CR>
but I don't know how to continue...
where can I read a human-tuto about this plugin
not https://github.com/monkoose/vim9-stargate/blob/main/INTRODUCTION.md
a Human help
Thank you and Regards

https://redd.it/1p47ya4
@r_vim
pyright: Import "Numpy" cannot be resolved.

I am using yegappan-lsp. I installed pyright, and I have the following configuration:

  var pyright_config = {
settings: {
python: {
analysis: {
autoSearchPaths: true,
diagnosticMode: "openFilesOnly",
useLibraryCodeForTypes: true
},
pythonPath: exepath('python')
},
},
}

...

{
name: "pyright",
filetype: ["python"],
path: "pyright-langserver",
workspaceConfig: pyright_config,
rootSearch: [
"pyproject.toml",
"setup.py",
"setup.cfg",
"requirements.txt",
"Pipfile",
"pyrightconfig.json",
".git"
],
args: ['--stdio']
},


and I got the problem as per noscript.

I installed pyright through conda.

https://redd.it/1p4tb34
@r_vim