Category "vim"

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

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.