Created
March 26, 2014 00:00
-
-
Save dvidsilva/9774143 to your computer and use it in GitHub Desktop.
I use https://github.com/square/maximum-awesome for my vim basic config, this two extra files are the local shorcuts and plugins that i add.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bundle 'chriskempson/tomorrow-theme', {'rtp': 'vim/'} | |
Bundle "xolox/vim-misc" | |
Bundle "xolox/vim-session" | |
Bundle "vim-multiple-cursors" | |
Bundle 'groenewege/vim-less' | |
Bundle 'kchmck/vim-coffee-script' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocursorline " don't highlight current line | |
" keyboard shortcuts | |
inoremap jj <ESC> | |
" highlight search | |
"set hlsearch | |
"nmap <leader>hl :let @/ = ""<CR> | |
colorscheme Tomorrow-Night | |
" Disambiguate ,a & ,t from the Align plugin, making them fast again. | |
" | |
" This section is here to prevent AlignMaps from adding a bunch of mappings | |
" that interfere with the very-common ,a and ,t mappings. This will get run | |
" at every startup to remove the AlignMaps for the *next* vim startup. | |
" | |
" If you do want the AlignMaps mappings, remove this section, remove | |
" ~/.vim/bundle/Align, and re-run rake in maximum-awesome. | |
function! s:RemoveConflictingAlignMaps() | |
if exists("g:loaded_AlignMapsPlugin") | |
AlignMapsClean | |
endif | |
endfunction | |
command! -nargs=0 RemoveConflictingAlignMaps call s:RemoveConflictingAlignMaps() | |
silent! autocmd VimEnter * RemoveConflictingAlignMaps | |
" let g:user_emmet_leader_key='<C-Z>' | |
let g:user_emmet_leader_key='hh' | |
" So we don't have to press shift when we want to get into command mode. | |
nnoremap ; : | |
vnoremap ; : | |
cmap Cd cd %:p:h | |
set nowrap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment