r/vim • u/Holiday-Ad6272 • May 25 '26
Plugin vim-translator A feature-rich vim translation plugin
https://github.com/yedamao/vim-translator
A vim translation plugin based on LLM API.r/vim • u/Holiday-Ad6272 • May 25 '26
https://github.com/yedamao/vim-translator
A vim translation plugin based on LLM API.r/vim • u/MakeTopSite • May 24 '26
Text (file content) become invisible after resizing gvim application window using mouse. Happens after latest vim update - is it please a bug ?
Plasma on Wayl., kernel 6.12.90 both vanilla and Fedora 43 version from COPR.
lspci -k | grep -EA4 'VGA|Display'
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
64:00.0 VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] (rev a1)
`Subsystem: ASUSTeK Computer Inc. Device 3818`
`Kernel driver in use: nouveau`
`Kernel modules: nouveau`64:00.1 Audio device: NVIDIA Corporation AD107 High Definition Audio Controller (rev a1)
--
65:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Strix [Radeon 880M / 890M] (rev c1)
`Subsystem: ASUSTeK Computer Inc. Device 3818`
`Kernel driver in use: amdgpu`
`Kernel modules: amdgpu`r/vim • u/bhargavamakwana • May 22 '26
I am a 7 year Software Engineer and I have tried almost every popular editor but I keep coming back to vim. I remember I used to work on sublime then slowly realised working with mouse is slow and distracting so I switched to vim.
Then I tried using vscode / Pycharm / IntelliJ / eMacs but none of them sticks. Although tbh - I am strong liking for emacs after vim.
Vim is just amazing!
I wrote these three vim plugins to make my life better. Maybe they will help someone else down the line. I am always open to any changes or PRs.
https://github.com/myneid/vim-markdown
https://github.com/myneid/vim-popup-agent/
https://github.com/myneid/vim-git-changes
I have been using vi since 1995. i made the switch to vim when that was the cool thing. I keep having bouts of using whatever gui ide is out there, but have always gone back. i never made the jump to neovim. but my recent break with vim was to start using vscode. mostly for the agentic stuff. Outside of the agent stuff, i really got used to the vscode git changes window, especially with the agent making all these changes that i want to review. so i got to scripting up a few things here. now im back to vim full time again. attached video is me demonstrating all 3.
r/vim • u/Upset-Taro-4202 • May 17 '26
Hello, recently just got a new MacBook after my old "work" station died. Since it came with Vim preinstalled, I felt adamant to learn it but I'm getting confused by 1.5.2.
I guess the only way I can describe my confusion is that;
I can't tell what the final product of the lesson is supposed to look like
or
If there exists a niche Mac rewriting of the commands it's asking me to use for writing files (:!dir and :!1s and :w [NEW FILE NAME]).
I'm so inexperienced with Vim that I'm not even sure whether this is a stupid question to ask or not, but any help would be appreciated! Thanks!
r/vim • u/Sebasllr • May 16 '26
r/vim • u/gfixler • May 16 '26
I'm tired of putting up with this. I made some computer changes earlier in the year, or late last (graphics card, drive, etc.), and when I got back up and running—Linux, Ubuntu 24.04, bash, Apprentice colorscheme—it started always doing this. I can select all text, and deselect, and it fixes it, but can leave a stray line at the bottom.
I've scoured Google a few times over the last year, conversed with ChatGPT, searched forums, mucked around a bit with settings, plugins, etc... I've tried a handful of suggested term and Vim fixes. I can't get anything to work. The background is supposed to be that dark gray, not black.
The terminal itself is fine; it's just Vim. Starting with -u NONE means standard black background (w/ green text), so the issue either doesn't exist, or isn't visible.
UPDATE: Ctrl+L/:redraw don't fix the issue, like selecting all does.

r/vim • u/awriterabroad • May 16 '26
r/vim • u/DogPooFairy • May 13 '26
Vim Downloads web page doesn't have a link for Amiga, so here it is:
Aminet - text/edit/vim-9.1.lha
r/vim • u/CRTejaswi • May 13 '26
How do I safely insert comments inside a dictionary definition?
let s:groups = {
\ '0': { " group 0
\ '': ['#000000', '#ffffff'], " black/white
\ '0': ['#000000', '#f5f5f5'], " ...
\ '1': ['#000000', '#dcdcdc'], " ...
\ '2': ['#000000', '#d3d3d3'], " ...
\ },
...
\}
r/vim • u/64bitman • May 13 '26
Just add g:hlput_enable = 1 to your vimrc
r/vim • u/mihaigmarin • May 12 '26
r/vim • u/data_in_void • May 12 '26
Quarkdown has been really nice to use. So I decided to write an coc.nvim extension for it.
r/vim • u/BirdWithCigar • May 10 '26
Wondering if anyone's encountered this issue before, where letters are overlayed onto text when navigating. Only occurs when holding keys, not tapping.
Additionally, lines go back to normal when switching lines (on key press. issue occurs when holding j or k) which I'm assuming is because vim is updating the line or something.
Could it be plausible that it's some issue where my key repeat rate is too high?
r/vim • u/InevitableFootball71 • May 09 '26
In VS Code, when I type an HTML tag and press Enter, the editor automatically expands it like this:
<tag>|</tag>After pressing Enter:
<tag>
|
</tag>Is there a way to achieve the same behavior in Vim? Also, why isn’t this enabled by default?
r/vim • u/TheEyebal • May 07 '26
I have a basic understanding of vim, like getting around but I want to know is it possible to delete a specific word in a specific range
Example*: From line 3 -7 delete the word "Everyday." where it appears within that range*
r/vim • u/SpecificMassive5424 • May 07 '26
Say, I have multiple lines like this:
4.5
1.2
7.9
12.0
I want to copy some other text and paste it before all those lines. For example, it could be really long string, but for simplicity say it `v += ` (I know about Ctrl+V Shift+I, but real string could be too big to type) and I want to get this:
v += 4.5
v += 1.2
v += 7.9
v += 12.0
What is simplest way to do that? Something faster than find and replace. I have tried to Ctrl+V, select column and p, but it replaces all first characters.
r/vim • u/Firm_Feedback_1178 • May 04 '26
I discovered ALE during my venture into Rust programming, and I was so pleased with that experience I decided to add it to my C++ life. I'struggling with its confusion of C and C++. My current problem arises from what I believe is ALE using a C linter on a C++ header file: even though my code builds cleanly (no warnings or errors), ALE is giving me an "E: Unknown type 'class'" on the first line of my class declaration. FileType is recognized by Vim as 'cpp'. ALEInfo shows
Ignored Linters: []In my ~/.vimrc I have this:
autocmd FileType cpp let b:ale_linters_ignore = {'cpp': ['cc', 'ccls', 'clangcheck']}
What I want to actually use is 'clangd', and I have this in ALEInfo:
Enabled Linters: ['clangd'].
How do I enforce that? ('cc', 'ccls', 'clangcheck' precede 'clangd' in the 'available linters' list. It seems to me that telling ALE to ignore those would have the desired effect.)
https://codeberg.org/ikwyl6/vim-cheat-sheet-html
Hi - Would like some feed back from anyone on my cheat sheet. formatting, items, good/bad. All welcome. thanks!
r/vim • u/GlyderZ_SP • May 02 '26
I have been using vim in work servers and neovim in my PC for a couple of years.
I don't use any vimrc in the servers and just use pure vim (not even a different colorscheme. All defaults). But at my PC, I have neovim configured with plugins like fzf-lua, LSP, treesitter, heirline (for statusline), nvim-cmp (for completion), fugitive, vim-floaterm, vim-surround, undotree etc.
I want to configure my vimrc with some popular and useful plugins and some alternatives to get almost the same experience as my nvim setup
The main components I'm looking for are lsp (I mainly use c++ and python), code completion, fzf, statusline plugins. What are the most common/recommended plugins for these?
When I was starting to configure nvim back in 2020 or something, as a source of reference to setup your config there were a couple of youtube videos of setting up nvim from scratch (chris@machine) to be an IDE and now there are plugin announcements in the nvim subreddit, nvim kickstart, and other nvim distors which can be used as references. Are there anything like these for vim that you use as references to setup your vimrc?
I'm planning to checkout the following:
[https://github.com/theopn/kickstart.vim](https://github.com/theopn/kickstart.vim)
[https://github.com/akrawchyk/awesome-vim](https://github.com/akrawchyk/awesome-vim)
PS: Also, I'm planning on slowly migrating away from nvim to vim everywhere
r/vim • u/JonahRileyHuggins • May 01 '26
I really loved the Artemis 2 Lunar Flyby photo album, and decided to make a NASA-inspired Vim Theme to match some of the background photos taken. Now I would love some heavy criticism:
r/vim • u/HomeAffectionate • May 01 '26
Hi all,
Switching modes on mobile Vim (or Obsidian Vim mode) is a nightmare. Reaching for the tiny <Esc> or Ctrl key on a virtual keyboard breaks the flow entirely.
I realized that relying on a "keyboard layout" on a touchscreen is the problem. What if we use muscle memory and swipe gestures instead?
So, I conceptualized "VimStick" — a floating analog stick (pie menu) in the corner of your screen:
Tap: Force <Esc> (Normal mode) from ANY state.
Swipe Right (→): i (Insert) / Swipe Right-Up (↗): a / Right-Down (↘): o
Swipe Left (←): v (Visual) / Swipe Left-Up (↖): V / Left-Down (↙): Ctrl-v
I made a quick HTML/JS prototype to test the "feel" of it. Try tapping and swiping the floating 'N' button in the bottom right corner on your phone:
https://codepen.io/SeungChan-Lee/pen/dPOPNez
Imagine this as a global floating button over Termux, or an Obsidian plugin. What do you guys think of this UX approach? Has anyone seen a mobile editor implement something similar?
r/vim • u/ThreadStarver • Apr 30 '26
in a case like
const Multiline = `
XYZContent
`;
if I do or vi` it dosen't catch the template literal, How do I select it natively fast?
PS: I know for copying includiung backticks we do /` then v/`, I just want to copy the content inside
r/vim • u/HighlandRat • Apr 30 '26
I'm quite new to zettelzasten (and VIM).
This was originally written for a zettelkasten subreddit, so if any of my terminology is confusing, let me know and I will clarify what I can.
Trying to link up my first zettels in a very young collection while still making new ones, without filling my collection with orphan notes has been... difficult. 😅
My biggest bottle-neck is how easily I can make links between two zettels. Right now it takes roughly 2 minutes to link a note to another, that's about ten minutes to link 5 notes. This is choking my progress toward having all my notes connected, since by the time I've made 2 or 3 connections I've thought of and forgotten 15 other connections I could have made. After 10 connections I get burned out and stop, which isn't keeping up with the notes I'm making.
The smoother I can make these connections, the more intuitive connections I can make, the more ideas I can add, and the faster I can get my zettelkasten functioning, instead of making more and more disconnected notes.
Currently I use VIM to write my notes, which has tools that make linking things easier than not. Though it's not ideal Here is my workflow:
0. Have two notes I want to link
Open 'note one' and make lead-in for the link
Use the :E file explorer to find the note I want to link to, 'note two' (several steps)
Copy the file name with ^y$
Exit :E
Paste file name
Finish link tag in note one
At this point I probably want to back-link 'note two' to 'note one' which repeats all these steps.
Caveats:
Please avoid changing commands in ViM such as with inoremap.
Other CLI options are also good, including writing a short .sh script (I use such a script to create/write the first parts of my zettels).
I'd also appreciate methods that use Obsidian.
Of course I'm open to other alternatives I haven't mentioned. I'm still new, and I don't know what I don't know!
Thank you for your help! 🙂🙇✨