Questions tagged as 'vim'

1
answer

Remotely access another unix machine with Vim

According to this video link you can access another unix machine with Vim and continue editing the file from where I stopped. How can I do it?     
asked by 15.09.2014 / 01:52
0
answers

VIM CtrlP - Looking for files with the same name

I'm having a hard time using VIM's CtrlP plugin, in case I have two files named "database", but CtrlP only finds one of them as shown in the image. I'm using the following configuration in my .vimrc for CtrlP: let g:ctrlp_user_command = 'a...
asked by 27.01.2015 / 12:47
2
answers

How to remove multiple blank lines in sequence with vim?

I have the following problem, I have a file with all messy code, many blank lines. I've tried removing the blank lines according to the post post on line deletion , but it removed all blank lines. I wanted to leave at least one blank line betwe...
asked by 14.06.2017 / 16:41
1
answer

How can I leave it this way? [closed]

I would like to set my vim to leave as in the image. I already have MacVim installed. My greatest need is the file explorer.     
asked by 15.09.2017 / 00:04
1
answer

Correction in the presentation of the status bar created with the Airline plugin

I installed the Airline plugin to have a custom status bar on my editor, as seen in the figure below: However,myeditor'sstatusbarisdisplayingthe<,>>and<.HowcanIfixthis?     
asked by 22.05.2015 / 07:05
1
answer

Modify VIM cursor by running in Console2

I can not change the VIM cursor type when I enter Insert mode when I use Console2. I wanted it to do as it does in cmd, as shown below: Does anyone know if it is possible, and if so, how do you do it?     
asked by 04.08.2014 / 16:21
1
answer

Autocomplete of gems in text editor

Personal is it possible to get an autocomplete experience in some free text editor, similar to what Rubymine does by indexing the gems code? I tried several alternatives in vscode, how to use cTag, but I can only go to the definition of gem (ope...
asked by 30.07.2018 / 16:57
0
answers

Spellcheck inside code, markdown file

I downloaded a dictionary, said pt_BR, and added set spell spelllang=pt (since with pt_br it did not work), the configuration is working, but I would like to achieve one thing better: when the word is marked by markdown, it is not...
asked by 26.04.2018 / 00:47
2
answers

Indent all code automatically in vim

Is it possible to have vim automatically indent an entire file? For example, in Eclipse you can use the shortcut Ctrl + A + Ctrl + I.     
asked by 11.02.2015 / 22:39
2
answers

How to save a file in Vim [closed]

I'm connecting to the UOL hosting by SSH to schedule a cron job. I can type the schedule, but I do not know how to save, give CTRL+S in the terminal I think it does not work and I do not know which command to use. The terminal screen look...
asked by 30.10.2015 / 23:58