Questions tagged [vim]

Vim stands out as a versatile modal text editor that is both free and open-source, catering to multiple platforms. Although it offers high efficiency in various text editing tasks, mastering its intricacies requires commitment due to its steep learning curve. Beginners can start by running ":help vimtutor" to grasp the basics. For non-programming inquiries, it is recommended to seek assistance from vim.

When editing html files in Vim, the javascript indent filetype plugin is sourced unexpectedly

After experimenting with my vim settings, I noticed an unexpected behavior. When editing html files in vim, both the indent/javascript.vim and indent/html.vim filetype plugins seem to be sourced simultaneously. Is this intentional or a bug? How can I ensur ...

Upon opening the terminal, Vim's Ex mode is activated

Recently, I stumbled upon an issue with Vim in my Mac terminal. While copy and pasting text the other day, I accidentally triggered something that now causes Vim to load in Ex mode every time I open the Terminal. I am aware of how to exit Ex mode once insi ...

Can anyone give me advice on how to enable automatic suggestions for array options while I'm typing in Vim?

If I were to input the following code in a .py file using vim: a = [1, 2] and then type "a." and press TAB, I am expecting to see a suggestion menu specifically related to lists. Edit 1: In response to Robin's comment: I believe achieving this func ...

Vim users now have access to a powerful PHP debugger specifically designed for debugging command

I recently encountered an issue with my vim debugger that requires me to add an Xdebug cookie in my browser by appending ?XDEBUG_SESSION_START=1. Unfortunately, I found it challenging to set this cookie/session while calling a script on the CLI. Can anyo ...

Error encountered: YouCompleteMe is unable to locate the necessary executable 'npm' for the installation of TSServer

While attempting to install YouCompleteMe for vim and enable support for Java and Javascript, I followed the instructions provided here. My command was: sudo /usr/bin/python3.6 ./install.py --java-completer --ts-completer Unfortunately, I encountered an ...

Enhancing user experience with autocomplete feature in gtk3 and pygobject

Currently, I am in search of a way to enable autocompletion for gtk3 libraries within Vim. My attempt with vim-jedi, which is considered the top autocompletion tool for Python in Vim (also recommended here), did not provide support for the gtk3 content imp ...

"In Vim, learning how to create block comments is an essential skill to

I am seeking a way to streamline the process of generating block comments for documentation in vim. For example: /** * comment */ Are there any available plugins that can assist with this task? ...