1. Gabriel AHTUNE
  2. gaby-dotfiles

Commits

Gabriel AHTUNE  committed 323b9f9

changed vimrc

  • Participants
  • Parent commits 8ca3d48
  • Branches default

Comments (0)

Files changed (1)

File vimrc

View file
 " Feel free to grab what you like inside
 " Gabriel AHTUNE <larchange[at]gmail.com>
 " Last Modified: 2013-05-01 19:40:40
-""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " F2:  SyntasticCheck
 set tw=79
 set bs=2
 set sidescroll=5 " slow side scroll
+nnoremap <silent> g= :let b:winview=winsaveview()<CR>gg=G:call winrestview(b:winview)<CR>
 
 " History {{{2
 set undolevels=1000
 
 " Copy cut past and special paste {{{2
 set pastetoggle=<Leader>sp
-set clipboard=unnamedplus,unnamed
+set clipboard=unnamed,autoselect
 map Y y$
 " paste with increasing number at the same time
 nnoremap <leader>p p<C-A>==yy
 " Explorer {{{2
 
 nn <Leader>cd :lcd %:h<CR>:pwd<CR>
+
+
 nn <Leader>e :e .<CR>7G
 
 " Cope {{{2
 " vmap <F12> <plug>SlimeRegionSend
 " imap <F12> <ESC><F12>i
 
-" Tommorow night colorscheme {{{2
+" colorscheme {{{2
 "
-colorscheme Tomorrow-Night-Bright
+colorscheme jellybeans
 
 " Airline {{{2
 set laststatus=2
 let g:airline_theme='powerlineish'
 let g:airline_left_sep=''
 let g:airline_right_sep=''
-let g:airline_enable_fugitive=1
 
 " Syntastic {{{2
 " git clone https://github.com/scrooloose/syntastic.git
 " Custom mappings for the unite buffer
 autocmd FileType unite call s:unite_settings()
 function! s:unite_settings()
-  " Enable navigation with control-j and control-k in insert mode
-  imap <buffer> <C-j>   <Plug>(unite_select_next_line)
-  imap <buffer> <C-k>   <Plug>(unite_select_previous_line)
+    " Enable navigation with control-j and control-k in insert mode
+    imap <buffer> <C-j>   <Plug>(unite_select_next_line)
+    imap <buffer> <C-k>   <Plug>(unite_select_previous_line)
 endfunction
 
 "