I have a custom .gitmessage. It is defined in the git config. I've added a ~/.vim/after/ftplugin/gitcommit.vim to redefine a couple of things in the p ...
I have a custom .gitmessage. It is defined in the git config. I've added a ~/.vim/after/ftplugin/gitcommit.vim to redefine a couple of things in the p ...
While trying to access the array elements, I frequently run into a small inconvenience of navigating to the end of the ]. The bracket is autogenerat ...
I have following vimrc file Delete or changing word with dt or ct works, but when I want to delete inner word with dht or cht it doesn't work but d ...
I would like to define a fixer for tox.ini files that invokes tox-ini-fmt, but when defining my fixer mapping, doing the naïve thing of specifying "to ...
I'm using NeoVIM, and I set up it to show folds automatically. The trouble is that when there is more than one level of folds, it's going to show numb ...
■Error Description. ■Cause of error content output I have set up an environment for Go development using the Vim editor on VirtusalBox. ■Contents ...
How can I add custom text to vim airline. like word evgenimba in the right botton of the picture below? I have tried to search with various keyword bu ...
I use Vim 9.0.105 and python3.9.5 and I'm on WSL2 with Ubuntu20.04 Like I say in the Title, I have an issue with coc-pyright which when I write varia ...
I am writing a Vim plugin and I want to detect if the current line is commented. If the line is not commented, I want it to do something. Pseudo-code: ...
I recently installed MacVim (not through brew), and as I was trying to set up some basic configurations, I encountered an issue with python3 and the U ...
I have installed with Vundle this github colours theme. I installed is with :VundleInstall and it seems to work just fine. The directory ~/.vim/bundle ...
In my init.vim file, I'm trying to load my default .vimrc from a github repo (so that I can load the same customization file from anywhere). However, ...
I have a plugin that autosaves the file. This plugin has hooks like .hook_before_saving etc. Here is an example: I would like to use different form ...
I love having a hotkey to format all of the code I'm using. I'd prefer having it on the lower case "f" button. I tried imitating the code given in the ...
I have made some modifications in my .vimrc (install some plugins, like for example fzf, include some extra configurations, etc). Continuing to work ...
I'm running Ubuntu 20.04 on VMBox and am trying to get the most out of Vim. So I as following this guide https://techinscribed.com/how-to-set-up-vim-a ...
In the last 2-3 years that I started using Vim as my main editor, I've learned to use windows (splits) when working with multiple files (Because in ev ...
I'm creating a plugin for NeoVim in Lua, and I only want to do a certain thing if NeoVim was opened without opening a file So for example, if I invok ...
TL;DR: vim seems to be sourcing both indent/javascript.vim and indent/html.vim on editing html files; is this intentional or a bug? How can I make htm ...
I'm attempting to replace all strings in a text file surrounded by single quotes and ending with an @ first followed by any number and then any mix of ...