Last active
August 29, 2015 14:08
-
-
Save jaemskyle/987c05ec52f49737341d to your computer and use it in GitHub Desktop.
Revisions
-
jaemskyle renamed this gist
Oct 27, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jaemskyle renamed this gist
Oct 25, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jaemskyle created this gist
Oct 25, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,101 @@ set number " Folding augroup vimrc au BufReadPre * setlocal foldmethod=indent au BufWinEnter * if &fdm == 'indent' | setlocal foldmethod=manual | endif augroup END " Fix for either airline or " powerline uis set encoding=utf-8 " set smartindent set tabstop=2 set shiftwidth=2 set expandtab " VIM AIRLINE let g:airline_powerline_fonts = 1 let g:airline#extensions#tabline#enabled = 1 set guifont=DejaVu\ Sans\ Mono\ for\ Powerline:h10 let g:airline_left_sep = '' " enable modified detection let g:airline_detect_modified=1 let g:airline_left_alt_sep = '' let g:airline_right_alt_sep = '' let g:airline_readonly_symbol = '' let g:airline_linecolumn_prefix = ' ' " set guifont=Inconsolata\ for\ Powerline:h11 if has('gui_running') set background=light else set background=dark colorscheme ir_black endif syntax enable " set background=light colorscheme solarized let g:UltiSnipsSnippetDirectories= ["UltiSnips"] let g:UltiSnipsExpandTrigger = '<C-Tab>' let g:user_emmet_leader_key='<C-Z>' let g:used_javascript_libs = 'angularjs' let loaded_matchit = 1 " remove F1 default help inoremap <F1> <nop> nnoremap <F1> <nop> vnoremap <F1> <nop> " C-q to escape from all modes " vimbits inoremap <C-q> <Esc> noremap <C-q> <Esc> vnoremap <C-q> <Esc> cmap <C-q> <C-c> " select all map <Leader>a ggVG " insert space before and after " while and without leaving normal mode nmap t o<ESC>k nmap T O<ESC>j " move cursor while in insert mode imap <C-h> <C-o>h imap <C-j> <C-o>j imap <C-k> <C-o>k imap <C-l> <C-o>l " move through tabs with: map <s-l> :tabnext<cr> map <s-h> :tabprevious<cr> " remap U to <C-r> for easier redo nnoremap U <C-r> " resize splits with arrow keys noremap <c-up> <c-w>+ noremap <c-down> <c-w>- noremap <c-left> <c-w>> noremap <c-right> <c-w>< " disable help when pressing f1 map <F1> <Esc> imap <F1> <Esc>