Questions tagged [vim8]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
1answer
113 views

Close vim 8.1+ terminal buffer without unloading

I'm looking to be able to close a terminal buffer without unloading it, as I would with a normal buffer and either hidden or bufhidden=hide set. It appears, though, that said options are ignored for ...
1
vote
0answers
17 views

:term command changes cursor type in vim

I have set the cursor shape to be - I-beam in my terminal preference. When I execute :term command in vim, the cursor type is changed to block type. This change is retained even after I exit the :term ...
1
vote
1answer
36 views

How to open a terminal horizontally on the right side of vim

I'm using vim 8 and I set a shortcut to open a terminal in my vim. nnoremap <F5> :wa<CR> \| :term ++kill=term<CR> It works except that it opens a terminal vertically as below: ----...
1
vote
1answer
13 views

How to leave spaces for error symbols

I'm using vim 8 with YCM. When YCM finds an error, a symbol will popup as below: As you see, there is a symbol before line 26. The problem is that it will make the whole window move to right a ...
1
vote
1answer
45 views

Job still running in buffer while :qa

I'm using vim 8 with some plugins and shortcuts. I set a shortcut for :term to open a terminal in vim: nnoremap <F5> :wa<CR> \| :term<CR> command Q qa So when I type F5, a ...
0
votes
1answer
40 views

How to move the cursor out of the terminal

I'm now using Vim 8 and its new feature: :term. Well, it's great but I don't know how to move the cursor out of the terminal without the mouse. In Vim 7, we can type <C-w><C-h>, <C-w&...
2
votes
0answers
68 views

How to delete non-empty directories in netrw (vim 8 or nvim)?

I will try to delete some non-empty folder in netrw by pressing SHIFT + d and, after press y, i got this error: (netrw) unable to delete directory {path} I already put this variable in my .config/...
2
votes
1answer
200 views

Matching parenthesis and such not being highlighted in strings since VIM 8.0 on Ubuntu 18.04, how do I get this highlighting back?

When I place the cursor on the parenthesis of the below line, the two parenthesis get highlighted in a cyan color. When I place the cursor on the curly braces, however, no highlighting happens. // ...
3
votes
1answer
2k views

Gvim 8.1 on Windows 10 won't source $HOME\_vimrc

I have a $HOME\_vimrc present, but it doesn't show up in the output of :scriptnames. And when I run gvim -V, it reports: could not source "$HOME\_vimrc" The only thing in my $HOME\_vimrc is the ...
0
votes
0answers
86 views

Send keystrokes and string to gdb terminal

I started debugging a c program inside vim with: :packadd termdebug :Termdebug with vim 8 and and gdb > 8.3 installed. In order to set a breakpoint, I would like to send the following string while ...
1
vote
1answer
265 views

How does g:terminal_ansi_colors affect the :terminal colors?

:term usually looks ugly in most colorschemes I've tried. At least on Windows, with light themes, these colors do not work and end up in an unreadable shade of yellow against my light background. I ...
1
vote
1answer
610 views

Using vim as a terminal multiplexer: neovim or vim 8?

I've traditionally used vim as a text editor and tmux as a terminal multiplexer, but I'm trying to see if I can drop tmux entirely and just use vim for everything (except session attach/detach, which ...
1
vote
1answer
45 views

vim8 - why does my 0read not read? [closed]

I have the following function in an autoload file: function! closet#FindSkeletonForFile() if exists('b:closet_skeleton') return 0 endif let b:closet_skeleton = s:closet....
3
votes
1answer
55 views

Is it possible to use <C-H> (and J/K/L) for navigation inside a Vim 8 terminal?

I rebound control + H/J/K/L to navigate between splits without needing <C-W>: nnoremap <C-J> <C-W><C-J> nnoremap <C-K> <C-W><C-K> nnoremap <C-L> <C-...
1
vote
2answers
333 views

I am running into problems while using Gpush command from vim-fugitive plugin

I have recently started using the vim-fugitive plugin, and currently I am facing problem with the Gpush command. I tried :Gpush % which gives me errors in the quick fix window saying fatal: ...
4
votes
1answer
749 views

how to load vim8 optional packages in vimrc?

I am trying to load my optional language packages based on filetype. I am using vim8 native package feature. In vim I can load them with :packadd vim-javascript. However, I read in :help packadd - (...
1
vote
1answer
94 views

Vim bell limited to once per half a second

Since Vim 8, I've noticed that the bell can sound at most once per half a second. This annoys me. I have this solved by recompiling, but am still looking for a way to do it without. I've searched the ...
2
votes
1answer
225 views

What's wrong with “terminal cd .” in vim 8.1?

terminal cd . result in following weird error in the terminal buffer: executing job failed: No such file or directory The same error appears for term_start('cd .'). It doesn't matter which directory ...