Top new questions this week:
|
I'm trying to understand this SO answer. The snippet reads:
:set nolist wrap linebreak breakat&vim
|
In general, I have makefiles setup anytime I'm working on C projects. To save and compile these projects, I've bound the ' key to do this:
map ' :wa<CR>:!make<CR>
However, I sometimes ...
|
I installed Plugin terminal using the vim-terminal plugin and try to execute :TerminalSplit bash but before the terminal open I got a warning message.
Python 2 interface is not installed, using Python ...
|
I like doing things like :b css to jump to the single css file I'm working on.
But of course this only works if I only have 1 css file in a buffer.
I'm under the impression that it is not possible to ...
|
To display linenumbers, I can do:
:set number in the edited file (that works)
or insert
set number in the .vimrc (that works too).
To change the filetype, I can do:
:set filetype=c in the ...
|
I am aware of the undofiles in Vim but they are binary and I don't know how to read them. I tries strings but it didn't help for my purpose.
I am also aware of the :changes command but that only gives ...
|
I'm a relatively new neovim user. I use nvim-autopairs to always induce matching (, [, {, ', " character pairs, and automatically placing my cursor inside them. As an example, in insert mode, if ...
|
Greatest hits from previous weeks:
|
I read the wiki entry on vim source code indentation
I still can't understand the difference between autoindent and smartindent
It seems they do the same thing, copy the indentation level to next ...
|
Is there a way to edit binary files in some kind of hexadecimal mode?
For example if I have some binary data shown by xxd or hexdump -C like this:
$ hexdump -C a.bin | head -n 5
00000000 cf fa ed ...
|
I just discovered I could indent and un-indent easily in Vi with : << and >>
By default it adds a tab character. Now I'm wondering, could this be to a number of spaces via a configuration in my ...
|
A lot of vim commands can take a number referring to the number of lines that the command will act on.
Is it possible to show the line numbers relative to the current line? Something like the ...
|
Vim 8 was released today and the release notes mentions a new "package" feature. What is it and how should I use it?
Most importantly, does it replace the good old plugin managers?
|
Is there a way to change the size of the font in gVim, using native commands?
And if not, what script can be used to do it quickly?
|
I have a vim's buffer and a terminal in the same vim's window but each time switch to terminal I can only exit it to go back to vim's buffer,
Is there a way to keep terminal session but be able to ...
|