Skip to content

Instantly share code, notes, and snippets.

@adastreamer
Last active October 31, 2015 23:39
Show Gist options
  • Save adastreamer/73e773e6ab46b6462374 to your computer and use it in GitHub Desktop.
Save adastreamer/73e773e6ab46b6462374 to your computer and use it in GitHub Desktop.
vim editors improvements
#!/bin/bash
mkdir .vim && git clone https://github.com/scrooloose/nerdtree.git .vim && touch .vimrc
echo -e ":nmap <F1> :rew <Enter>\n:nmap <F12> :n <Enter>\nset nowrap\nset tabstop=4\nautocmd VimEnter * NERDTree\nautocmd VimEnter * wincmd p\nautocmd bufenter * if (winnr(\"$\") == 1 && exists(\"b:NERDTreeType\") && b:NERDTreeType == \"primary\") | q | endif\nhi Directory ctermfg=3 ctermbg=4\nhi comment ctermfg=3 ctermbg=4" | sudo tee .vimrc
git clone https://github.com/cakebaker/scss-syntax.vim.git && rm -rf scss-syntax.vim/.git/ && cp -pri scss-syntax.vim/* .vim/ && rm -rf scss-syntax.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment