Size: a a a

2019 December 28

SA

Sergio Araujo in NeoVim
Sergio Araujo
try tyis:

vim -O test.txt test2.txt +'silent windo set scrollbind cursorbind cursorline'
There were a typo here
источник
2019 December 29

SA

Sergio Araujo in NeoVim
On vim if you (insert mode) if you try to insert a function from the clipboard register "+" (that has indentation) with:

Ctrl-r +

It will mess up with you indentation

The solution:

Ctrl-r Ctrl-o +
источник

SA

Sergio Araujo in NeoVim
Insert mode:

Ctrl-t      increases indentation
Ctrl-d     decreases indentation
источник

SA

Sergio Araujo in NeoVim
Sergio Araujo
On vim if you (insert mode) if you try to insert a function from the clipboard register "+" (that has indentation) with:

Ctrl-r +

It will mess up with you indentation

The solution:

Ctrl-r Ctrl-o +
See :h i_ctrl-r
источник

SA

Sergio Araujo in NeoVim
источник
2019 December 30

SA

Sergio Araujo in NeoVim
Sergio Araujo
On vim if you (insert mode) if you try to insert a function from the clipboard register "+" (that has indentation) with:

Ctrl-r +

It will mess up with you indentation

The solution:

Ctrl-r Ctrl-o +
There were another typo here and it was fixed
источник
2019 December 31

.

. in NeoVim
Hi
источник

.

. in NeoVim
How close terminal buffer without close while neovim?
источник

j

jd in NeoVim
just exit it and press enter
источник

j

jd in NeoVim
it will be closed
источник

.

. in NeoVim
No. A simpler way
источник

.

. in NeoVim
I don't want to write exit
источник

.

. in NeoVim
I want to bind it to ESC for instance.
источник

SA

Sergio Araujo in NeoVim
Mapping <Esc> to exit terminal on neovim:

tnoremap <Esc> <c-\><c-n>:q!<CR>
источник

.

. in NeoVim
Sergio Araujo
Mapping <Esc> to exit terminal on neovim:

tnoremap <Esc> <c-\><c-n>:q!<CR>
I don't want to éxit from vim
источник

.

. in NeoVim
Just close terminal
источник

.

. in NeoVim
Sergio Araujo
Mapping <Esc> to exit terminal on neovim:

tnoremap <Esc> <c-\><c-n>:q!<CR>
It'll close vim also
источник

SA

Sergio Araujo in NeoVim
I think we can create a function to test if we are at the last window and not close in that case.

Let me research
источник

.

. in NeoVim
👌👌
источник

SA

Sergio Araujo in NeoVim
It can be an autocommand that calls the function
and then test if we are at the last window
источник