Skip to content

Instantly share code, notes, and snippets.



Last active Jul 9, 2020
What would you like to do?
Vim awesome plugins
execute pathogen#infect()
syntax on
filetype plugin indent on
set t_Co=256
set background=dark
colorscheme lost-shrine
set cul
hi CursorLine term=none cterm=none ctermbg=234
set number
set showmatch " Show matching brackets.
set ruler " show the line number on the bar
set showmode
set showcmd
set smarttab " tab and backspace are smart
set tabstop=2 " 6 spaces
set laststatus=2
if !has('gui_running')
set t_Co=256
map <C-o> :NERDTreeToggle<CR>
" Add 'stty -ixon' to .profile
inoremap <C-x> <esc>:wq!<cr> " save and exit
nnoremap <C-x> :wq!<cr>
inoremap <C-q> <esc>:qa!<cr> " quit discarding changes
nnoremap <C-q> :qa!<cr>
start " Starts vim in insert mode
# Install Pathogen
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim
# Add this to
echo "execute pathogen#infect()" >> ~/.vimrc
# Install plugins
cd ~/.vim/bundle
# Color scheme
git clone
# Git gutter
git clone
# Solid language highlight pack
git clone
git clone
git clone
mkdir -p ~/.vim/colors
cd ~/.vim/colors
# This seems to be gone
# wget
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment