vim (Vi IMproved) is a text editor supporting different editing modes.
1
vote
0answers
16 views
vim: Unable to copy & paste in Debian Stretch
After upgrading to Debian Stretch, we have been unable to copy&paste with the mouse in MacOS Sierra and Windows clients alike.
We have tried several solutions, including from this thread, without ...
2
votes
1answer
65 views
Coloring script output using cat [duplicate]
Like the title says - is coloring an output possible using cat or similar command?
Let say I have some php or bash script or other. I don't need to edit the file, just to view the source.
So cat ...
0
votes
0answers
50 views
A letter is missed in Russian words to be searched in VIM
When I run:
$ vim -s <(printf '/конфедерация')
VIM opens and shows '/конфедерция' in the left bottom corner without 'а'.
Why?
There is no problem with '/стол' for example. But if the word is a ...
1
vote
1answer
24 views
Why don't commands work together in VIM but only separately?
Consider the following text:
com.abc.JavaClassA.doSomething(JavaClassA.java:35)
com.abc.JavaClassA.doSomething(JavaClassA.java:35)
com.abc.JavaClassA$2.doSomething(JavaClassA.java:35)
com.abc....
2
votes
1answer
38 views
Why does Vim show these strange characters sometimes?
Why is Vim showing these strange characters?
I'm running Arch, and locale -a gives this:
C
en_US.utf8
POSIX
➜$>
I've also tried
:set fileencoding=utf-8
But, that didn't help either.
1
vote
1answer
35 views
By Removing vim-minimal I removed sudo
I'm on Fedora 25 gnome, I rarely use vim, so I decided to remove vim minimal
sudo dnf remove totem-1\:3.22.0-1.fc25.x86_64
bash: sudo: command not found...
Install package 'sudo' to provide command '...
0
votes
1answer
15 views
How can I pull an env variable into VIM key mapping?
I have the following [F3] key mapping defined in my .vimrc. This inserts a line of text into my file containing the current date such as 2012-01-20. It works in command or insert mode. How can I ...
0
votes
1answer
32 views
Installing a color scheme for Vim
I was wondering if someone could assist me in installing a color scheme for VIM? I literally have spent all day yesterday and this morning trying to figure it out. I am using a shell-client (ubuntu) ...
-1
votes
0answers
33 views
DelimitMate plugin for vim not working
I am new to vim, so I installed the plugin DelimitMate to my vim. But it is not working in my vim -version 7.4.1689.I searched on everywhere to solve this problem but nothing worked. I used the ...
0
votes
1answer
24 views
Managing plugins in Ubuntu
Vim-plug installation on Ubuntu 16.10
I'm a new user of Ubuntu, and I'd like a little bit of help with plugins. According to this website, I installed vim-plug with curl -fLo ~/.vim/autoload/plug.vim ...
1
vote
0answers
39 views
modes not showing in status bar of vim
I installed vim version 7.4.1689 in my linux mint 18. I opened any file with vim but after switching between modes on the status bar it is not showing anything like which mode I am currently in. I ...
2
votes
0answers
30 views
What does ttyctl -f do, and why does it enable flow control in vim, mutt, etc.?
Background
I have the following two lines in ~/.zshrc.
setopt noflowcontrol
ttyctl -f
The first line disables flow control in zsh. I'm unsure what the second does, but I was advised to add it from ...
0
votes
0answers
9 views
Why do some visual mode motions work differently than in normal mode?
I was surprised that v2wc results in different change than c2w. Why is first letter of a third word changed in the first case?
1
vote
1answer
27 views
Vim: Convert backticks to $() notation in shell script
Suppose I have some statements in a shell (bash) script like
var=`cat file.txt`
echo "Date is: `date`"
I want to convert the backtick notation into $() notation like:
var=$(cat file.txt)
echo "Date ...
0
votes
0answers
25 views
cannot get color schemes to display correctly in neovim
I've been fiddling with neovim color schemes for a while now, and cannot make them look same as on previews.
I'm using terminal.app on osx, and thought it was 256 color cap problem, so I moved to ...