Questions tagged [vim]

Vim is an open-source text editor with a steep learning curve that leads to high efficiency in many tasks related to text edition. If you wish to start with vim, try to run “vimtutor”, which will teach you basic commands.

Filter by
Sorted by
Tagged with
0
votes
1answer
24 views

Why can't I edit IIS XML configuration files with gvim on Windows 10?

When I try to open C:\Windows\system32\inetsrv\config\schema\IIS_schema.xml for example on Windows 10 Pro, build 20H2, I can always open it in notepad, but if I open it in gvim (a real editor) it ...
0
votes
1answer
44 views

Always hung on Vi, vim, but not nano when using company VPN

I have a strange problem. IT changed the VPN to a newer Cisco device. After connecting to the VPN, I can ssh to one of our corporate server. I can ls, cd, cat, sudo. BUT if I tried any editing using ...
1
vote
1answer
63 views

When root opens crontab Vim is used although Nano is set as the default editor. Why might this be?

Environment: CentOS 8 Question: When I enter sudo crontab -e it opens in Vim. However Nano is set as the default editor and for every other type of file it is used as expected. Why might this be? ...
2
votes
0answers
52 views

how changing the default editor via puppet

I'm trying to find the best way with Puppet to change the default editor on all machines(Ubuntu & RedHat) so that any user is constrained to use a type of editor. And to keep it possible to change ...
0
votes
2answers
2k views

Debian 10 Unable to install vim, terminator

Today I noticed that Debian 10 is released, however, I am unable to install terminator and vim as the packages are not found. sources.list was set to cdrom, but I changed it to network http://deb....
0
votes
1answer
377 views

How to instal vim using salt stack?

I have salt-stack maser and minion servers which running on centos7. I want to install vim package in minion server. For that I have created srv directory and vim.sls file under etc. My vim.sls file ...
2
votes
1answer
57 views

FreeNAS prevents writing to VIMs .swp file

Our developers recently updated to the latest version of vim and sense then when they edit files from the network share hosted on a FreeNAS server, they eventually cannot write the file, as the .swp ...
2
votes
3answers
768 views

SSH access denied when 'authorized_keys' file is created with Vim

I created an ec2 instance with an Ubuntu 16.04 AMI. I created a sudo user for this AMI with: sudo adduser myuser sudo usermod -aG sudo myuser Then I attempted to give the user ssh access with an rsa ...
0
votes
2answers
2k views

Can't open file /usr/share/vim/vim73/syntax/syntax.vim

Whenever I use vim command, I get this error: Error detected while processing /Users/boss/.vimrc: line 6: E484: Can't open file /usr/share/vim/vim73/syntax/syntax.vim Press ENTER or type command ...
0
votes
2answers
902 views

Installing blowfish2 for use in VIM on CentOS 7

I'm moving from a Debian-based distro to CentOS 7. I have files encrypted with blowfish that I edit transparently in VIM with this setting in ~/.vimrc: :set cryptmethod=blowfish2 This is the error ...
3
votes
1answer
325 views

Vim hangs on one specific file?

My putty session keeps on hanging when I'm in the middle of editing a file in vim. This has happened three times this morning. Hopefully it's nothing, just a glitch in the matrix somewhere, but I ...
1
vote
1answer
101 views

cannot access .log file in Ubuntu

pertinent parts of python script that creates/writes log files def kill(fullpath,typ): #add check to assure .recycle!!!! if any(check for check in requiredChecks if check in fullpath) and typ=...
0
votes
1answer
253 views

Is it possible to remove the SSH delay in order to work with VIM through it?

I'm trying to write programs using VIM on a remote server. The server is necessary because I'm in a system without VIM (iOS). When I connect through SSH, there is a visible delay of 200~600ms, which ...
0
votes
2answers
544 views

Edit a remote file in Vim with sudo when ssh root login is disabled

I am trying to determine a way to edit remote files in Vim that require sudo, but still use my local vim config and plugins. Currently I can open vim and :e scp://[email protected]//some/root/file and make ...
1
vote
0answers
105 views

CentOS-Like configuration of Vim on Ubuntu

Whenever I use a CentOS System, there's always a pleasant configuration of vim which mainly does the following: Remembering position of closed files Colour mode (!!!) Bash has colours There's lots ...

15 30 50 per page
1
2 3 4 5
7