Questions tagged [vi]

a text editor that runs in a command line interface. Includes other variants such as vim

119 questions
4
votes
1 answer

How can I edit the default vimrc file? (it's read only, and chown and chmod says 'operation not permitted')

How can I edit the default vimrc file on osx? (sudo chown ... gives Operation not permitted ) In osx vim /usr/share/vim/vimrc is the default vimrc file My username is 'apple' If I try to do vim /usr/share/vim/vimrc then it says 'read only' ~/.vim$…
barlop
  • 426
0
votes
0 answers

How to map caps lock key to esc in visual studio code vim extension?

I see a lot of answers to this question that aren't related to mac, and still couldn't quite figure it out on my machine. I previously worked on Ubuntu and migrated to a MacBook. I used the settings sync extension to bring my keybindings and…
uber
  • 149
0
votes
1 answer

How to install vim8 without effecting the built-in vim?

How can install vim8 without effecting the built-in vim that comes with a mac? Like with python2 that comes built-in with a mac, I have python3 separate. So, I can call it with vim8. I am using brew. My OSX is 10.11.6.
qbektrix
  • 173
0
votes
2 answers

Mac Terminal and Vim syntax coloring on CentOS server

I am using a Mac Terminal window to ssh to a CentOS server. I have installed vim-enhanced on the server, I have created an alias for vi=vim in my .bash_profile, as well as confirmed I am using /usr/bin/vim. I still can't get syntax colors when…
bart2puck
  • 111
  • 2