vim Questions
18
Solved
I have a ~/.vimrc file that vim doesn't seem to be reading.
There is a file at /etc/vimrc, and it looks like it is using that one.
My understanding is that the one in the home directory should ove...
Hangbird asked 16/8, 2010 at 16:21
15
Solved
Recently I found out that I'm "using tabs incorrectly" in Vim. I've been trying to just use buffers in Vim since, assisted through MiniBufExplorer, but I find it painful because of how many keystro...
Raeannraeburn asked 5/4, 2011 at 21:55
3
Solved
Issue
Question is as stated in the title.
In gist, I am trying to get my bash scripts and Vim to behave differently when running in VS Code's integrated terminal.
Things I've found
I have manag...
Fenestella asked 24/8, 2019 at 6:13
16
I have installed docker on my host virtual machine. And now want to create a file using vi.
But it's showing me an error:
bash: vi: command not found
Scattering asked 20/7, 2015 at 11:55
4
Solved
I'm trying to incorporate vim into my main workflow. A major sticking point for me has been interactively editing and running programs/scripts.
For example given that I'm currently vimmed into tes...
Animatism asked 27/10, 2016 at 16:20
3
Solved
I have several systems that use Vim, and on one I am unable to view/edit zipped files. I believe I have the right plugins because my other system with Vim 7.0 works correctly with the same plugins....
12
Solved
The command p pastes below the cursor and P pastes above the cursor. What's the command to paste in the line where cursor is?
Krakau asked 21/2, 2012 at 19:17
13
Solved
How can I jump to a function definition using Vim? For example with Visual Assist, I can type Alt+g under a function and it opens a context menu listing the files with definitions.
How can I do som...
7
Solved
I want csv file to be opened in vim in the same way it opens in microsoft office . Data should be in column format and commas should not be seen and its should be traversed easily. Is it possible i...
2
I write documentation in markdown using ViM and I also put math using the latex $$ symbol (I compile using pandoc). The thing is that ViM syntax wouldn't ignore the underscores _ inside the dollar ...
Bianchi asked 30/9, 2015 at 12:11
7
I am using IntelliJ IDE for my projects and just installed ideamvim plugin. In the .ideavimrc I added this property
set rnu
with this property I get relative line numbers in my files in intellij wh...
Lorant asked 8/5, 2020 at 14:37
10
Solved
So when I want to create a new file by using the :e command I don't want to specify the whole path, just the new filename. Can it be done?
Sulfapyridine asked 18/2, 2010 at 13:6
8
Solved
I am trying to copy a selection of text from vim to another windows application...say firefox or notepad for example. However I can't seem to do this with the y command. I have windows hotkeys enab...
Bordelon asked 3/3, 2009 at 12:34
8
Solved
Is there a way to split a window inside Vi/Vim so that one window will be a terminal?
P.S. Solutions like installing new text editors and such will not help me.
3
I noticed that iTerm2 offers the very convenient feature of using "Option key as +ESC" (or as meta, but apparently that's obsolete).
I tried them both and the option key works as expected in Bash...
8
I am using Macvim 7.3 snapshot 57. I can't seem to get matchit to work in any of my files.
I press % on an opening tag. It doesn't take me to the closing tag...
My vimrc file:
" Pathogen setting...
2
Solved
When I do <c-o><c-o><c-o>, and keep the control key pressed, it will jump 3 times backwards in the jumplist but if I do noremap <leader>o <c-o> then <leader>o<...
Palmirapalmistry asked 5/12, 2017 at 13:54
3
Solved
I have been configuring my VIM installation for days now, and it's just a few more days away from heavenly perfect. Only thing that is bugging me however, is the border width of the splits.
Is the...
9
I want to configure vim to open a file at the same place I left off at.
Villainous asked 21/4, 2009 at 20:56
15
Solved
I would like to access recent files that I had opened and then closed in GVim. I open and close GVim frequently. I would like to access recent files from previous sessions as well.
Does GVim stor...
Interlace asked 3/7, 2010 at 11:5
5
Solved
I've got a file (LaTeX) which contains lines I wish to comment out.
The regex that I use after visually-selecting the relevant block is :s/^/%/g, which works fine. However, vim then highlights ever...
Refute asked 8/5, 2012 at 13:44
5
In vim, I've got the hlsearch and incsearch options turned on. When I start a search, it immediately goes to the first match. If I press Enter to accept the search, the result is highlighted and th...
Pigfish asked 24/7, 2013 at 1:8
3
The title states the problem, so here's the context. I have a tiny C++ file
void f(
int x
) { }
void f(
) { }
On which I run ctags.
ctags --recurse --sort=1 --c++-kinds=+p --fields=+iaS --e...
7
I just installed IntelliJ CE and IdeaVim plugin.
One small popup asked about key repeating and if I want to make it enabled. But I just clicked "no" without knowing what it is asking about clearly...
Zischke asked 21/9, 2016 at 1:9
11
Solved
When I am editing source files using Vim and other editors, sometimes I get these ^M characters at the end of each line.
I think that it has something to do with editing a file on Windows and then ...
Vachill asked 10/7, 2009 at 16:48
© 2022 - 2024 — McMap. All rights reserved.