Questions tagged [linux-ubuntu]
Use this tag for questions specific to using Vim on the Ubuntu flavor of linux.
67 questions
1
vote
1
answer
59
views
How do I recover or edit the correct file in this example?
OS: Ubuntu
tree -a
.
├── index.html
├── main.js
├── script.js
└── src
└── Main.elm
To edit: Main.elm I type :vim ./src/Main.elm
From there I wish to edit script.js.
So I type :e ../script.js. ...
1
vote
0
answers
50
views
Typescript syntax highlighting uses Error for keywords
I'm having trouble getting good syntax highlighting for typescript files. The issue is that reserved words are highlighted as Error:
Looking at :scriptnames I see the default typescript highlighting ...
2
votes
0
answers
140
views
Is the vim-daily launchpad.net PPA still functioning?
It says on vim PPA manager Jonathon F's launchpad page that:
"This account belonged to a deceased user and has been archived."
(In fact, Jonathon F. died in January of 2023.)
But on the ...
2
votes
0
answers
58
views
Consecutive pressing mapped function keys emits unwanted "^[[I" in input buffer in Ubuntu 22.04
OS: Ubuntu 22.04.2 (ubuntu-22.04.2-desktop-amd64.iso)
Vim: vim-gtk3 (8.2.3995-1ubuntu2.7 amd64)
vimrc:
nnoremap <F7> : ! g++ % -o %< <CR>
nnoremap <F8> : ! time ./%< <CR>
...
0
votes
1
answer
633
views
Down arrow key triggers coc#pum#visible() ? coc#pum#next(0) : "\"
I am using NVIM 0.9.0 stable release with Conqueror of Completion which I installed recently.
I am used to using the arrow keys in insert mode for quick navigation between two lines. After installing ...
0
votes
0
answers
847
views
NeoVim0.9 installation cannot execute binary file: Exec format error
I was upgrading my very old NeoVim version 0.4 to 0.8 by following the docs on Github. After downloading the nvim appimage, making it executable, and extracting it using ./nvim.appimage, I try to run ....
2
votes
1
answer
737
views
Cannot open terminal ini nvim
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 ...
0
votes
1
answer
2k
views
Mapping to ctrl+m and ctrl+i in neovim
I was trying to bind to <C-m> and <C-i> in nvim to move from window to but these seem to be mapped by zsh to newline and tab respectively. Is there any way to disable these mappings so I ...
2
votes
1
answer
763
views
Vim appimage can't run on Ubuntu 22.04
Vim has a official AppImage (cool). But I can't run it on Ubuntu 22.04. I suppose that some dependencies are lost. My problem is that I can't identify what exactly are. I see the terminal output when ...
3
votes
1
answer
682
views
What does runtime! debian.vim actually do?
The vimrc template I used had the message "Ensure options work with the Vim-related packages available in Debian." for
runtime! debian.vim
Here is the contents of /usr/share/vim/vim81/...
1
vote
0
answers
186
views
tmux send-keys to vim has no effect when used with swap-pane
I have a tmux window with 2 panes (pane-ids: 0 and 1). In the pane 0 there is vim launched. I want to fire a combination of two commands from tmux command-prompt:
:send-keys -t 0 "iabc" ; ...
1
vote
1
answer
161
views
How do I add a text file to a pre-existing zip
I want to add a text file to a zip file using vim. I want to either add the file to my zip from local drive or create the file in the zip using vim.
13
votes
6
answers
15k
views
Installing Neovim 0.7 on Ubuntu?
I just moved from Mac to Ubuntu.
I have set everything up but my lua keybindings are following the 0.7 configurations.
When I install neovim on Ubuntu it gives me 0.6.
I tried this:
sudo add-apt-...
5
votes
1
answer
1k
views
How can we get the third mouse option with cut, copy paste in neovim?
I am new to Neovim and using the default terminal in
Ubuntu for Neovim.
With the default terminal, we can click the right mouse and get the options for cut, copy and paste.
How can I get this type of ...
0
votes
0
answers
481
views
Yanking to system clipboard does not work
I'm on Ubuntu 20.04.3 LTS, I have +clipboard and +xterm_clipboard in my vim --version, and I have set set clipboard=unnamedplus in my .vimrc.
For some reason, yanking still does not copy to the system ...