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
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
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
: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
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
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
Recognise pattern as keyword / more specific conditions for iskeyword
I want vim to recognise the pattern
https://redd.it/1p2s6mb
@r_vim
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
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
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
`Coacher/vim9-cutlass` \- Vim9 plugin that adds a 'cut' operation separate from 'delete'
`DanielViberg/lsp` \- A lightweight, pure vim9noscript lsp client
`nda-cunh/indent_rainbow_vim` \- vim9 plugin for indent\_rainbow from supravim
`sevehub/vim9psgrep` \- vim9psgrep is a Vim9noscript plugin that integrates the power of ripgrep with Vim, utilizing PowerShell noscripts and Visual Basic popups
`nda-cunh/SupraIcons` \- Vim9Script plugin, rewrite of vim-devicons but better (beta)
`ShayHill/vim9-limelight` \- Shade unfocused windows. Give a bright statusline color for active windows when splits are open.
`nonoscript/taberian.vim` \- Clickable tabs per VIM window
`girishji/fFtT.vim` \- More accurate f, F, t, T navigation in Vim.
`Bakudankun/qline.vim` \- The quick, fully-customizable status line plugin written in cutting-edge Vim9 noscript.
`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
`ubaldot/vim-calendar` got its first star.
`ShayHill/vim9-scratchterm` reached 10 stars.
`DanielViberg/lsp` got its first star.
`nda-cunh/SupraPacman` got its first star.
https://redd.it/1p2zow9
@r_vim
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
GitHub
GitHub - saccarosium/awesome-vim9: Collection of awesome vim9noscript plugins.
Collection of awesome vim9noscript plugins. Contribute to saccarosium/awesome-vim9 development by creating an account on GitHub.
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
**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
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
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
(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
Imgbox
imgbox - fast, simple image host
Use imgbox to upload, host and share all your images. It's simple, free and blazing fast!
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
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
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
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
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
hotoo.github.io
Vim desktop Calendar - 闲耘小站
闲耘的个人网站和博客
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
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
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
GitHub
vim9-stargate/INTRODUCTION.md at main · monkoose/vim9-stargate
modern alternative to easymotion written in vim9. Contribute to monkoose/vim9-stargate development by creating an account on GitHub.
pyright: Import "Numpy" cannot be resolved.
I am using yegappan-lsp. I installed pyright, and I have the following configuration:
and I got the problem as per noscript.
I installed pyright through conda.
https://redd.it/1p4tb34
@r_vim
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
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
What will be the variable in these lines. I got this error: undefined variable
Hi, I am trying to change the stargate plugin...
In its poor help it says (spits) this:
StargateDesaturate StargateDesaturate
Text highlight for a visible text in the current window when hints are
shown. Makes it easier to read hint labels.
Default is guifg=#49423f
so I put in vimrc this:
but vim says undefined variable
The same for this other line:
g:stargatechars g:stargatechars
Characters used to display hints.
Default is 'fjdklshgaewiomc'
I put
the same for {1234567890] again undefined variable too
Thank you and Regards!
https://redd.it/1p4vd4k
@r_vim
Hi, I am trying to change the stargate plugin...
In its poor help it says (spits) this:
StargateDesaturate StargateDesaturate
Text highlight for a visible text in the current window when hints are
shown. Makes it easier to read hint labels.
Default is guifg=#49423f
so I put in vimrc this:
let g:StargateDesaturate = { guifg=#ffffff } ffffff is any color, it is a test but vim says undefined variable
The same for this other line:
g:stargatechars g:stargatechars
Characters used to display hints.
Default is 'fjdklshgaewiomc'
I put
let g:stargate_chars = { abcdefghi } again undefined variable... the same for {1234567890] again undefined variable too
Thank you and Regards!
https://redd.it/1p4vd4k
@r_vim
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
How can I change highlights in stargate plugin for terminal-vim?
Hi, I am trying to change the settings of stargate plugin...
it says this in its help:
StargateDesaturate StargateDesaturate
Text highlight for a visible text in the current window when hints are
shown. Makes it easier to read hint labels.
Default is guifg=#49423f
so I put in vimrc this:
but vim says undefined variable
This post was deleted by adm, but user duppy-ta 3 hours ago could replyed this:
The docs say that StargateDesaturate is a highlight group, so I would think you'd use the :highlight command to set the color. Something like:
:highlight StargateDesaturate guifg=#ffffff ctermfg=white
but this upper help fails: do nothing
but the user hit the key (thank you!!!!!!!) in this other help:
For g:stargatechars, try using a string:
let g:stargatechars = 'abcdefghi'
If you can guide me how to change cterm and ctermfg for terminals-vim (=not for guiterm in my case) for this:
Thank you and Regards!
https://redd.it/1p52fy0
@r_vim
Hi, I am trying to change the settings of stargate plugin...
it says this in its help:
StargateDesaturate StargateDesaturate
Text highlight for a visible text in the current window when hints are
shown. Makes it easier to read hint labels.
Default is guifg=#49423f
so I put in vimrc this:
let g:StargateDesaturate = { guifg=#ffffff } ffffff is any color, it is a testbut vim says undefined variable
This post was deleted by adm, but user duppy-ta 3 hours ago could replyed this:
The docs say that StargateDesaturate is a highlight group, so I would think you'd use the :highlight command to set the color. Something like:
:highlight StargateDesaturate guifg=#ffffff ctermfg=white
but this upper help fails: do nothing
but the user hit the key (thank you!!!!!!!) in this other help:
For g:stargatechars, try using a string:
let g:stargatechars = 'abcdefghi'
If you can guide me how to change cterm and ctermfg for terminals-vim (=not for guiterm in my case) for this:
let g:StargateDesaturate = { guifg=#ffffff ctermfg=???????}Thank you and Regards!
https://redd.it/1p52fy0
@r_vim
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
using f key for finding " character not working
I have been following the "Learn Vim" extension in VS Code. As an example, it gives f" to find the next " character. Finding ", ' `doesn't work for me.
What should be turned on/off for that to work?
Thanks,
Frank
https://redd.it/1p5a4ob
@r_vim
I have been following the "Learn Vim" extension in VS Code. As an example, it gives f" to find the next " character. Finding ", ' `doesn't work for me.
What should be turned on/off for that to work?
Thanks,
Frank
https://redd.it/1p5a4ob
@r_vim
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
Vim text editor battery draining
Vi improved drains so much battery in the background
https://redd.it/1p77fdw
@r_vim
Vi improved drains so much battery in the background
https://redd.it/1p77fdw
@r_vim
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
Run vim in retro-styled terminal multiplexer with a classic MS-DOS aesthetic
https://www.reddit.com/gallery/1p4ppts
https://redd.it/1p7etb9
@r_vim
https://www.reddit.com/gallery/1p4ppts
https://redd.it/1p7etb9
@r_vim
Reddit
From the Ubuntu community on Reddit: A modern, retro-styled terminal multiplexer with a classic MS-DOS aesthetic
Explore this post and more from the Ubuntu community
fzf ripgrep is not the same as telescope live_grep
when i search for functions or objects in telescope it finds them
however when i search the same in fzf (:Rg) the results are sometimes not accurate at all.
how do you match the config in vim
https://redd.it/1p7mzcu
@r_vim
when i search for functions or objects in telescope it finds them
however when i search the same in fzf (:Rg) the results are sometimes not accurate at all.
how do you match the config in vim
https://redd.it/1p7mzcu
@r_vim
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
"std::print" not recognized in vim using Coc
https://preview.redd.it/g26y9g9hs24g1.png?width=1171&format=png&auto=webp&s=fbedb6cb48c439b1ce5224a8d38a69d568cdda7f
Hi, I recently started learning how to code using C++ and tried configuring my vim to support modern C++ features (-std=c++23) using coc.nvim plugin. I am not able to understand why "std::print" is not being recognized when using clangd. Can I get some help in understanding what I missed in my configuration? My :CocConfig are as follows ->
{ "clangd.path": "~/.config/coc/extensions/coc-clangd-data/install/21.1.0/clangd_21.1.0/bin/clangd",
"clangd.fallbackFlags": [ "-std=c++23", "-fexperimental-library" ] }
https://redd.it/1p98fni
@r_vim
https://preview.redd.it/g26y9g9hs24g1.png?width=1171&format=png&auto=webp&s=fbedb6cb48c439b1ce5224a8d38a69d568cdda7f
Hi, I recently started learning how to code using C++ and tried configuring my vim to support modern C++ features (-std=c++23) using coc.nvim plugin. I am not able to understand why "std::print" is not being recognized when using clangd. Can I get some help in understanding what I missed in my configuration? My :CocConfig are as follows ->
{ "clangd.path": "~/.config/coc/extensions/coc-clangd-data/install/21.1.0/clangd_21.1.0/bin/clangd",
"clangd.fallbackFlags": [ "-std=c++23", "-fexperimental-library" ] }
https://redd.it/1p98fni
@r_vim
Use unoptimized Colemak bindings or go back to QWERTY?
Grew up with bad typing habits and was staring at keyboard too much until a few years ago, when I decided to learn proper techniques, touch typing and etc - I went cold turkey with "ergo" setup: split columnar keyboard + Colemak.
Since then I have enjoyed every moment of typing using Colemak, and I would not think twice about my choices if the only thing I did was typing and using regular shortcuts...
...the problem arises not necessarily when I have to use someone else's setup, but when I don't have all my custom configs with bindings in apps, like Vim, which ranges from a simple HJKL navigation bindings to more drastic changes.
I have made my peace with being a bad typer if I had to use QWERTY, but I feel like I just shot myself in the foot by further complicating my setup with all of the custom bindings.
I don't want to be reliant on always needing to set up the environment on each system and not being able to "just use it barebones".
I wonder if I should simply cut back on bindings and configs, use unoptimized QWERTY-to-Colemak bindings and other defaults... or should I go further and just say goodbye to Colemak.
It has been awhile since I have started considering both options, but to this day I have changed nothing.
So, I'm very curious of community's experiences and solutions, especially if they are identical to mine.
Thanks
https://redd.it/1p9d8lc
@r_vim
Grew up with bad typing habits and was staring at keyboard too much until a few years ago, when I decided to learn proper techniques, touch typing and etc - I went cold turkey with "ergo" setup: split columnar keyboard + Colemak.
Since then I have enjoyed every moment of typing using Colemak, and I would not think twice about my choices if the only thing I did was typing and using regular shortcuts...
...the problem arises not necessarily when I have to use someone else's setup, but when I don't have all my custom configs with bindings in apps, like Vim, which ranges from a simple HJKL navigation bindings to more drastic changes.
I have made my peace with being a bad typer if I had to use QWERTY, but I feel like I just shot myself in the foot by further complicating my setup with all of the custom bindings.
I don't want to be reliant on always needing to set up the environment on each system and not being able to "just use it barebones".
I wonder if I should simply cut back on bindings and configs, use unoptimized QWERTY-to-Colemak bindings and other defaults... or should I go further and just say goodbye to Colemak.
It has been awhile since I have started considering both options, but to this day I have changed nothing.
So, I'm very curious of community's experiences and solutions, especially if they are identical to mine.
Thanks
https://redd.it/1p9d8lc
@r_vim
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
How to become faster in Vim ?
Hello,
I’ve been using Vim daily since last year for programming, taking notes, etc., but I still can’t get comfortable with it.
I feel like I’m not “fast enough” when it comes to manipulating text with keybinds, and I’ve never used any macros.
I've already went through vimtutor a couple of times but never found an occasion to use the stuff I learned while I'm using it.
May I get some advises and tips ?
https://redd.it/1p9rrzn
@r_vim
Hello,
I’ve been using Vim daily since last year for programming, taking notes, etc., but I still can’t get comfortable with it.
I feel like I’m not “fast enough” when it comes to manipulating text with keybinds, and I’ve never used any macros.
I've already went through vimtutor a couple of times but never found an occasion to use the stuff I learned while I'm using it.
May I get some advises and tips ?
https://redd.it/1p9rrzn
@r_vim
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
How to get Vimium to work on all tabs
Mostly just wanting to cycle between all tabs, for example PDF's, Gmail and New Tabs don't work on Firefox because the browser doesn't seem to allow me to use extensions / noscripts on those ones, any advice to get around this so I can use Shift + (J or K) to cycle tabs.
https://redd.it/1p9xb9e
@r_vim
Mostly just wanting to cycle between all tabs, for example PDF's, Gmail and New Tabs don't work on Firefox because the browser doesn't seem to allow me to use extensions / noscripts on those ones, any advice to get around this so I can use Shift + (J or K) to cycle tabs.
https://redd.it/1p9xb9e
@r_vim
Reddit
From the vim community on Reddit
Explore this post and more from the vim community
VimTex 'Compiler did not start successfully!' error
Hey y'all! I'm having a terrible time trying to get VimTex to compile my .tex file. I can compile it fine in the command prompt using latexmk -pdf but when I use the vimtex-compile command I get the output below.
It's weird because it tells me the file name of the file it apparently can't find and lists it when I use the vimtex-info command? I can change the name of the file and it'll print that name whether it is 'main' or 'test' or whatever. Could VimTex not be passing the file location correctly to latexmk? How could fix that if that is the case? Additionally, when I run VimtexCompileSS it says compilation completed but no new files are produced anywhere.
I've tried searching everywhere and I can't find anyone having this issue. I'm guessing I just missed something super simple somewhere as I'm just trying to jump into vim and LaTex as of today. Any help or pointers would be greatly appreciated.
This is my first time actually making a post asking for help so not sure if this is a good place. Would it be better if I took this issue to the VimTex Github?
Output when I run vimtex-compile:
Initial Win CP for (console input, console output, system): (CP437, CP65001, CP1252)
I changed them all to CP1252
Rc files read:
NONE
Latexmk: This is Latexmk, John Collins, 15 June 2025. Version 4.87.
------------
Latexmk: Could not find file ''main.tex''.
-- Use the -f option to force complete processing.
Reverting Windows console CPs to (in,out) = (437,65001)
Information given by vimtex-info:
VimTeX project: main
base: main.tex
root: C:\Users\user\vimfiles\LatexProjects
tex: C:\Users\user\vimfiles\LatexProjects/main.tex
main parser: current file verified
document class: article
document class options:
compiler: latexmk
engine: -pdf
options:
-verbose
-file-line-error
-synctex=1
-interaction=nonstopmode
callback: 1
continuous: 1
executable: latexmk
viewer: General
qf method: LaTeX logfile
https://redd.it/1paarvj
@r_vim
Hey y'all! I'm having a terrible time trying to get VimTex to compile my .tex file. I can compile it fine in the command prompt using latexmk -pdf but when I use the vimtex-compile command I get the output below.
It's weird because it tells me the file name of the file it apparently can't find and lists it when I use the vimtex-info command? I can change the name of the file and it'll print that name whether it is 'main' or 'test' or whatever. Could VimTex not be passing the file location correctly to latexmk? How could fix that if that is the case? Additionally, when I run VimtexCompileSS it says compilation completed but no new files are produced anywhere.
I've tried searching everywhere and I can't find anyone having this issue. I'm guessing I just missed something super simple somewhere as I'm just trying to jump into vim and LaTex as of today. Any help or pointers would be greatly appreciated.
This is my first time actually making a post asking for help so not sure if this is a good place. Would it be better if I took this issue to the VimTex Github?
Output when I run vimtex-compile:
Initial Win CP for (console input, console output, system): (CP437, CP65001, CP1252)
I changed them all to CP1252
Rc files read:
NONE
Latexmk: This is Latexmk, John Collins, 15 June 2025. Version 4.87.
------------
Latexmk: Could not find file ''main.tex''.
-- Use the -f option to force complete processing.
Reverting Windows console CPs to (in,out) = (437,65001)
Information given by vimtex-info:
VimTeX project: main
base: main.tex
root: C:\Users\user\vimfiles\LatexProjects
tex: C:\Users\user\vimfiles\LatexProjects/main.tex
main parser: current file verified
document class: article
document class options:
compiler: latexmk
engine: -pdf
options:
-verbose
-file-line-error
-synctex=1
-interaction=nonstopmode
callback: 1
continuous: 1
executable: latexmk
viewer: General
qf method: LaTeX logfile
https://redd.it/1paarvj
@r_vim
Reddit
From the vim community on Reddit
Explore this post and more from the vim community