Category "vim"

preview not working on neovim 0.5 on windows 10 with fzf

i'm running neovim 0.5 with fzf-vim on windows 10 and can't seem to make preview to work. my init.vim per below: call plug#begin('~/AppData/Local/nvim/plugged')

:W undoes all my changes in Neovim. How do I turn this off?

I've checked mappings in Neovim but can't find any mapping to :W that would cause an 'undo all'. It's frustrating when I accidentally type :W instead of :w. Whe

Vim plugins overwrite line numbers

After upgrading vim plugins. It appears that some Plugins (Ace, Gitgutter, Coc) overwrite the line numbers. The following screenshot shows the problem at line 2

Using "register recall" to search and replace doesn't work when register contains newline character

I've been using the answer to Using visual selection or register for search and replace as follows: v visually select y yank :%s/ Ctrl+r " This works fine in mo

Proxmox/NoVNC prevent/remap the ESCAPE key

I am working on a proxmox VM using standalone NoVNC window in fullscreen. Here the ESCAPE key is mapped to leave the fullscreen mode. The problem: I am using a

Vim, how to make Netrw to replace current open file instead of split opening new window, when you press preview or create new file commands?

Recently I've been using netrw. I've put these four lines on my .vimrc: let g:netrw_banner = 0 let g:netrw_liststyle = 3 let g:netrw_winsize = 25 map <C-n

Looking for a way to produce directly pretty code section in HTML with VIM

I would like to generate, with VIM, pretty HTML code of code snippet (C, python or others). Right now, I know only the command under VIM ":TOhtml" but the res

Vim Editor .vimrc error during customizaiton [duplicate]

I has suffered while customizing my vim editor. Specifically, I add function which store cursor location. Below is my .vimrc file. au BufReadP

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