Questions tagged as 'vim'

2
answers

How to use spaces instead of tabs in vim?

I program in python with VIM 8, and I have this doubt, I read that in PEP8 it is recommended that the indentations for python must be of 4 SPACES, in my .vimrc I have this configured by a recommendation of a Youtube video: set shiftwidth=4 set...
asked by 21.08.2018 / 02:29
1
answer

Display Powerline sources in VIM over terminal / (terminator) Linux

Hi, I would like to know what configuration I should add to /.vimrc so that the Powerline sources work correctly in Vim, from the terminal. My configuration is this and I would prefer it to look like the second image. execute pathogen#infect()...
asked by 27.01.2018 / 00:34
0
answers

coc-tsserver nvim indenta with tabs instead of spaces

I am using coc.nvim and coc-tsserver as a language server for javascript, everything is working perfectly, except the indentation, when I insert a new line or when I format the text with :call CocAction('format') it indentat...
asked by 26.11.2018 / 21:47
0
answers

javacomplete2 does not show object fields

Use vim to program in Java. I recently discovered the plugin javacomplete2 and I liked it. The problem is that if a class does not appear as imported, the fields of an object of that class are not shown to me. Therefore, for classes that belong...
asked by 13.11.2016 / 23:43
0
answers

Scroll web multiframe in web browser Luakit

I have been using Luakit regularly for a few weeks. The truth is that for those of us who are used to using vim as a text editor is a little wonder. If you use awesome and you like Lua , it's the perfect combination. However some pag...
asked by 27.08.2016 / 14:43
1
answer

How to extrapolate variable in command mode in vim?

I want to know how to extrapolate the vim variables, for example, to format the file I am working on. :!fmt -w mifichero when working in several directories referencing the path of the file It's tedious. :!fmt -w /home/user/miproyect/lal...
asked by 20.12.2018 / 03:44