Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor.

learn more…| top users | synonyms

-1
votes
1answer
18 views

sending argument to vim using grep

I saw this question but I couldn't implement what I'm looking for.Here is what I want:I have a file with a few lines ending with 4.1.01.97 (same number for all lines - but number can change from ...
0
votes
0answers
11 views

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)"Automatically change the statusline color ...
0
votes
1answer
21 views

Spacing between “arrow” symbols in Vim Airline

I have Vim 8.0 running on Arch Linux (last updated 3rd of January) and have installed the package powerline-fonts using pacman as well as vim-airline using Vundle. I have also set let g:...
0
votes
0answers
12 views

Gvim - Relative line numbers bug (Graphics rendering bug)

I'm not sure if there is a bug in the rendering code of Gvim or whether there is something in my .vimrc / .gvimrc which has caused a rendering problem.As can be seen on the above image, there is a ...
1
vote
1answer
14 views

Vim Custom Commands, put strings with default Vim commands

I am trying to make a new custom command in my .vimrc, so that when I type:Hcomthe command will convert the text of the current line into an HTML comment.As an example:abcdef:Hcom<!-- ...
3
votes
1answer
19 views

Vim and Gvim - Change color for cursorline line numbers

I have downloaded and installed the blueshift colorscheme for vim/gvim.This highlights the current line with cursorline, which is what I want, however the background color of the line numbers column ...
2
votes
1answer
32 views

Why is VIM starting in replace mode?

On several new CentOS 7 machines, I find that VIM automatically starts in replace mode.After removing all automatically installed .vimrc files, normal behavior returns. However, if I simply create a ...
0
votes
0answers
17 views

How can I disable the TMUX mouse mode whilst inside VIM?

Sometimes when I try to click another location in a document open in VIM whilst in a TMUX session (and with TMUX mouse mode on), I inadvertently enter copy-mode/scroll-mode. How can I stop this ...
0
votes
1answer
82 views

Editing tab-delimited .txt files from Excel in vim

When I save a simple spreadsheet in Excel 15.41 (on Mac) as tab-delimited .txt and open it using vim <filename>, I see characters for carriage returns as ^M, but everything is on one line. There ...
3
votes
1answer
121 views

Norton Internet Security on my Windows 7 system is blocking xxd

xdd is part of Vim, and Norton seems to be blocking it on my Windows 7 computer. How do I work around this? Should I be concerned?
0
votes
0answers
15 views

Vim in different keyboard layout in terminal

I have my Vim set to a different keyboard layout in insert mode, but it uses qwerty for the editing instructions.I do this with the set keymap command in .vimrc:set keymap=my_layoutHowever, I ...
-2
votes
0answers
29 views

How To Use Tags In Vim For Notes?

Backstory: So there is all these notes app like Evernote Onenote... but I do not want to be locked into a system and only are going to use my laptop. So I thought why not use vim to edit markdown ...
1
vote
1answer
33 views

How to map Pause/Break-Key in vim

In search for a not used key in my vim environment, I found the Pause/Break key. Is it possible to map this key in vim?The OS (Ubuntu/Mate) does not seem to catch the key. A test with xev revealed ...
2
votes
1answer
85 views

How to assign the user command in VI(VIM)?

I'm trying to assign the user command in VI(VIM) in Linux(CentOS).Especially, if there is one script(just text) file which is involved the pdf list file as the below, I want to view the each pdf ...
1
vote
1answer
27 views

Vim split arguments, undo “J”

I find it much easier to arguments of a function, elements of a list etc when they are split on different lines. If this is harder to read I can join them later by "J". How should one go about ...

153050per page