My base vimrc and some custom configurations I've collected over the years.
This .vimrc contains a bash script to autoinstall the dependencies, one of them is this repository itself.
it stores most of the configurations on a separate folder called .vim_magikarp
in your home path so you can try it without fear of losing your configurations (just backup your main .vimrc file first)
- Vim8.1+, NeoVim
- MacVim or VimR (optional)
- Curl
- Bash
- Monaco Nerd Font
$ cd ~
$ mv ~/.vimrc ~/.vimrc_backup
$ mkdir .vim_magikarp
$ curl -o ~/.vim_magikarp/.vimrc https://raw.githubusercontent.com/magikarp-salesman/magikarp.vim/master/.vimrc
$ ln -s ~/.vim_magikarp/.vimrc ~/.vimrc
$ bash .vimrc
$ vim
$ curl -o ~/.vim_magikarp/.vimrc --create-dirs https://raw.githubusercontent.com/magikarp-salesman/magikarp.vim/master/.vimrc && ln -sf ~/.vim_magikarp/.vimrc ~/.vimrc && bash .vimrc
Keep in mind that this repo might be constantly changing as I go by updating my dotfiles and way of work.
- Open any file in Vim
- Open a file in the same directory of the buffer you are on -
:Edit
- Open a terminal in the same folder of the buffer where you are on -
:Terminal
- Special commands from inside the terminal (type in the commandline) they call the vim through terminal-call
- Open file
bash$ vim FILENAME
- Go back to normal mode
bash$ normal
- Close terminal
bash$ exit
- Open file
- Special commands from inside the terminal (type in the commandline) they call the vim through terminal-call