Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psbanka/configuration-files
Just a set of files (mostly .vimrc) that are useful to keep synced
https://github.com/psbanka/configuration-files
Last synced: 8 days ago
JSON representation
Just a set of files (mostly .vimrc) that are useful to keep synced
- Host: GitHub
- URL: https://github.com/psbanka/configuration-files
- Owner: psbanka
- Created: 2012-07-24T19:12:11.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2016-01-27T19:35:15.000Z (almost 9 years ago)
- Last Synced: 2024-10-12T02:54:41.489Z (about 1 month ago)
- Language: VimL
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# configuration-files
Just a set of files (mostly `.vimrc`) that are useful to keep synced
## How to set up VIM on a new machine
### Prepare platform
We assume you have `node` installed. If not, go download `nvm` and come back here when done.
#### On mac:
```
brew install cmake
```#### On ubuntu:
```
sudo apt-get install cmake python-dev
```### Install
#### Grab the file
```
curl https://raw.githubusercontent.com/psbanka/configuration-files/master/.vimrc > ~/.vimrc
```#### Set up Vundle
```
cd ~;mkdir -p .vim/bundle;git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
```- Run `vim`. You'll see some errors. Ignore them.
- Inside vim, run `:PluginInstall`
- This will error. Ignore it. Exit `vim`.
#### Compile YouCompleteMe
```
cd ~/.vim/bundle/YouCompleteMe
git submodule update --init --recursive
./install.sh --clang-completer
```#### Install node modules for tern
```
cd ~/.vim/bundle/tern_for_vim/
npm install
```### Test
run `vim` again. Profit!