Skip to content

Instantly share code, notes, and snippets.

@arindam89
Created November 17, 2013 07:13
Show Gist options
  • Save arindam89/7510365 to your computer and use it in GitHub Desktop.
Save arindam89/7510365 to your computer and use it in GitHub Desktop.
Vimrc on top of spf13
vim +BundleInstall! +BundleClean +q
----
Bundle 'xsbeats/vim-blade'
Bundle 'mattn/emmet-vim'
----
set gfn=Monaco\ for\ Powerline:h13
let g:airline#extensions#tabline#enabled = 1
colorscheme ir_black
let mapleader = ","
set nocursorline
map <Leader>f :CtrlPBuffer<CR>
nmap <Leader>w :w<CR>
set nospell
set ve=all
colorscheme default
nnoremap j gj
nnoremap k gk
nnoremap $ g$
nnoremap 0 g0
nnoremap / /\v
vnoremap / /\v
nnoremap ? ?\v
vnoremap ? ?\v
" Add the unnamed register to the clipboard
set clipboard+=unnamed
" cd to the directory containing the file in the buffer
nmap <silent> ,cd :lcd %:h<CR>
nmap <silent> ,md :!mkdir -p %:p:h<CR>
" Turn off that stupid highlight search
nmap <silent> ,n :nohls<CR>
" Edit the vimrc file
nmap <silent> ,ev :e $MYVIMRC<CR>
nmap <silent> ,sv :so $MYVIMRC<CR>
set nocursorline
set nocursorcolumn
nnoremap ,w :w<cr>
nnoremap ,b :b#<cr>
let g:user_emmet_leader_key = '<c-e>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment