Category "vim"

Vim Regex: How do I match a literal "greater than" (">") / "less than" ("<") symbol?

Vim. Regex. How do I match this > and this <.

Setting up onedark as a colorscheme in Vim?

I'm trying to set up my color scheme on vim using onedark I've cloned the repository and ran the following commands: $ git clone https://github.com/joshdick/o

Is it possible to have a single statusline in vim with multiple splits?

Can I have a single statusline at the bottom of the window that changes to information about the currently focussed buffer?

Installing Vim with Python3 support?

I installed Vim on my MacBook today (using brew install vim), but I am having a problem: vim --version tells me that there is no Python 3, which I need. I alrea

How can I access the vim installed with the anaconda prompt?

I've started the Anaconda python distribution. This comes with something called 'Anaconda prompt' that has conda and git available at the Windows command line.

Remove all occurence of _[number].htm in vim

I've a file with occurence in the form _[number].htm, for example _43672151820.htm How I can remove all occurrences of strings with a matching pattern?

Vim 'n' not working in command mode

I have the line: public static void main(String args[]) with my cursor at the start. When I hit fc it correctly finds the first c at the end of public. When

vim - What's the best way to set statusline color to change, based on mode

I've tried to improve my vim experience trying to have the vim statusline color to change everytime the mode changes. I've triend this: (found here) "Auto

Vimdiff - How to hide all same lines in both files and show only different ones

vimdiff file1 file2 besides differences shows also same lines from both files. Is it possible to hide them? How to do it?

neovim: Error detected while processing function <SNR>29_on_window_changed[22]..<SNR>29_ini t[29]..<SNR>29_on_colorscheme_changed:

I recently was looking into nvim, and was Downloading the vim-airline-gruvbox-git from the AUR, which resulted in this error, even after multiple tries of unins

Chronic ripgrep / vim Plugin Error on Load: "-complete Used Without -nargs"?

I recently added ripgrep to my list of vim plugins and, immediately after installation, I began receiving this error message whenever I loaded up vim: Error det

How do I make my plugins work with `set encoding=utf-8` in Vim run from Windows PowerShell?

What I want I want to use the a plugin for Vim and I use the famous plugin manager pathogen for this (https://github.com/tpope/vim-pathogen). The plugin is vi

Getting all the installed color schemes in Vim

I'm using vim to edit a php. I would like to get all the installed color schemes in Vim. I know that some members have asked this question, but the accepted sol

detect vrapper in .vimrc

In my .vimrc I have the following: " Use j/k to navigate the word completion popup menu inoremap <expr> j pumvisible() ? "\<C-N>" : "j" inoremap &l

Vim - Delete blank line using backspace in insert mode

When my cursor is placed at the start of an empty line and I press the backspace key while in insert mode, I'd expect it to wrap the the previous line. However

How do I enter an emoji into a string in Vim?

Couldn't figure this out. Just need to enter 1 emoji into a string and couldn't figure it out. Unicode is not working. Tried diagraph but didn't work either.

Moving the cursor through long soft-wrapped lines in Vim

I'm sorry if my question isn't very clear. I'm not sure how to phrase it. I'd like to use VIM to write papers for some classes I'm in. The problem I'm havi

How can I install clang-format in Ubuntu?

I am trying to use clang-tools in particular clang-format for automatic code formatting in vim but I couldn't find this tool with apt-get search. Is there anyb

git shell command doesn't work with IdeaVim

I'm using intelliJ for IDE and installed IdeaVim. I'm trying to execute git status inside vim but it didn't work and nothing to show. :! git --help and :! ls

Using vim as git difftool

I've configured Vim as git difftool in .gitconfig [diff] tool = vimdiff If there are changes in N files, i have to close vim (:qa) to see the next diff.